304
Function:
Configure the address prefix and relative parameters for router announcement.
Parameter:
Parameter
<ipv6-prefix>
is the address prefix of the specified announcement,
parameter <
prefix-length>
is the length of the address prefix of the specified
announcement, parameter <
valid-lifetime>
is the valid lifetime of the prefix, parameter
<
preferred-lifetime>
is the preferred lifetime of the prefix, and the valid lifetime must be
no smaller than preferred lifetime. Parameter
no-autoconfig
says this prefix can not be
used to automatically configure IPv6 address on the host in local link. Parameter
off-link
says the prefix specified by router announcement message is not assigned to local link,
the node which sends data to the address including this prefix consider local link as
unreachable.
Command Mode:
Interface Configuration Mode
Default:
The default value of
valid-lifetime
is 2592000 seconds (30 days), the default
value of
preferred-lifetime
is 604800 seconds (7 days).
off-link
is off by default,
no-autoconfig
is off by default.
Usage Guide:
This command allows controlling the router announcement parameters of
every IPv6 prefix. Note that valid lifetime and preferred lifetime must be configured
simultaneously.
Example:
Configure IPv6 announcement prefix as 2001:410:0:1::/64 on Vlan1, the valid
lifetime of this prefix is 8640 seconds, and its preferred lifetime is 4320 seconds.
Switch (Config-if-Vlan1)#ipv6 nd prefix 2001:410:0:1::/64 8640 4320
10.2.3.2.11 ipv6 nd prefix
Command:ipv6 nd prefix <ipv6-prefix/prefix-length>
{ [
<valid-lifetime><preferred-lifetime>
]
[
no-autoconfig | off-link
[
no-autoconfig
] ]}
[no] ipv6 nd prefix <ipv6-prefix/prefix-length>
Function:
Configure the address prefix and relative parameters for router announcement.
Parameter:
Parameter
<ipv6-prefix>
is the address prefix of the specified announcement,
parameter <
prefix-length>
is the length of the address prefix of the specified
announcement, parameter <
valid-lifetime>
is the valid lifetime of the prefix, parameter
<
preferred-lifetime>
is the preferred lifetime of the prefix, and the valid lifetime must be
no smaller than preferred lifetime. Parameter
no-autoconfig
says this prefix can not be
used to automatically configure IPv6 address on the host in local link. Parameter
off-link
says the prefix specified by router announcement message is not assigned to local link,
the node which sends data to the address including this prefix consider local link as
unreachable.
Command Mode:
Interface Configuration Mode
Default:
The default value of
valid-lifetime
is 2592000 seconds (30 days), the default
value of
preferred-lifetime
is 604800 seconds (7 days).
off-link
is off by default,