F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Command Reference-6PW100

Table Of Contents
718
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 the prefix information for RA messages on GigabitEthernet 0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet0/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.
Syntax
ipv6 nd ra router-lifetime value
undo ipv6 nd ra router-lifetime
Default
The router lifetime in RA messages is 1800 seconds.
Views
Interface view
Default command level
2: System level
Parameters
value: Router lifetime in seconds, in the range of 0 to 9000. When it is set to 0, the device does not serve
as the default router.
Usage guidelines
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 GigabitEthernet 0/1 to 1000 seconds.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet0/1] ipv6 nd ra router-lifetime 1000
ipv6 neighbor
Use ipv6 neighbor to configure a static neighbor entry.