12.1 IPV6 over IPV4
1.R1配置ISIS
[R1]isis 1
[R1-isis-1]network-entity 49.0012.0000.0000.0001.00
[R1-isis-1]ipv6 enable
[R1]interface GigabitEthernet 0/0/0
[R1-GigabitEthernet0/0/0]isis ipv6 enable
[R1]interface LoopBack 0
[R1-LoopBack0]isis ipv6 enable
2.R2配置ISIS
[R2]isis 1
[R2-isis-1]network-entity 49.0012.0000.0000.0002.00
[R2-isis-1]ipv6 enable
[R2]interface GigabitEthernet 0/0/0
[R2-GigabitEthernet0/0/0]isis ipv6 enable
[R2]interface LoopBack 0
[R2-LoopBack0]isis ipv6 enable 1
3.R3配置ISIS
[R3]isis 1
[R3-isis-1]network-entity 49.0034.0000.0000.0003.00
[R3-isis-1]ipv6 enable
[R3]interface GigabitEthernet 0/0/0
[R3-GigabitEthernet0/0/0]isis ipv6 enable
[R3]interface LoopBack 0
[R3-LoopBack0]isis ipv6 enable 1
4.R4配置ISIS
[R4]isis 1
[R4-isis-1]network-entity 49.0034.0000.0000.0004.00
[R4-isis-1]ipv6 enable
[R4]interface GigabitEthernet 0/0/0
[R4-GigabitEthernet0/0/0]isis ipv6 enable
[R4]interface LoopBack 0
[R4-LoopBack0]isis ipv6 enabl
5.R2配置OSPF
[R2]ospf 1 router-id 2.2.2.2
[R2-ospf-1]area 0
[R2-ospf-1-area-0.0.0.0]network 2.2.2.2 0.0.0.0
[R2-ospf-1-area-0.0.0.0]network 23.1.1.0 0.255.255.255
6.R3配置OSPF
[R3]ospf 1 router-id 3.3.3.3
[R3-ospf-1]area 0
[R3-ospf-1-area-0.0.0.0]network 3.3.3.3 0.0.0.0
[R3-ospf-1-area-0.0.0.0]network 23.1.1.0 0.255.255.255
7.R2配置tunnel,并配置IPV6地址
[R2]interface Tunnel 0/0/0
[R2-Tunnel0/0/0]tunnel-protocol ipv6-ipv4
[R2-Tunnel0/0/0]ipv6 enable
[R2-Tunnel0/0/0]ipv6 address 2023::2 64
[R2-Tunnel0/0/0]source 23.1.1.2
[R2-Tunnel0/0/0]destination 23.1.1.3
[R2-Tunnel0/0/0]isis ipv6 enable
8.R3配置tunnel,并配置IPV6地址
[R3]interface Tunnel 0/0/0
[R3-Tunnel0/0/0]tunnel-protocol ipv6-ipv4
[R3-Tunnel0/0/0]ipv6 enable
[R3-Tunnel0/0/0]ipv6 address 2023::3 64
[R3-Tunnel0/0/0]source 23.1.1.3
[R3-Tunnel0/0/0]destination 23.1.1.2
[R3-Tunnel0/0/0]isis ipv6 enable 1
9.R1连通性测试R4
<R1>ping ipv6 -a 2001::1 2004::1
PING 2004::1 : 56 data bytes, press CTRL_C to break
Reply from 2004::1
bytes=56 Sequence=1 hop limit=62 time = 40 ms
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
请登录后查看评论内容