14 ipv6 nd prefix – PLANET WGSW-50040 User Manual

Page 218

Advertising
background image

Usage Guide:

The maximum time interval of routing announcement should be smaller than the lifetime value

routing announcement.

Example:

Set the maximum time interval of sending routing announcement is 20 seconds.

Switch(Config-if-Vlan1)#ipv6 nd max-ra-interval 20

12.2.14 ipv6 nd prefix

Command:

ipv6 nd prefix <ipv6-prefix | prefix-length>{ [<valid-lifetime> <preferred-lifetime>]

[ no-autoconfig | off-link[no-autoconfig] ]}

no ipv6 nd prefix <ipv6-prefix | prefix-length>

Function:

Configure the address prefix and relative parameters for router announcement.

Parameter:

<ipv6-prefix> is the address prefix of the specified announcement,

<prefix-length> is the length of the address prefix of the specified announcement,

<valid-lifetime> is the valid lifetime of the prefix,

<preferred-lifetime> is the preferred lifetime of the prefix, and the valid lifetime must be no smaller

than preferred lifetime.

no-autoconfig says this prefix can not be used to automatically configure IPv6 address on the host

in link-local.

off-link says the prefix specified by router announcement message is not assigned to link-local, the

node which sends data to the address including this prefix consider link-local as unreachable.

Command Mode:

Interface Configuration Mode

Default:

The default value of valid-lifetime is 2592000 seconds (30 days), the default value of

preferred-lifetime is 604800 seconds (7 days). off-link is off by default, no-autoconfig is off by

default.

Usage Guide:

This command allows controlling the router announcement parameters of every IPv6 prefix. Note

that valid lifetime and preferred lifetime must be configured simultaneously.

Example:

Configure IPv6 announcement prefix as 2001:410:0:1::/64 on Vlan1, the valid lifetime of this prefix

is 8640 seconds, and its preferred lifetime is 4320 seconds.

Advertising