Switch User Manual
ipv6 nd prefix
22-20 IPv6 Configuration
Parameters
Defaults
•Valid‐lifetime—604800
• Preferred‐lifetime—2592000
• Autoconfig—enabled
•On‐link—enabled
Mode
Routerinterfaceconfiguration:C3(su)‐>router(Config‐if(Vlan1))#
Usage
RefertoRFC2461, “NeighborDiscoveryforIPVersion6,”formoreinformationaboutrouter
advertisements.
Routeradvertisementscontainalistofprefixesusedforon‐linkdeterminationand/or
autonomousaddressconfiguration.Flagsassociatedwiththeprefixesspecifytheintendedusesof
aparticularprefix.Hostsusetheadvertisedon‐link
prefixestobuildandmaintainalistthatis
usedindecidingwhenapacket’sdestinationison‐linkorbeyondarouter.Hostscanusethe
advertisedautoconfiguration prefixestoperformautonomous(stateless)addressconfiguration,if
statelessconfigurationisallowed(seeipv6ndother‐config‐flag).
Thenoform
ofthiscommandremovestheprefixfromthelistofprefixesadvertisedinrouter
advertisementsbythisinterface.
ipv6‐prefix/prefix‐length TheIPv6networkprefixandtheprefixlengthbeingconfigured.
TheprefixmustbeintheformdocumentedinRFC4291,withthe
addressspecifiedinhexadecimalusing16‐bit
valuesbetweencolons.
Theprefixlengthisadecimalnumberindicatingthenumberofhigh‐
ordercontiguousbitsoftheaddressthatcomprisethenetworkportion
oftheaddress.
valid‐lifetime|infinite (Optional)Specifiesthelengthoftimeinseconds(relativetothetime
thepacketissent)thattheprefix
isvalidforthepurpose ofon‐link
determination.
Thelifetimevaluecanrangefrom0to4,294,967,295.
Specifyinginfinitemeansthattheprefixisalwaysvalid.
preferred‐lifetime|
infinite
(Optional)Specifiesthelengthoftimeinseconds(relativetothetime
thepacketissent)thataddressesgeneratedfromtheprefix
bymeansof
statelessaddressautoconfigurationremainpreferred.
Thelifetimevaluecanrangefrom0to4,294,967,295.
Specifyinginfinitemeansthattheprefixisalwayspreferred.
no‐autoconfig Unsetstheautonomousaddress‐configurationflag.Whennotset,
meansthatthisprefixcannotbeusedforautonomousaddress
configuration.Bydefault,theautonomous
address‐configurationflagis
set/enabled.
off‐link Unsetstheon‐linkflag.Whennotset,meansthatthisprefixcannotbe
usedforon‐linkdetermination.Bydefault,theon‐linkflagisset/
enabled.