H3C Technologies H3C S12500 Series Switches User Manual

Page 161

Advertising
background image

147

Step Command

Remarks

3.

Enter interface view.

interface interface-type
interface-number

N/A

4.

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 ] *

Optional.
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

with valid lifetime 2592000 seconds (30
days) and preferred lifetime 604800

seconds (7 days).

5.

Turn off the MTU option in
RA messages.

ipv6 nd ra no-advlinkmtu

Optional.
By default, RA messages contain the MTU
option.

6.

Set the M flag bit to 1.

ipv6 nd autoconfig
managed-address-flag

Optional.
By default, the M flag bit is set to 0. Hosts
acquire IPv6 addresses through stateless

autoconfiguration.

7.

Set the O flag bit to 1.

ipv6 nd autoconfig other-flag

Optional.
By default, the O flag bit is set to 0. Hosts
acquire other configuration information

through stateless autoconfiguration.

8.

Configure the router
lifetime in RA messages.

ipv6 nd ra router-lifetime
value

Optional.
1800 seconds by default.

9.

Set the NS retransmission

timer.

ipv6 nd ns retrans-timer
value

Optional.
By default, the local interface sends NS
messages at 1000 millisecond intervals,

and the value of the Retrans Timer field in

RA messages sent by the local interface is
0.

10.

Set the reachable time.

ipv6 nd nud reachable-time
value

Optional.
By default, the neighbor reachable time on
the local interface is 30000 milliseconds,

and the value of the Reachable Time field in

the RA messages sent by the local interface
is 0.

NOTE:

The maximum interval for sending RA messages should be less than or equal to the router lifetime in RA
messages, so that the router can be updated through an RA message before expiration.

The values of the NS retransmission timer and the reachable time configured for an interface are sent to
hosts through RA messages. Furthermore, this interface sends NS messages at the interval of the NS
retransmission timer and considers a neighbor reachable within the reachable time.

Advertising