#configure terminal | Enter the configure mode. |
(config)#interface xe1 | Enter interface mode. |
(config-if)#ip address 2.2.2.2/24 | Configure IP address on the interface. |
(config-if)#commit | Commit the candidate configuration to the running configuration |
(config-if)#exit | Exit interface mode. |
(config)#ip arp 2.2.2.3 0000.0000.0003 | Configure ARP entry for neighbor. |
(config-if)#commit | Commit the candidate configuration to the running configuration |
(config)#exit | Exit configure mode. |
#configure terminal | Enter the configure mode. |
(config)#interface xe1 | Enter interface mode. |
(config-if)#ip address 2.2.2.3/24 | Configure IP address on the interface. |
(config-if)#commit | Commit the candidate configuration to the running configuration |
(config-if)#exit | Exit interface mode. |
(config)#arp 2.2.2.2 0000.0000.0004 | Configure ARP entry for neighbor. |
(config-if)#commit | Commit the candidate configuration to the running configuration |
(config)#exit | Exit configure mode. |
#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)#commit | Commit the candidate configuration to the running configuration |
(config)#exit | Exit configure mode. |
#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)#commit | Commit the candidate configuration to the running configuration |
(config)#exit | Exit configure mode. |