HP VPN Firewall Appliances Network Management Command Reference

720
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.
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.
port-type port-number: Type and number of a Layer 2 port of the static neighbor entry.
interface interface-type interface-number: Type and number of a Layer 3 interface of the static neighbor
entry.
vpn-instance vpn-instance-name: Specifies the VPN to which the static neighbor entry belongs. The
vpn-instance-name argument is a case-sensitive string of 1 to 31 characters. If the static neighbor entry
is for the public network, do not specify this option.
Usage guidelines
You can use a Layer 3 VLAN interface or a Layer 2 port in the VLAN to configure a static neighbor entry.
If the first method is used, the neighbor entry is in INCMP state. After the device obtains the
corresponding Layer 2 port information, the neighbor entry goes into REACH state.