beautypg.com

Brocade Multi-Service IronWare Routing Configuration Guide (Supporting R05.6.00) User Manual

Page 475

background image

Multi-Service IronWare Routing Configuration Guide

447

53-1003033-02

Configuring IPv6 neighbor discovery

Syntax: [no] ipv6 nd ra-lifetime number

The number parameter in both commands indicates any numerical value.

Possible range value for ipv6 nd ra-interval number is 3 to 1800 seconds.

Possible range value for ipv6 nd ra-lifetime number is 3 to 1800 seconds.

To restore the default interval or device lifetime value, use the no form of the respective command.

Controlling prefixes advertised in IPv6 router advertisement messages

By default, router advertisement messages include prefixes configured as addresses on interfaces
using the ipv6 address command. You can use the ipv6 nd prefix-advertisement command 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.

For example, to advertise the prefix 2001:DB8:a487:7365::/64 in router advertisement messages
sent out on Ethernet interface 3/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 3/1

Brocade(config-if-e100-3/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.