ISIS OSPF 域间选路比较( ISIS 部分)


TOPO 如下



 


基本配置如下


l        R1


l        R2


l        R3


l        R4


l        R5


 



R1 基本配置


interface Loopback0


 ip address 1.1.1.1 255.255.255.0


!


interface Serial1/0


 ip address 12.1.1.1 255.255.255.0


 ip router isis


!


interface Serial2/0


 ip address 13.1.1.1 255.255.255.0


 ip router isis


!


router isis


 net 02.0010.0100.1001.00


 passive-interface Loopback0


 



R2 基本配置


interface Loopback0


 ip address 2.2.2.2 255.255.255.0


!


interface Serial1/0


 ip address 24.1.1.2 255.255.255.0


 ip router isis


!


interface Serial2/0


 ip address 12.1.1.2 255.255.255.0


 ip router isis


!


router isis


 net 01.0020.0200.2002.00


 passive-interface Loopback0


 



R3 基本配置


interface Loopback0


 ip address 3.3.3.3 255.255.255.0


!


interface Ethernet0/0


 ip address 34.1.1.3 255.255.255.0


 ip router isis


!


interface Serial1/0


 ip address 13.1.1.3 255.255.255.0


 ip router isis


!


interface Serial2/0


 ip address 35.1.1.3 255.255.255.0


 ip router isis


!


router isis


 net 03.0030.0300.3003.00


 passive-interface Loopback0


 



R4 基本配置


interface Loopback0


 ip address 4.4.4.4 255.255.255.0


!


interface Ethernet0/0


 ip address 34.1.1.4 255.255.255.0


 ip router isis


!


interface Serial2/0


 ip address 24.1.1.4 255.255.255.0


 ip router isis


!


router isis


 net 03.0040.0400.4004.00


 passive-interface Loopback0


!        


R5 基本配置


interface Loopback0


 ip address 5.5.5.5 255.255.255.0


!


interface Serial1/0


 ip address 35.1.1.5 255.255.255.0


 ip router isis


 !


router isis


 net 03.0050.0500.5005.00


 is-type level-1


 passive-interface Loopback0


 


 


测试


R3 上查看 2.0.0 .0/24 的路由,有两条路径做负载


r3#sho ip route | be 2.0.0.0/24


     2.0.0.0/24 is subnetted, 1 subnets


i L2    2.2.2.0 [115/20] via 13.1.1.1, Serial1/0


                [115/20] via 34.1.1.4, Ethernet0/0


r3#traceroute 2.2.2.2


Type escape sequence to abort.


Tracing the route to 2.2.2.2


  1  *


    13.1.1.1 32 msec