17.2 ISIS for IPV6

图片[1]-17.2 ISIS for IPV6-大赛人网
图17-2 ISIS for IPV6基本配置网络拓扑

1.R1配置接口IP地址

[R1]ipv6
[R1]interface GigabitEthernet 0/0/0
[R1-GigabitEthernet0/0/0]ip address 12.1.1.1 8
[R1-GigabitEthernet0/0/0]ipv6 enable
[R1-GigabitEthernet0/0/0]ipv6 address 2012::1 64
[R1]interface LoopBack 0
[R1-LoopBack0]ip address 1.1.1.1 32

2.R2配置接口IP地址

[R2]interface GigabitEthernet 0/0/0           
[R2-GigabitEthernet0/0/0]ip address 12.1.1.2 8
[R2-GigabitEthernet0/0/0]ipv6 enable 
[R2-GigabitEthernet0/0/0]ipv6 address 2012::2 64
[R2]interface LoopBack 0
[R2-LoopBack0]ip address 2.2.2.2 32

3.R1配置ISIS

[R1]isis 1
[R1-isis-1]network-entity 49.0012.0000.0000.0001.00
[R1-isis-1]ipv6 enable topology standard
[R1]interface GigabitEthernet 0/0/0
[R1-GigabitEthernet0/0/0]isis enable 1                  
[R1-GigabitEthernet0/0/0]isis ipv6 enable 1 

4.R2配置ISIS

[R2]isis 1
[R2-isis-1]network-entity 49.0012.0000.0000.0002.00
[R2-isis-1]ipv6 enable topology standard
[R2]interface GigabitEthernet 0/0/0
[R2-GigabitEthernet0/0/0]isis enable 1
[R2-GigabitEthernet0/0/0]isis ipv6 enable 1

5.查看ISIS邻居和数据库

[R2]display isis peer 
0000.0000.0001  GE0/0/0            0000.0000.0002.01 Up   22s      L1(L1L2) 64 
0000.0000.0001  GE0/0/0            0000.0000.0002.01 Up   28s      L2(L1L2) 64 

[R2]display isis lsdb 
Database information for ISIS(1)
Level-1 Link State Database
0000.0000.0001.00-00  0x00000005   0x339d        1088          109     0/0/0   
0000.0000.0002.00-00* 0x00000006   0x8f3d        1109          109     0/0/0   
0000.0000.0002.01-00* 0x00000001   0x8f6b        1109          56      0/0/0  

Level-2 Link State Database
0000.0000.0001.00-00  0x00000006   0x319e        1088          109     0/0/0   
0000.0000.0002.00-00* 0x00000007   0x8d3e        1109          109     0/0/0   
0000.0000.0002.01-00* 0x00000001   0x8f6b        1109          56      0/0/0   

6.查看ISIS路由,IPV4和IPV6的COST值相同

[R2]display isis route 
IPV4 Destination     IntCost    ExtCost ExitInterface   NextHop         Flags
12.0.0.0/8           10         NULL    GE0/0/0         Direct          D/-/L/-

 IPV6 Dest.      ExitInterface   NextHop                       Cost       Flags
 2012::/64       GE0/0/0         Direct                        10         D/L/-

7.修改接口的ISIS,查看ISIS路由,单拓扑模式下(ipv6 enable topology standard),IPV4和IPV6的COST值仍然相同。

[R2-GigabitEthernet0/0/0]isis cost 40
[R2]display isis route
12.0.0.0/8           40         NULL    GE0/0/0         Direct          D/-/L/-
 2012::/64       GE0/0/0         Direct                        40         D/L/-

8.修改为多拓扑模式,修改接口COST值,查看ISIS路由,IPV4和IPV6开销单独计算

[R2-isis-1]ipv6 enable topology ipv6 
[R2]interface GigabitEthernet 0/0/0
[R2-GigabitEthernet0/0/0]isis ipv6 cost 60
[R2]display isis route
12.0.0.0/8           40         NULL    GE0/0/0         Direct          D/-/L/-
2012::/64       GE0/0/0         Direct                        60         D/L/-
© 版权声明
THE END
喜欢就支持一下吧
点赞15 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称

    请登录后查看评论内容