ipv6 prefix-priority

ipv6 prefix-priority <PREFIX-LENGTHS>

no ipv6 prefix-priority [<PREFIX-LENGTHS>>]

Description

Configures custom IPv6 route prefix lengths for the exact prefix match tables of the switch. The switch must be rebooted to apply the change.

Following the reboot, IPv6 prefix priorities will remain in a pending state until at least one route is learned. A connected route counts so this can be as simple as having an L3 interface with an IP address in the up state.

The no form of this command resets the prefix lengths to their default

Parameter

Description

<PREFIX-LENGTHS>>

Specifies a space-separated list of exactly five prefix lengths, in descending order. Range: 8 to 64.

Examples

Configuring custom IPv6 route prefix lengths:

switch(config)# ipv6 prefix-priority 64 63 62 32 28 Save this config and reboot the switch for the changes to take effect ...

Resetting IPv6 route prefix lengths to their default:

switch(config)# no ipv6 prefix-priority Save this config and reboot the switch for the changes to take effect ...

Attempting to configure custom IPv6 route prefix lengths with some lengths not in descending order:

switch(config)# ipv6 prefix-priority 64 62 63 31 32 Prefix lengths must be specified in descending order

Attempting to configure eight prefix lengths:

switch(config)# ipv6 prefix-priority 64 63 62 32 31 28 24 23 Invalid input: 28

Attempting to configure three prefix lengths:

switch(config)# ipv6 prefix-priority 64 63 31 % Command incomplete.

Command History

Release

Modification

10.10

Command introduced.

Command Information

Platforms

Command context

Authority

8100

8360

config

Administrators or local user group members with execution rights for this command.