Technical data
BLADE OS 5.1 Application Guide
BMD00136, November 2009 Chapter 12: IPv6 Host Management
179
IPv6 Configuration Examples
This section provides steps to configure IPv6 on the switch.
IPv6 Example 1
The following example uses IPv6 host mode to autoconfigure an IPv6 address for the
interface. By default, the interface is assigned to VLAN 1.
1. Enable IPv6 host mode on an interface.
2. Configure the IPv6 default gateway.
3. Verify the interface address.
IPv6 Example 2
Use the following example to manually configure IPv6 on an interface.
1. Assign an IPv6 address and prefix length to the interface.
The secondary IPv6 address is compressed, and the prefix length is 32.
2. Configure the IPv6 default gateway.
>> # interface ip 2
>> (config-ip-if)# ip6host
>> (config-ip-if)# enable
>> (config-ip-if)# exit
>> # ip gateway6 1 address 2001:BA98:7654:BA98:FEDC:1234:ABCD:5412
>> # ip gateway6 1 enable
>> # show interface ip 2
>> # interface ip 3
>> (config-ip-if)# ipv6 address 2001:BA98:7654:BA98:FEDC:1234:ABCD:5214
>> (config-ip-if)# ipv6 prefixlen 64
>> (config-ip-if)# ipv6 seccaddr6 2003::1 32
>> (config-ip-if)# vlan 2
>> (config-ip-if)# enable
>> (config-ip-if)# exit
>> # ip gateway6 1 address 2001:BA98:7654:BA98:FEDC:1234:ABCD:5412
>> # ip gateway6 1 enable