Command Line Reference Guide

ipv6 nd prefix
Specify which IPv6 prefixes are included in Neighbor Advertisements.
Syntax
ipv6 nd prefix {ipv6-prefix | prefix-length | default} [no-
advertise] | [no-autoconfig] [no-rtr-address] [off-link]
[lifetime {valid | infinite} {preferred | infinite}]
Parameters
ipv6-prefix Enter an IPv6 prefix.
prefix-length Enter the prefix then the prefix length. The length range is
from 0 to 128.
default Enter the keyword default to set default parameters for all
prefixes.
no-advertise Enter the keyword no-advertise to prevent the specified
prefix from being advertised.
no-autoconfig Enter the keywords no-autoconfig to disable Stateless
Address Autoconfiguration.
no-rtr-address Enter the keyword no-rtr-address to exclude the full
router address from router advertisements (the R bit is not
set).
off-link Enter the keywords off-link to advertise the prefix without
stating to recipients that the prefix is either on-link or off-
link.
valid-lifetime |
infinite
Enter the amount of time that the prefix is advertised, or
enter infinite for an unlimited amount of time. The range
is from 0 to 4294967295. The default is 2592000. The
maximum value means that the preferred lifetime does not
expire for the valid-life time parameter.
preferred-
lifetime |
infinite
Enter the amount of time that the prefix is preferred, or enter
infinite for an unlimited amount of time. The range is
from 0 to 4294967295. The default is 2592000. The
maximum value means that the preferred lifetime and does
not expire.
Command
Modes
INTERFACE
Command
History
Version 9.2(0.0) Introduced on the MXL 10/40GbE Switch IO Module.
Usage
Information
By default, all prefixes configured as addresses on the interface are advertised. This
command allows control over the individual parameters per prefix; you can use the
default keyword to use the default parameters for all prefixes. If a prefix has been
configured with lifetime parameter values, the default values cannot be applied
using the
ipv6 nd prefix default no-autoconfig command.
680
IPv6 Basics