Chapter 33 IPv6 Commands
Ethernet Switch CLI Reference Guide
155
33.3 Command Examples
This example shows how to enable IPv6 in VLAN 1 and display the link-local address the
Switch automatically generated for the VLAN.
The following table describes the labels in the
show ipv6
command output.
ipv6 neighbor <
interface-type
>
<
interface-number
> <
ipv6-address
>
<
mac-address
>
Creates a static IPv6 neighbor entry in the IPv6 cache for
this VLAN.
C
13
no ipv6 neighbor <
interface-type
>
<
interface-number
> <
ipv6-address
>
Removes a static IPv6 neighbor entry from the IPv6
cache.
C
13
show ipv6 neighbor
Displays IPv6 settings on the Switch and its neighbor
devices.
E
3
show ipv6 neighbor <
interface-
type
> <
interface-number
>
Displays IPv6 neighbor devices for a specified interface
on the Switch.
E
3
show ipv6 router
Displays all IPv6 router advertisement information on the
Switch.
E
3
show ipv6 router <
interface-type
>
<
interface-number
>
Displays IPv6 router advertisement information for a
specified interface on the Switch.
E
3
Table 92
ipv6 neighbor Command Summary (continued)
COMMAND
DESCRIPTION
M
P
sysname# config
sysname(config)# vlan 1
sysname(config-vlan)# ipv6
sysname(config-vlan)# exit
sysname(config)# exit
sysname# show ipv6
VLAN ID : 1
IPv6 Status : Enable
Origin IP Address/PrefixLength Status Expire
--------- ------------------------------------------- ---------- -----------
manual fe80::219:cbff:fe00:1/64 preferred permanent
Table 93
show ipv6
LABEL
DESCRIPTION
VLAN ID
This field displays a configured VLAN identifier.
IPv6 Status
This field displays the current IPv6 status in a VLAN. You can use the command
“
ipv6
” to enable IPv6 in a VLAN if it displays
Disable
.
Origin
This field displays the origin of an IPv6 address. The available options for this
field are:
•
manual
: The IP address was automatically generated by the interface itself
or configured manually.
•
linklayer
: The IP address was generated by stateless autoconfiguration.
•
other
: The IP address was assigned by a DHCP server.
IP Address /
Prefix Length
This field displays the configured IPv6 address and prefix.