# 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.

#### 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
- preferredLifetime—Amount of time in seconds that the router can advertise the specified IPv6 prefix as preferred; in the range 0–4294967295
- onlink—Indicates that the specified prefix is assigned to the link
- autoconfig—Indicates that local host links can use the specified prefix for IPv6 autoconfiguration

#### Mode

Interface Configuration, Profile Configuration