beautypg.com

Enabling sending of ra messages, Configuring parameters for ra messages – H3C Technologies H3C S5560 Series Switches User Manual

Page 168

background image

153

Parameter Description

Router Preference

Specifies the router preference in a RA message. A host selects a router as the
default gateway according to the router preference. If router preferences are the
same, the host selects the router from which the first RA message is received.

The maximum interval for sending RA messages should be less than (or equal to) the router lifetime in RA

messages so the router can be updated by an RA message before expiration.
The values of the NS retransmission timer and the reachable time configured for an interface are sent in

RA messages to hosts. This interface sends NS messages at the interval of the NS retransmission timer
and considers a neighbor reachable within the reachable time.

Enabling sending of RA messages

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter interface view.

interface interface-type
interface-number

N/A

3.

Enable sending of RA

messages.

undo ipv6 nd ra halt

The default setting is disabled.

4.

Configure the maximum and
minimum intervals for sending

RA messages.

ipv6 nd ra interval
max-interval-value
min-interval-value

By default, the maximum interval
for sending RA messages is 600
seconds, and the minimum interval

is 200 seconds.
The device sends RA messages at

random intervals between the
maximum interval and the

minimum interval.
The minimum interval should be

less than or equal to 0.75 times the
maximum interval.

Configuring parameters for RA messages

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter interface view.

interface interface-type
interface-number

N/A

3.

Configure the prefix

information in RA
messages.

ipv6 nd ra prefix { ipv6-prefix
prefix-length |

ipv6-prefix/prefix-length }

valid-lifetime preferred-lifetime
[ no-autoconfig | off-link ] *

By default, no prefix information is
configured for RA messages, and the

IPv6 address of the interface sending RA

messages is used as the prefix
information. If the IPv6 address is

manually configured, the prefix uses a

fixed valid lifetime of 2592000 seconds

(30 days) and a preferred lifetime of
604800 seconds (7 days). If the IPv6

address is automatically obtained, the

prefix uses the valid lifetime and
preferred lifetime configured for the IPv6

address.

This manual is related to the following products: