12-31
valid-lifetime
: Valid lifetime of a prefix in seconds, in the range of 0 to 4,294,967,295.
preferred-lifetime
: Preferred lifetime of a prefix used for stateless autoconfiguration in seconds, in the
range of 0 to 4,294,967,295.
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
: Specifies the address with the prefix not to be directly reachable on the link. If this keyword is
not provided, the address with the prefix is directly reachable on the link.
Description
Use the
ipv6 nd ra prefix
command to configure the prefix information in RA messages.
Use the
undo ipv6 nd ra prefix
command to remove the prefix information from RA messages.
By 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.
Examples
# Configure the prefix information for RA messages on VLAN-interface 100.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ipv6 nd ra prefix 2001:10::100/64 100 10
ipv6 nd ra router-lifetime
Syntax
ipv6 nd ra router-lifetime
value
undo ipv6 nd ra router-lifetime
View
Interface view
Default Level
2: System level
Parameters
value
: Router lifetime in seconds, in the range of 0 to 9,000. When it is set to 0, the AP does not serve as
the default router.
Description
Use the
ipv6 nd ra router-lifetime
command to configure the router lifetime in RA messages.
Use the
undo ipv6 nd ra router-lifetime
command to restore the default configuration.
By default, the router lifetime in RA messages is 1,800 seconds.
Note that the router lifetime in RA messages should be greater than or equal to the advertising interval.
Examples
# Set the router lifetime in RA messages on VLAN-interface 100 to 1,000 seconds.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ipv6 nd ra router-lifetime 1000