Chapter 33 IPv6 Commands
Ethernet Switch CLI Reference Guide
156
This example shows how to enable IPv6 in VLAN 1 and display the link-local address the
Switch automatically generated and other IPv6 information for the VLAN.
This example shows how to manually configure two IPv6 addresses (one uses the EUI-64
format, one doesn’t) in VLAN 1, and then display the result. Before using
ipv6 address
commands, you have to enable IPv6 in the VLAN and this has the Switch generate a link-local
address for the interface.
Status
This field displays the current status of an IPv6 address. The available options
for this field are:
•
preferred
: This is a valid address and it can be used as a sender or
receiver address.
•
deprecated
: This is a valid address but should not be used as a sender
address in new session.
•
invalid
: This is not a valid address and it should not be used as a sender
or receiver address.
•
inaccessible
: The address is not accessible because the interface to
which this address is assigned is not operational.
•
unknown
: The status of the IP address can not be determined for some
reason.
•
tentative
: The Switch is verifying the uniqueness of the IP address.
•
duplicate
: The address is not unique in your network and can not be
used.
Expire
This displays how long (
hh:mm:ss
) an address can be used before it expires.
When an address is manually configured, it displays
permanent
(never
expires).
sysname# config
sysname(config)# interface vlan 1
sysname(config-vlan)# ipv6
sysname(config-vlan)# exit
sysname(config)# exit
sysname# show ipv6 vlan 1
VLAN : 1 (VLAN1)
IPv6 is enabled.
MTU is 1500 bytes.
ICMP error messages limited to 10 every 100 milliseconds.
Stateless Address Autoconfiguration is disabled.
Link-Local address is fe80::219:cbff:fe6f:9159 [preferred]
Global unicast address(es):
Joined group address(es):
ff02::2
ff01::1
ff02::1
ff02::1:ff6f:9159
ND DAD is enabled, number of DAD attempts: 1
ND NS-interval is 1000 milliseconds
ND reachable time is 30000 milliseconds
ND router advertised managed config flag is disable
ND router advertised other config flag is disable
ND router advertisements are sent every 200 to 600 seconds
ND router advertisements lifetime 1800 seconds
Table 93
show ipv6 (continued)
LABEL
DESCRIPTION