ZXR10 5900E Series Configuration Guide (IPv6)
Figure 7-1 OSPFv3 Configuration Example
Configuration Thought
1.
Enable the IPv6 protocol on the direct connection interfaces of S1 and S2, configure
IPv6 addresses for the direct connection interfaces, configure loopback interfaces,
enable IPv6 on the loopback interfaces, and configure IPv6 addresses for the loopback
interfaces.
2.
Configure OSPFv3.
3.
Add the interfaces to OSPF area 0.
4.
Check and verify the configuration results:
Neighbors are correctly established
between the two routers, each router can learn the routes advertised by the peer
router, and each router can ping the peer loopback interface.
Configuration Commands
S1 configuration:
S1(config)#interface vlan10
S1(config-if-vlan10)#ipv6 enable
S1(config-if-vlan10)#ipv6 address 3611::11/64
S1(config-if-vlan10)#exit
S1(config)#interface loopback5
S1(config-if-loopback5)#ipv6 enable
S1(config-if-loopback5)#ipv6 address 3555::52/64
S1(config-if-loopback5)#exit
S1(config)#ipv6 router ospf 1
S1(config-ospfv3-1)#router-id 11.11.11.11
S1(config-ospfv3-1)#interface vlan10
area 0
S1(config-ospfv3-1-if-vlan10)#exit
S1(config-ospfv3)#interface loopback5 area 0
S1(config-ospfv3-1-if-loopback5)#exit
S1(config-ospfv3-1)#exit
S2 configuration:
S2(config)#interface vlan10
S2(config-if-vlan10)#ipv6 enable
S2(config-if-vlan10)#ipv6 address
3611::10/64
S2(config-if-vlan10)#exit
S2(config)#interface loopback5
S2(config-if-loopback5)#ipv6 enable
S2(config-if-loopback5)#ipv6 address
3550::52/64
7-14
SJ-20150114102049-011|2015-01-15 (R1.0)
ZTE Proprietary and Confidential