Users Guide

Table Of Contents
ipv6 nd prefix
Configures the IPv6 prefixes that are included in messages to neighboring IPv6 routers.
Syntax
ipv6 nd prefix {ipv6-prefix | default} [no-advertise] [no autoconfig] [no-
rtr-address] [off-link] [lifetime {valid-lifetime seconds | infinite}
{preferred-lifetime seconds | infinite}]
Parameters
ipv6-prefix Enter an IPv6 prefix in x:x::y/mask format to include the prefix in RA mesages.
Include prefixes that are not already in the subnets on the interface.
default Configure the prefix parameters advertised in all subnets configured on the interface.
no-advertise (Optional) Do not advertise the specified prefix. By default, all prefixes in
configured subnets advertise.
no-autoconfig (Optional) Sets AdvAutonomous to Off for the specified prefix in the
radvd.conf file. This setting tells hosts to not use this prefix for address autoconfiguration. By default,
AdvAutonomous is On.
no-rtr-address (Optional) Sets AdvRouterAddr to Off for the prefix in the radvd.conf file.
The Off setting tells hosts to not use the advertising router's address for on-link determination. By
default, AdvRouterAddr is On.
off-link (Optional) Sets AdvOnLink to Off for the prefix in the radvd.conf file. The Off
setting tells hosts to not use this prefix for on-link determination. By default, AdvOnLink is On.
lifetime {valid-lifetime seconds | infinite} (Optional) Sets
AdvValidLifetime in seconds for the prefix in the radvd.conf file. The prefix is valid for on-link
determination only for the specified lifetime. The default is 86400 seconds (1 day). The infinite
setting allows the prefix to be valid for on-link determination with no time limit.
lifetime {preferred-lifetime seconds | infinite} (Optional) Sets
AdvPreferredLifetime in seconds for the prefix in the radvd.conf file. IPv6 addresses generated
from the prefix using stateless autoconfiguration remain preferred for the configured lifetime. The
default is 14400 seconds (4 hours). The infinite setting allows addresses that are autoconfigured
using the prefix to be preferred with no time limit.
Defaults All prefixes in IPv6 subnets configured on an interface advertise.
Command Mode INTERFACE
Usage
Information
By default, all prefixes configured in IPv6 addresses on an interface advertise. To advertise all default
parameters in the subnet prefixes on an interface, enter the default keyword.
If you configure a prefix with valid or preferred lifetime values, the ipv6 nd prefix default no
autoconfig command does not apply the default prefix values.
On-link determination is used to forward IPv6 packets to a destination IPv6 address.
Examples
Enable router advertisements
OS10(conf-if-eth1/1/1)# ipv6 address 2001:0db8:2000::1/64
OS10(conf-if-eth1/1/1)# ipv6 nd send-ra
Change default settings for interface subnet prefixes
OS10(conf-if-eth1/1/1)# ipv6 nd prefix default lifetime infinite infinite
Disable advertising an interface subnet prefix
OS10(conf-if-eth1/1/1)# ipv6 nd prefix 2001:0db8:2000::/64 no-advertise
Advertise prefix for which there is no interface address
OS10(conf-if-eth1/1/1)# ipv6 nd prefix 2001:0db8:3000::/64 no-autoconfig
Supported
Releases
10.4.0E(R1) or later
730 Layer 3