Command Manual – IPv6 Configuration
H3C S7500E Series Ethernet Switches
Chapter 1 IPv6 Basics Configuration Commands
1-35
Parameters
value
: Router lifetime in seconds, in the range of 0 to 9,000. When it is set to 0, the
device does not serve as the default router.
Description
Use the
ipv6 nd ra router-lifetime
command to configure the router lifetime in RA
messages.
Use the
undo ipv6 nd ra router-lifetime
command to restore the default configuration.
By default, the router lifetime in RA messages is 1,800 seconds.
Note that 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 VLAN-interface 100 to 1,000 seconds.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ipv6 nd ra router-lifetime 1000
1.1.33 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 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.