IPv6 host address on a Layer 2 switch
In a Layer 3 (router) conguration, each port can be congured separately with an IPv6 address. This is accomplished using the interface
conguration process that is described in IPv6 conguration on each router interface on page 158.
There is support for conguring an IPv6 address on the management port as described in Conguring the management port for an IPv6
automatic address conguration on page 158, and for conguring a system-wide IPv6 address on a Layer 2 switch. Conguration of
the system-wide IPv6 address is exactly like conguration of an IPv6 address in router mode, except that the IPv6 conguration is at the
Global CONFIG level instead of at the Interface level.
The process for dening the system-wide interface for IPv6 is described in the following sections:
• Conguring a global or site-local IPv6 address with a manually congured interface ID on page 157
• Conguring a link-local IPv6 address as a system-wide address for a switch on page 157
NOTE
When conguring an Ipv6 host address on a Layer 2 switch that has multiple VLANs, make sure the conguration includes a
designated management VLAN that identies the VLAN to which the global IP address belongs. Refer to "Designated VLAN
for Telnet management sessions to a Layer 2 Switch" section in the FastIron Ethernet Switch Security Conguration Guide .
Conguring a global or site-local IPv6 address with a manually congured
interface ID
To
congure a global or site-local IPv6 address with a manually-congured interface ID, such as a system-wide address for a switch,
enter a command similar to the following at the Global CONFIG level.
device(config)# ipv6 address 2001:DB8:12D:1300:240:D0FF:FE48:4000:1/64
Syntax: ipv6 address ipv6-prex/prex-length
You must specify the ipv6-prex parameter in hexadecimal using 16-bit values between colons as documented in RFC 2373.
You must specify the prex-length parameter in decimal value. A slash mark (/) must follow the ipv6-prex parameter and precede the
prex-length parameter.
Conguring a link-local IPv6 address as a system-wide address for a
switch
To enable IPv6 and automatically
congure a global interface enter commands such as the following.
device(config)#ipv6 enable
This command enables IPv6 on the switch and species that the interface is assigned an automatically computed link-local address.
Syntax: [no] ipv6 enable
To override a link-local address that is automatically computed for the global interface with a manually congured address, enter a
command such as the following.
device(config)#ipv6 address FE80::240:D0FF:FE48:4672 link-local
This command explicitly congures the link-local address FE80::240:D0FF:FE48:4672 for the global interface.
Syntax: ipv6 address ipv6-address link-local
You must specify the ipv6-address parameter in hexadecimal using 16-bit values between colons as documented in RFC 2373.
IPv6 host address on a Layer 2 switch
FastIron Ethernet Switch Layer 3 Routing
53-1003627-04 157