ipv6 nd prefix
ipv6 nd prefix
This command configures the IPv6 prefixes to be included in router advertisements sent by this
interface.
Syntax
ipv6 nd prefix {ipv6-prefix/prefix-length} [{valid-lifetime | infinite}
{preferred-lifetime | infinite}] [no-autoconfig] [off-link]
no ipv6 nd prefix {ipv6-prefix/prefix-length}
Parameters
ipv6‐prefix/prefix‐
length
valid‐lifetime | infinite (Optional) Specifies the length of time in seconds (relative to the time
preferred‐lifetime |
infinite
no‐autoconfig
off‐link
Defaults
•
Valid‐lifetime — 604800
•
Preferred‐lifetime — 2592000
•
Autoconfig — enabled
•
On‐link — enabled
Mode
Router interface configuration:G3(su)‐>router(Config‐if (Vlan 1))#
18-18 IPv6 Configuration
The IPv6 network prefix and the prefix length being configured.
The prefix must be in the form documented in RFC 4291, with the
address specified in hexadecimal using 16‐bit values between colons.
The prefix length is a decimal number indicating the number of high‐
order contiguous bits of the address that comprise the network portion
of the address.
the packet is sent) that the prefix is valid for the purpose of on‐link
determination.
The lifetime value can range from 0 to 4,294,967,295.
Specifying infinite means that the prefix is always valid.
(Optional) Specifies the length of time in seconds (relative to the time
the packet is sent) that addresses generated from the prefix by means of
stateless address autoconfiguration remain preferred.
The lifetime value can range from 0 to 4,294,967,295.
Specifying infinite means that the prefix is always preferred.
Unsets the autonomous address‐configuration flag. When not set,
means that this prefix cannot be used for autonomous address
configuration. By default, the autonomous address‐configuration flag is
set/enabled.
Unsets the on‐link flag. When not set, means that this prefix cannot be
used for on‐link determination. By default, the on‐link flag is set/
enabled.