show ipv6 address
28-4 IPv6 Management
show ipv6 address
Use this command to display the system IPv6 address(es) and IPv6 gateway address (default
router), if configured.
Syntax
show ipv6 address
Parameters
None.
Defaults
None.
Mode
Switch command, read-only.
Usage
This command displays the IPv6 addresses configured automatically and with the set ipv6
address and set ipv6 gateway commands.
Example
This example displays two IPv6 management (host) addresses configured for the switch. The first
listed is the link local address that was automatically created when IPv6 was enabled for the host.
The second address is a global address that was manually configured. The gateway address was
also automatically created for the link local address.
C3(su)->show ipv6 address
Name IPv6 Address
------------ ----------------------------------------
host FE80::201:F4FF:FE5C:2880/64
host 2001:DB8:1234:5555:201:F4FF:FE5C:2880/64
gateway FE80::201:F4FF:FE5D:1234
clear ipv6 address
Use this command to clear IPv6 global addresses.
Syntax
clear ipv6 [address {all|ipv6-addr/prefix-length}]
Parameters
ipv6-addr The IPv6 address to be cleared. This parameter must be in the form
documented in RFC 4291, with the address specified in hexadecimal using
16-bit values between colons.
prefix-length The length of the IPv6 prefix for this address. The value of prefix-length is a
decimal number indicating the number of high-order contiguous bits of the
address that comprise the network portion of the address.
all Deletes all IPv6 global addresses.