需求:
R1和R2、R2和R4之间互联接口以及R2的loopback口运行ISIS协议,R1和R2属于区域49.0012,R4属于49.0004,都是level-2类型的路由器,他们的system-id都是0000.0000.0000.X;
ISIS进程号为Y;
ISIS路由器之间只通过可靠的技术建立邻居关系,R2和R4之间不容许DIS,R2的G0/0/0接口不能运行ISIS协议,但接口所在网段能被ISIS区域访问;
拓扑:
R2与R1,以及R2与R4之间建立ISIS邻居关系;
配置:
R1路由配置:
isis 1 is-level level-2 cost-style wide network-entity 49.0012.0000.0000.0001.00 is-name R1 interface S2/0/0 isis enable 1
R2路由器配置:
route-policy p1 permit node 10 if-match interface g0/0/0 isis 1 is-level level-2 cost-style wide network-entity 49.0012.0000.0000.0002.00
is-name R2
import-route direct route-policy p1
interface S2/0/0
ip address 10.1.12.2 24
isis enable 1
interface g0/0/1
ip address 10.1.24.2 24
isis enable 1
isis circuit-type p2p
isis ppp-negotiation 3-way only
interface loopback0
ip address 10.1.2.2 32
isis eanble 1
R4的路由配置:
isis 1 is-level level-2 cost-style wide cost-style wide network-entity 49.0004.0000.0000.0004.00 is-name R4 interface g0/0/0 ip address 10.1.24.4 24 isis enable 1 isis circuit-type p2p isis ppp-negotiation 3-way only