OcNOS-SP : Layer 3 Guide : Neighbor Discovery Configuration Guide : Neighbor Discovery Configuration : Configuring Neighbor Discovery for IPv6
Configuring Neighbor Discovery for IPv6
The procedures in this section use the topology in Figure 3-164.
Figure 3-164: ND for IPv6
RTR1
 
#configure terminal
Enter the configure mode.
(config)#interface xe1
Enter interface mode.
(config-if)#ipv6 address 3ffe:506::1/48
Configure IPv6 address on the interface.
(config-if)#commit
Commit the candidate configuration to the running configuration
(config-if)#exit
Exit interface mode.
(config)# ipv6 neighbor 3ffe:506::2 xe1 0000.0000.0004
Configure neighbor IPv6 address and MAC.
(config-if)#commit
Commit the candidate configuration to the running configuration
(config)#exit
Exit configure mode.
RTR2
 
#configure terminal
Enter the configure mode.
(config)#interface xe1
Enter interface mode.
(config-if)#ipv6 address 3ffe:506::2/48
Configure IPv6 address on the interface.
(config-if)#commit
Commit the candidate configuration to the running configuration
(config-if)#exit
Exit interface mode.
(config)# ipv6 neighbor 3ffe:506::1 xe1 0000.0000.0003
Configure neighbor IPv6 address and MAC.
(config-if)#commit
Commit the candidate configuration to the running configuration
(config)#exit
Exit configure mode.
Validation
#show ipv6 neighbors
IPv6 Address MAC Address Interface Type
3ffe:506::2 0000.0000.0004 xe1 static
 
Last modified date: 10/16/2023