3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
856 CHAPTER 65: IPV6 BASICS CONFIGURATION COMMANDS
Note that the router lifetime in RA messages should be greater than or equal to
the advertising interval.
Example # Set the router lifetime in RA messages on Ethernet1/0 to 1,000 seconds.
<Sysname> system-view
[Sysname] interface ethernet 1/0
[Sysname-Ethernet1/0] ipv6 nd ra router-lifetime 1000
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
Parameter 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 in a static neighbor entry, in the range of 1 to 4094.
port-type port-number: Type and number of a Layer 2 port in a static neighbor
entry.
interface interface-type interface-number: Type and number of a Layer 3 interface
in 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 adopt the IPv6 address and link layer address of the Layer 3
VLAN interface or those of the VLAN port to configure a static neighbor entry.
If a static neighbor entry is configured by using the first method, the neighbor
entry is in the INCMP state. After the device obtains the corresponding Layer 2
VLAN port information through resolution, the neighbor entry will go into the
REACH state.
If a static neighbor entry is configured by using the second method, 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 a static
neighbor entry is configured, the device will relate the VLAN interface with the
IPv6 address to identify a static neighbor entry uniquely and the entry will be in
the REACH state.
You only need to specify the corresponding VLAN interface before removing a
static neighbor entry.