ipv6 nd prefix-advertisement
Syntax
ipv6 nd prefix-advertisement ipv6Prefix/ipv6PrefixLength validLifetime preferredLifetime
[ onlink ]
[ autoconfig ]
[ no ] ipv6 nd prefix-advertisement [ ipv6Prefix/ipv6PrefixLength ]
Release Information
Command introduced before JunosE Release
7.1.0.
Profile Configuration mode added in JunosE Release
9.0.0.
Description
Specifies which IPv6 prefixes the router includes in IPv6 router advertisements. In Profile Configuration mode, you can configure a single prefix. The no version removes any prefixes from the IPv6 routing advertisements. If you remove the configured prefix by using the no version of the command, the default values are restored for the valid and preferred lifetime settings. In such a case, the onlink and autoconfiguration settings are enabled.
Options
- ipv6Prefix—IPv6 network number to include in router advertisements.
- ipv6PrefixLength—Length of
the IPv6 prefix; a decimal value that indicates how many of the higher-order
contiguous bits of the IPv6 address comprise the prefix (the network
portion of the IPv6 address). A slash (/) must precede this value.
Note: When used in an IPv6 profile, the ipv6PrefixLength must be set to a length of 64.
- validLifetime—Amount of time in seconds that the router can advertise the specified IPv6 prefix as valid; in the range 0–4294967295. The default value is 2592000 seconds, which is effective when you use the no version of this command.
- preferredLifetime—Amount of time in seconds that the router can advertise the specified IPv6 prefix as preferred; in the range 0–4294967295. The default value is 604800 seconds, which is effective when you use the no version of this command.
- onlink—Indicates that the specified prefix is assigned to the link. By default, the specified prefix is not assigned to the link.
- autoconfig—Indicates that local host links can use the specified prefix for IPv6 autoconfiguration. By default, the local host links cannot use the specified prefix for IPv6 autoconfiguration.
Mode
Interface Configuration, Profile Configuration