Ipv6 Configuration Examples - IBM RackSwitch G8000 Application Manual

A top-of-rack (tor) switch
Hide thumbs Also See for RackSwitch G8000:
Table of Contents

Advertisement

IPv6 Configuration Examples

202
RackSwitch G8000: Application Guide
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.
RS G8000(config)# interface ip 2
RS G8000(config-ip-if)# ip6host
RS G8000(config-ip-if)# enable
RS G8000(config-ip-if)# exit
2. Configure the IPv6 default gateway.
RS G8000(config)# ip gateway6 1 address
2001:BA98:7654:BA98:FEDC:1234:ABCD:5412
RS G8000(config)# ip gateway6 1 enable
3. Verify the interface address.
RS G8000(config)# show interface ip 2
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.
RS G8000(config)# interface ip 3
RS G8000(config-ip-if)# ipv6 address
2001:BA98:7654:BA98:FEDC:1234:ABCD:5214
RS G8000(config-ip-if)# ipv6 prefixlen 64
RS G8000(config-ip-if)# ipv6 seccaddr6 2003::1 32
RS G8000(config-ip-if)# vlan 2
RS G8000(config-ip-if)# enable
RS G8000(config-ip-if)# exit
The secondary IPv6 address is compressed, and the prefix length is 32.
2. Configure the IPv6 default gateway.
RS G8000(config)# ip gateway6 1 address
2001:BA98:7654:BA98:FEDC:1234:ABCD:5412
RS G8000(config)# ip gateway6 1 enable
3. Configure Neighbor Discovery advertisements for the interface (optional)
RS G8000(config)# interface ip 3
RS G8000(config-ip-if)# no ipv6 nd suppress-ra
4. Verify the configuration.
RS G8000(config-ip-if)# show layer3

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents