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

Table Of Contents
213
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 3/1/1 to 1000 seconds.
<Sysname> system-view
[Sysname] interface GigabitEthernet 3/1/1
[Sysname-GigabitEthernet3/1/1] ipv6 nd ra router-lifetime 1000
ipv6 neighbor
Use ipv6 neighbor to configure a static neighbor entry.
Use undo ipv6 neighbor to remove a static neighbor entry.
Syntax
ipv6 neighbor ipv6-address mac-address { vlan-id port-type port-number | interface interface-type
interface-number } [ vpn-instance vpn-instance-name ]
undo ipv6 neighbor ipv6-address interface-type interface-number
undo ipv6 neighbor ipv6-address mac-address { vlan-id port-type port-number | interface interface-type
interface-number } [ vpn-instance vpn-instance-name ]
Views
System view
Default command level
2: System level
Parameters
ipv6-address: IPv6 address of the static neighbor entry.
mac-address: MAC address of the static neighbor entry (48 bits long in the format of H-H-H).
vlan-id: VLAN ID of the static neighbor entry, in the range of 1 to 4094. The vlan-id option is supported
by HSR6802/HSR6804/HSR6808 configured with SAP modules that operate in bridge mode.