ISIS配置

作者: admin 分类: 网络 发布时间: 2019-04-29 00:56 浏览:906 次    

%title插图%num

  • R1:
en

conf t

ip classless         (子网支持)

ip subnet-zero       (零子网)

no ip domain-lookup

hostname R1

int f0/1

ip add 192.168.1.1 255.255.255.0

no sh

int f0/0

ip add 200.0.0.1 255.255.255.0

no sh

end

show ip int brief

conf t

clns routing

router isis

net 49.0001.0000.0000.0001.00      (49是isis私有序号)

exit

int f0/1

ip router isis

int f0/0

ip router isis

end

show ip route
  • ISIS优化:
conf t

router isis

is-type level-1   (类型1)

end

show ip route

R2:

en

conf t

ip classless

ip subnet-zero

no ip domain-lookup

hostname R2

int f0/1

ip add 200.1.1.1 255.255.255.0

no sh

int f0/0

ip add 200.0.0.2 255.255.255.0

no sh

end

show ip int brief

conf t

clns routing

router isis

net 49.0001.0000.0000.0002.00

exit

int f0/1

ip router isis

int f0/0

ip router isis

end

show ip route
  • ISIS优化:
conf t

int f0/0

isis cricuit-type level-1

int f0/1

isis cricuit-type level-2-only

end

show ip route
  • R3:
en

conf t

ip classless

ip subnet-zero

no ip domain-lookup

hostname R3

int f0/1

ip add 200.1.1.2 255.255.255.0

no sh

int f0/0

ip add 200.2.2.1 255.255.255.0

no sh

end

show ip int brief

conf t

clns routing

router isis

net 49.0002.0000.0000.0003.00

exit

int f0/1

ip router isis

int f0/0

ip router isis

end

show ip route
  • ISIS优化:
conf t

router isis

is-type level-2-only

end

show ip route
  • R4:
en

conf t

ip classless

ip subnet-zero

no ip domain-lookup

hostname R4

int f0/1

ip add 200.3.3.1 255.255.255.0

no sh

int f0/0

ip add 200.2.2.2 255.255.255.0

no sh

end

show ip int brief

conf t

clns routing

router isis

net 49.0003.0000.0000.0004.00

exit

int f0/1

ip router isis

int f0/0

ip router isis

end

show ip route
  • ISIS优化:
conf t

int f0/0

isis cricuit-type level-2-only

int f0/1

isis cricuit-type level-1

end

show ip route
  • R5:
en

conf t

ip classless

ip subnet-zero

no ip domain-lookup

hostname R5

int f0/1

ip add 200.3.3.2 255.255.255.0

no sh

int f0/0

ip add 192.168.2.1 255.255.255.0

no sh

end

show ip int brief

conf t

clns routing

router isis

net 49.0003.0000.0000.0005.00

exit

int f0/1

ip router isis

int f0/0

ip router isis

end

show ip route
  • ISIS优化:
conf t

router isis

is-type level-1

end

show ip route
  • 测试:
PC IP:192.168.1.2

PC IP:192.168.2.2

%title插图%num

 


温馨提示:如无特殊说明,本站文章均为作者原创,转载时请注明出处及相应链接!

发表评论