R3303-HP HSR6800 Routers Layer 3 - IP Services Command Reference

Table Of Contents
212
<Sysname> system-view
[Sysname] interface GigabitEthernet 3/1/1
[Sysname-GigabitEthernet3/1/1] ipv6 nd ra no-advlinkmtu
ipv6 nd ra prefix
Use ipv6 nd ra prefix to configure the prefix information in RA messages.
Use undo ipv6 nd ra prefix to remove the prefix information from RA messages.
Syntax
ipv6 nd ra prefix { ipv6-prefix prefix-length | ipv6-prefix/prefix-length } valid-lifetime preferred-lifetime
[ no-autoconfig | off-link ] *
undo ipv6 nd ra prefix { ipv6-prefix | ipv6-prefix/prefix-length }
Default
No prefix information is configured in 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).
Views
Interface view
Default command level
2: System level
Parameters
ipv6-prefix: IPv6 prefix.
prefix-length: Prefix length of the IPv6 address.
valid-lifetime: Valid lifetime of a prefix in seconds, in the range of 0 to 4294967295.
preferred-lifetime: Preferred lifetime of a prefix used for stateless autoconfiguration in seconds, in the
range of 0 to 4294967295.
no-autoconfig: Specifies a prefix not to be used for stateless autoconfiguration. If this keyword is not
provided, the prefix is used for stateless autoconfiguration.
off-link: Indicates that the address with the prefix is not directly reachable on the link. If this keyword is
not provided, the address with the prefix is directly reachable on the link.
Examples
# Configure prefix information for RA messages on GigabitEthernet 3/1/1.
<Sysname> system-view
[Sysname] interface GigabitEthernet 3/1/1
[Sysname-GigabitEthernet3/1/1] ipv6 nd ra prefix 2001:10::100/64 100 10
ipv6 nd ra router-lifetime
Use ipv6 nd ra router-lifetime to configure the router lifetime in RA messages.
Use undo ipv6 nd ra router-lifetime to restore the default.