IPv6 Configuration Example 2
1. Assign an IPv6 address and prefix length to the interface.
2. Configure the IPv6 default gateway.
3. Configure Router advertisements for the interface (optional)
4. Verify the configuration.
© Copyright Lenovo 2018
Use the following example to manually configure IPv6 on an interface.
NE2552E(config)# interface ip 3
NE2552E(config-ip-if)# ipv6 address 2001:BA98:7654:BA98:FEDC:1234:
ABCD:5214
NE2552E(config-ip-if)# ipv6 prefixlen 64
NE2552E(config-ip-if)# ipv6 seccaddr6 2003::1 32
NE2552E(config-ip-if)# vlan 2
NE2552E(config-ip-if)# enable
NE2552E(config-ip-if)# exit
The secondary IPv6 address is compressed, and the prefix length is 32.
NE2552E(config)# ip gateway6 1 address 2001:BA98:7654:BA98:FEDC:1234:
ABCD:5412
NE2552E(config)# ip gateway6 1 enable
NE2552E(config)# interface ip 3
NE2552E(config-ip-if)# no ipv6 nd suppress-ra
NE2552E(config-ip-if)# show layer3
Chapter 22: Internet Protocol Version 6
337