ipv6 nd prefix
18-18 IPv6 Configuration
ipv6 nd prefix
ThiscommandconfigurestheIPv6prefixestobeincludedinrouteradvertisementssentbythis
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
Defaults
•Valid‐lifetime—604800
• Preferred‐lifetime—2592000
• Autoconfig—enabled
•On‐link—enabled
Mode
Routerinterfaceconfiguration:G3(su)‐>router(Config‐if(Vlan1))#
ipv6‐prefix/prefix‐
length
TheIPv6networkprefixandtheprefixlengthbeingconfigured.
TheprefixmustbeintheformdocumentedinRFC4291,withthe
addressspecifiedinhexadecimalusing16‐bitvaluesbetweencolons.
Theprefixlengthisadecimalnumberindicatingthe
numberofhigh‐
ordercontiguousbitsoftheaddressthatcomprisethenetworkportion
oftheaddress.
valid‐lifetime|infinite (Optional)Specifiesthelengthoftimeinseconds(relativetothetime
thepacketissent)thattheprefixisvalidforthepurposeofon‐link
determination.
Thelifetimevalue
canrangefrom0to4,294,967,295.
Specifyinginfinitemeansthattheprefixisalwaysvalid.
preferred‐lifetime|
infinite
(Optional)Specifiesthelengthoftimeinseconds(relativetothetime
thepacketissent)thataddressesgeneratedfromtheprefixby meansof
statelessaddressautoconfigurationremainpreferred.
Thelifetimevalue
canrangefrom0to4,294,967,295.
Specifyinginfinitemeansthattheprefixisalwayspreferred.
no‐autoconfig Unsetstheautonomousaddress‐configurationflag.Whennotset,
meansthatthisprefixcannotbeusedforautonomousaddress
configuration.Bydefault,theautonomousaddress‐configurationflagis
set/enabled.
off‐link Unsetstheon‐linkflag.
Whennotset,meansthatthisprefixcannotbe
usedforon‐linkdetermination.Bydefault,theon‐linkflagisset/
enabled.