R2511-HP MSR Router Series Layer 3 - IP Services Command Reference(V5)

282
Default
The router lifetime in RA messages is 1800 seconds.
Views
Interface view
Default command level
2: System level
Parameters
value: Specifies the 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 Ethernet 1/1 to 1000 seconds.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/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: Specifies the IPv6 address of the static neighbor entry.
mac-address: Specifies the MAC address of the static neighbor entry (48 bits long in the format of
H-H-H).
vlan-id: Specifies the VLAN ID of the static neighbor entry, in the range of 1 to 4094.
port-type port-number: Specifies a Layer 2 port of the static neighbor entry by its type and number.
interface interface-type interface-number: Specifies a Layer 3 interface of the static neighbor entry by its
type and number.