20 ipv6 nd ra-hoplimit, 21 ipv6 nd ra-mtu – PLANET XGS3-24040 User Manual

Page 260

Advertising
background image

17-18

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.

Switch(Config-if-Vlan1)#ipv6 nd prefix 2001:410:0:1::/64 8640 4320

17.2.20 ipv6 nd ra-hoplimit

Command:

ipv6 nd ra-hoplimit <value>

Function:

Set the hoplimit of sending router advertisement.

Parameters:

<value> is the hoplimit of sending router advertisement, ranging from 1 to 255.

Command Mode

Interface Configuration Mode.

Default:

The default hoplimit of sending router advertisement is 64.

Example:

Set the hoplimit of sending router advertisement in interface vlan 1 as 128.

Switch#(Config-if-Vlan1)#ipv6 nd ra-hoplimit 128

17.2.21 ipv6 nd ra-mtu

Command:

ipv6 nd ra-mtu <value>

Function:

Set the mtu of sending router advertisement.

Parameters:

<value> is the mtu of sending router advertisement, ranging from 0 to 1500.

Command Mode

Interface Configuration Mode.

Default:

The default mtu of sending router advertisement is 1500.

Example:

Set the mtu of sending router advertisement in interface vlan 1 as 500.

Advertising