172
View
System view
Default 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 1 to 4094.
port-type
port-number
: Specifies the type and number of a Layer 2 port of the static neighbor entry.
interface
interface-type interface-number
: Specifies the type and number of a Layer 3 interface of the
static neighbor entry.
Description
Use the
ipv6 neighbor
command to configure a static neighbor entry.
Use the
undo ipv6 neighbor
command to remove a static neighbor entry.
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 the INCMP state. After the switch obtains the
corresponding Layer 2 port information through resolution, the neighbor entry will go into the
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 switch will relate the VLAN interface with the IPv6 address to identify the static
neighbor entry uniquely and the entry will be in the REACH state.
To remove such a static neighbor entry, you only need to specify the corresponding VLAN interface and
the neighbor address.
Related commands:
display ipv6 neighbors
.
Examples
# Configure a static neighbor entry for Layer 2 port GigabitEthernet 1/0/1 of VLAN 100.
<Sysname> system-view
[Sysname] ipv6 neighbor 2000::1 fe-e0-89 100 GigabitEthernet 1/0/1
ipv6 neighbors max-learning-num
Syntax
ipv6 neighbors max-learning-num
number
undo ipv6 neighbors max-learning-num
View
Interface view
Default level
2: System level
Содержание A5120 EI Series
Страница 26: ...18 Sysname Vlan interface1 ip address 202 38 160 1 255 255 255 0 sub ...
Страница 83: ...75 Sysname Vlan interface1 ip address dhcp alloc ...
Страница 189: ...181 Sysname tcp ipv6 window 4 ...