Ipv6 configuration examples, Ipv6 example 1, Ipv6 example 2 – Blade ICE RACKSWITCH G8124-E User Manual

Page 240

Advertising
background image

BLADEOS 6.5.2 Application Guide

240 Chapter 16: Internet Protocol Version 6

BMD00220, October 2010

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.

RS G8124(config)# interface ip 2

RS G8124(config-ip-if)# ip6host

RS G8124(config-ip-if)# enable

RS G8124(config-ip-if)# exit

RS G8124(config)# ip gateway6 1 address

2001:BA98:7654:BA98:FEDC:1234:ABCD:5412

RS G8124(config)# ip gateway6 1 enable

RS G8124(config)# show interface ip 2

RS G8124(config)# interface ip 3

RS G8124(config-ip-if)# ipv6 address

2001:BA98:7654:BA98:FEDC:1234:ABCD:5214

RS G8124(config-ip-if)# ipv6 prefixlen 64

RS G8124(config-ip-if)# ipv6 seccaddr6 2003::1 32

RS G8124(config-ip-if)# vlan 2

RS G8124(config-ip-if)# enable

RS G8124(config-ip-if)# exit

Advertising
This manual is related to the following products: