show ipv6 general-prefix
This command displays all configured IPv6 general prefixes.
Command Mode
Normal Exec, Privileged Exec
Example
This example displays a single IPv6 general prefix configured for the router.
Console#show ipv6 general-prefix
IPv6 general prefix: rd
2009:DB9:2229::/48
Console#
ipv6 address
This command configures an IPv6 global unicast address and enables IPv6 on an
interface. Use the
no
form without any arguments to remove all IPv6 addresses from
the interface, or use the
no
form with a specific IPv6 address to remove that address
from the interface.
Syntax
ipv6 address
[general-prefix-name] ipv6-address/prefix-length
no ipv6 address
[[general-prefix-name] ipv6-address/prefix-length]]
• general-prefix-name - The label assigned to the general prefix which
specifies the leading bits of the network portion of the address.
• ipv6-address - A full IPv6 address if no general prefix is used, or the
subsequent bits following the general prefix if one is used followed by the
host address bits. The address must be formatted according to RFC 2373
“IPv6 Addressing Architecture,” using 8 colon-separated 16-bit
hexadecimal values. One double colon may be used in the address to
indicate the appropriate number of zeros required to fill the undefined fields.
• prefix-length - A decimal value indicating how many contiguous bits (from
the left) of the address comprise the prefix (i.e., the network portion of the
address). The length of this prefix includes both the general prefix and any
number of subsequent IPv6 prefix bits specified in this command. If the
prefix length specified by this command is shorter than the general prefix,
then the length of the general prefix takes precedence.
Default Setting
No IPv6 addresses are defined
Command Mode
Interface Configuration (VLAN)
Command Usage
• The general prefix normally applies to all interfaces, and is therefore specified
at the global configuration level. The subsequent network prefix bits normally
41-9
Basic IP Configuration
41