5 IPv6 neighbor discovery configuration

Prefixes advertised in IPv6 router advertisement messages

By default, router advertisement messages include prefixes configured as addresses on router interfaces using the ipv6 address command. You can use the ipv6 nd prefix-advertisementcommand to control exactly which prefixes are included in router advertisement messages. Along with which prefixes the router advertisement messages contain, you can also specify the following parameters:

Valid lifetime—(Mandatory) The time interval (in seconds) in which the specified prefix is advertised as valid. The default is 2592000 seconds (30 days). When the timer expires, the prefix is no longer considered to be valid.

Preferred lifetime—(Mandatory) The time interval (in seconds) in which the specified prefix is advertised as preferred. The default is 604800 seconds (7 days). When the timer expires, the prefix is no longer considered to be preferred.

Onlink flag—(Optional) If this flag is set, the specified prefix is assigned to the link upon which it is advertised. Nodes sending traffic to addresses that contain the specified prefix consider the destination to be reachable on the local link.

Autoconfiguration flag—(Optional) 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.

For example, to advertise the prefix 2001:DB8:a487:7365::/64 in router advertisement messages sent out on Ethernet interface 1/1/1 with a valid lifetime of 1000 seconds, a preferred lifetime of 800 seconds, and the Onlink and Autoconfig flags set, enter the following commands.

Brocade(config)#interface ethernet 1/1/1 Brocade(config-if-e10000-1/1/1)#ipv6 nd prefix-advertisement 2001:DB8:a487:7365::/64 1000 800 onlink autoconfig

Syntax: [no] ipv6 nd prefix-advertisement <ipv6-prefix>/<prefix-length><valid-lifetime><preferred-lifetime>[autoconfig] [onlink]

You must specify the <ipv6-prefix>parameter in hexadecimal using 16-bit values between colons as documented in RFC 2373.

You must specify the <prefix-length>parameter as a decimal value. A slash mark (/) must follow the <ipv6-prefix>parameter and precede the <prefix-length>parameter.

The valid lifetime and preferred lifetime is a numerical value between 0 – 4294967295 seconds. The default valid lifetime is 2592000 seconds (30 days), while the default preferred lifetime is 604800 seconds (7 days).

To remove a prefix from the router advertisement messages sent from a particular interface, use the no form of this command.

134

Brocade ICX 6650 Administration Guide

 

53-1002600-01

Page 152
Image 152
Brocade Communications Systems 6650 manual Prefixes advertised in IPv6 router advertisement messages