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

Table Of Contents
719
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.
If the second method is used, the corresponding VLAN interface must exist and the port specified by
port-type port-number must belong to the VLAN specified by vlan-id. After the static neighbor entry
is configured, the device associates the VLAN interface with the IPv6 address to uniquely identify
the static neighbor entry and the entry is in REACH state.
To remove a static neighbor entry, you only need to specify the corresponding VLAN interface and the
neighbor address.
Examples
# Configure a static neighbor entry for Layer 3 interface GigabitEthernet 0/1.
<Sysname> system-view
[Sysname] ipv6 neighbor 2000::1 fe-e0-89 interface gigabitethernet 0/1
Related commands
display ipv6 neighbors
ipv6 neighbor stale-aging
Use ipv6 neighbor stale-aging to set the age timer for ND entries in stale state.