Brocade FastIron Ethernet Switch Layer 3 Routing Configuration Guide User Manual

Page 188

Advertising
background image

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.

device(config)#interface ethernet 3/1

device(config-if-e1000-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.

Setting flags in IPv6 router advertisement messages

An IPv6 router advertisement message can include the following flags:

• Managed Address Configuration--This flag indicates to hosts on a local link if they should use the

stateful autoconfiguration feature to get IPv6 addresses for their interfaces. If the flag is set, the
hosts use stateful autoconfiguration to get addresses as well as non-IPv6-address information. If
the flag is not set, the hosts do not use stateful autoconfiguration to get addresses and if the hosts
can get non-IPv6-address information from stateful autoconfiguration is determined by the setting of
the Other Stateful Configuration flag.

• Other Stateful Configuration--This flag indicates to hosts on a local link if they can get non-IPv6

address autoconfiguration information. If the flag is set, the hosts can use stateful autoconfiguration
to get non-IPv6-address information.

NOTE
When determining if hosts can use stateful autoconfiguration to get non-IPv6-address information, a
set Managed Address Configuration flag overrides an unset Other Stateful Configuration flag. In this
situation, the hosts can obtain nonaddress information. However, if the Managed Address
Configuration flag is not set and the Other Stateful Configuration flag is set, then the setting of the
Other Stateful Configuration flag is used.

By default, the Managed Address Configuration and Other Stateful Configuration flags are not set in
router advertisement messages. For example, to set these flags in router advertisement messages
sent from Ethernet interface 3/1, enter the following commands.

device(config)#interface ethernet 3/1

device(config-if-e1000-3/1)#ipv6 nd managed-config-flag

device(config-if-e1000-3/1)#ipv6 nd other-config-flag

Syntax: [no] ipv6 nd managed-config-flag

Syntax: [no] ipv6 nd other-config-flag

To remove either flag from router advertisement messages sent on an interface, use the no form of
the respective command.

Setting flags in IPv6 router advertisement messages

188

FastIron Ethernet Switch Layer 3 Routing Configuration Guide

53-1003087-04

Advertising