169
By default, RA messages contain the MTU option.
Examples
# Turn off the MTU option in RA messages on VLAN-interface 100.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ipv6 nd ra no-advlinkmtu
ipv6 nd ra prefix
Syntax
ipv6 nd ra prefix
{
ipv6-prefix
prefix-length
|
ipv6-prefix
/
prefix-length
}
valid-lifetime preferred-lifetime
[
no-autoconfig
|
off-link
] *
undo ipv6 nd ra prefix
ipv6-prefix
View
Interface view
Default level
2: System level
Parameters
prefix-length
: Specifies the prefix length of the IPv6 address.
ipv6-prefix
: Specifies the IPv6 address prefix.
valid-lifetime
: Specifies the valid lifetime of a prefix in seconds, in the range 0 to 4,294,967,295.
preferred-lifetime
: Specifies the preferred lifetime of a prefix used for stateless autoconfiguration in
seconds, in the range 0 to 4,294,967,295.
no-autoconfig
: Specifies a prefix not to be used for stateless autoconfiguration. If this keyword is not
provided, the prefix is used for stateless autoconfiguration.
off-link
: Indicates that the address with the prefix is not directly reachable on the link. If this keyword is
not provided, the address with the prefix is directly reachable on the link.
Description
Use the
ipv6 nd ra prefix
command to configure the prefix information in RA messages.
Use the
undo ipv6 nd ra prefix
command to remove the prefix information from RA messages.
By default, no prefix information is configured in RA messages and the IPv6 address of the interface
sending RA messages is used as the prefix information with valid lifetime 2592000 seconds (that is, 30
days) and preferred lifetime 604800 seconds (that is, 7 days).
Examples
# Configure the prefix information for RA messages on VLAN-interface 100.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ipv6 nd ra prefix 2001:10::100/64 100 10
Содержание 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 ...