Reference Guide
3 Congure the IPv6 prexes that are advertised by IPv6 neighbor discovery in Interface mode.
ipv6 nd prefix {ipv6-prefix | default} [no-advertise] [no-autoconfig] [no-rtr-address]
[off-link] [lifetime {valid-lifetime seconds | infinite}
{preferred-lifetime seconds | infinite}]
• ipv6-prefix — Enter an IPv6 prex in x:x::y/mask format to include the prex in RA mesages. Include prexes that are not
already in the subnets congured on the interface.
• default — Congure the prex parameters advertised in all subnets congured on the interface.
• no-advertise — (Optional) Do not advertise the specied prex. By default, all prexes in congured subnets are advertised.
• no-autoconfig — (Optional) Sets AdvAutonomous to Off for the specied prex in the radvd.conf le. This setting tells
hosts to not use this prex for address autoconguration. By default, AdvAutonomous is On.
• no-rtr-address — (Optional) Sets AdvRouterAddr to Off for the prex in the radvd.conf le. The Off setting tells hosts
to not use the advertising router address for on-link determination. By default,
AdvRouterAddr is On.
• off-link — (Optional) Sets AdvOnLink to Off for the prex in the radvd.conf le. The Off setting tells hosts to not use this
prex for on-link determination. By default, AdvOnLink is On.
• lifetime {valid-lifetime seconds | infinite} — (Optional) Sets AdvValidLifetime (in seconds) for the
prex in the radvd.conf le. The prex is valid for on-link determination only for the specied lifetime. The default is 86400
seconds (1 day). The infinite setting allows the prex to be valid for on-link determination with no time limit.
• lifetime {preferred-lifetime seconds | infinite} — (Optional) Sets AdvPreferredLifetime (in
seconds) for the prex in the radvd.conf le. IPv6 addresses generated from the prex using stateless autoconguration remain
preferred for the congured lifetime. The default is 14400 seconds (4 hours). The infinite setting allows addresses that are
autocongured using the prex to be preferred with no time limit.
By default, all prexes congured in IPv6 addresses on an interface are advertised. To modify the default values advertised for
interface subnet prexes, use the ipv6 nd prefix default command and specify new default settings.
On-link determination is the process used to forward IPv6 packets to a destination IPv6 address.
Congure neighbor discovery
OS10(config)# interface ethernet 1/1/1
OS10(conf-if-eth1/1/1)# ipv6 nd mtu 1500
OS10(conf-if-eth1/1/1)# ipv6 nd send-ra
Congure advertised IPv6 prexes
OS10(config)# interface ethernet 1/1/1
OS10(conf-if-eth1/1/1)# ipv6 nd prefix default lifetime infinite infinite
OS10(conf-if-eth1/1/1)# ipv6 nd prefix 2002::/64
Duplicate address discovery
To determine if an IPv6 unicast address is unique before assigning it to an interface, an OS10 switch sends a neighbor solicitation message.
If the process of duplicate address discovery (DAD) detects a duplicate address in the network, the address is not congured on the
interface. DAD is enabled by default.
By default, IPv6 is not disabled when a duplicate address is detected. Only the duplicate address is not applied. Other IPv6 addresses are
still active on the interface.
To disable IPv6 on an interface when a duplicate link-local address is detected, use the ipv6 nd dad disable-ipv6-on-failure
command. To re-enable IPv6 after you resolve a duplicate link-local address, enter no ipv6 enable, followed by ipv6 enable.
• Disable or re-enable IPv6 duplicate address discovery in Interface mode.
ipv6 nd dad {disable | enable}
• Disable IPv6 on an interface if a duplicate link-local address is discovered in Interface mode.
ipv6 nd dad disable-ipv6-on-dad-failure
Layer 3
315