Ipv6 general-prefix – LevelOne GTL-2690 User Manual

Page 685

Advertising
background image

IP Interface Commands

41-8

41

Related Commands

ipv6 address link-local (41-13)
show ipv6 interface (41-14)

ipv6 general-prefix

This command defines an IPv6 general prefix for the network address segment. Use
the no form to remove the IPv6 general prefix.

Syntax

ipv6 general-prefix prefix-name ipv6-prefix/prefix-length
no ipv6 general-prefix
prefix-name

prefix-name - The label assigned to the general prefix.
ipv6-prefix - The high-order bits of the network address segment assigned

to the general prefix. The prefix 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 of the contiguous bits

(from the left) of the address comprise the prefix (i.e., the network portion
of the address).

Default Setting

No general prefix is defined

Command Mode

Global Configuration

Command Usage

• Prefixes may contain zero-value fields or end in zeros.
• A general prefix holds a short prefix that indicates the high-order bits used in

the network portion of the address. Longer, more specific, prefixes can be
based on the general prefix to specify any number of subnets. When the
general prefix is changed, all of the more specific prefixes based on this prefix
will also change.

Example
This example assigns a general network prefix of 2009:DB9:2229::/48 to the router.

Related Commands

show ipv6 general-prefix (41-9)

Console(config)#ipv6 general-prefix rd 2009:DB9:2229::/48
Console(config)#end
Console#show ipv6 general-prefix
IPv6 general prefix: rd
2009:DB9:2229::/48
Console#

Advertising