Ipv6 Neighbor - H3C s3100 series Command Manual

Hide thumbs Also See for s3100 series:
Table of Contents

Advertisement

ipv6 neighbor

Syntax
ipv6 neighbor ipv6-address mac-address { vlan-id port-type port-number | interface interface-type
interface-number }
undo ipv6 neighbor ipv6-address interface-type interface-number
View
System view
Parameters
ipv6-address: IPv6 address in a static neighbor entry.
mac-address: Link layer address in a static neighbor entry (48 bits long, in the format of H-H-H).
vlan-id: VLAN ID corresponding to a static neighbor entry, in the range of 1 to 4094.
port-type port-number: Ethernet port type and port number corresponding to a static neighbor entry.
interface-type interface-number: VLAN interface type and interface number corresponding to a 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.
Note that:
You can configure a static neighbor entry in two ways:
Mapping a VLAN interface to an IPv6 address and a link-layer address. The entry state is INCMP.
After the switch get the layer 2 port information of the VLAN, the neighbor entry enters the REACH
state.
Mapping a Layer 2 port in a VLAN to an IPv6 address and a link-layer address. The Layer 2 port
specified by the port-type port-number argument must belong to the VLAN specified by the vlan-id
argument, and the corresponding VLAN interface must exist. After you carry out the command, the
device relates the VLAN interface to the IPv6 address to uniquely identify a static neighbor entry
which is in REACH state.
You only need to specify the corresponding VLAN interface when removing a static neighbor entry
related to that VLAN interface.
Related commands: display ipv6 neighbors.
Examples
# Configure a static neighbor entry for Ethernet 1/0/1 of VLAN 1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] ipv6 neighbor 2000::1 fe-e0-89 1 Ethernet 1/0/1
1-38

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents