ipv6 nd prefix-advertisement
ipv6 nd prefix-advertisement
ipv6-address
valid-lifetime
preffered-lifetime
[
auto-config
]
[
onlink
]
no ipv6 nd prefix-advertisement
ipv6-address
valid-lifetime
preffered-lifetime
[
auto-config
]
[
onlink
]
By default, router advertisement messages include prefixes configured as addresses
on router interfaces using the ipv6 address command.
- ipv6-address
- Specifies the IPv6 addres in hexadecimal using 16-bit values between colons as documented in RFC 2373 along with the prefix length in the format X:X::X:X/M.
- valid-lifetime
- Configures the time interval (in seconds) in which the specified prefix is advertised as valid. Valid values are 0 through 4294967295 seconds. The default is 2592000 seconds (30 days). When the timer expires, the prefix is no longer considered to be valid.
- preffered-lifetime
- Configures the time interval (in seconds) in which the specified prefix isadvertised as preferred. Valid values are 0 through 4294967295 seconds. The default is 604800 seconds (7 days). When the timer expires, the prefix is no longer considered to be preferred.
- auto-config
- If this flag is set, the stateless auto configuration feature can use the specified prefix in the automatic configuration of 128-bit IPv6 addresses for hosts on the local link, provided the specified prefix is aggregatable, as specified in RFC 2374.
Interface configuration mode
The
no form of the command removes a prefix from the router advertisement messages sent
from a particular interface.
The following example configures to advertise the prefix 2001:DB8:a487:7365::/64 in router advertisement messages sent out on Ethernet interface 1/3/1 with a valid lifetime of 1000 seconds, a preferred lifetime of 800 seconds, and the Onlink and Autoconfig flags set.
device(config)# interface ethernet 1/3/1 device(config-if-e1000-1/3/1)# ipv6 nd prefix-advertisement 2001:DB8:a487:7365::/64 1000 800 onlink autoconfig