Switch User Manual

ipv6 nd prefix
22-20 IPv6 Configuration
Parameters
Defaults
•Validlifetime604800
Preferredlifetime2592000
Autoconfigenabled
•Onlinkenabled
Mode
Routerinterfaceconfiguration:C3(su)>router(Configif(Vlan1))#
Usage
RefertoRFC2461, “NeighborDiscoveryforIPVersion6,”formoreinformationaboutrouter
advertisements.
Routeradvertisementscontainalistofprefixesusedforonlinkdeterminationand/or
autonomousaddressconfiguration.Flagsassociatedwiththeprefixesspecifytheintendedusesof
aparticularprefix.Hostsusetheadvertisedonlink
prefixestobuildandmaintainalistthatis
usedindecidingwhenapacket’sdestinationisonlinkorbeyondarouter.Hostscanusethe
advertisedautoconfiguration prefixestoperformautonomous(stateless)addressconfiguration,if
statelessconfigurationisallowed(seeipv6ndotherconfigflag).
Thenoform
ofthiscommandremovestheprefixfromthelistofprefixesadvertisedinrouter
advertisementsbythisinterface.
ipv6prefix/prefixlength TheIPv6networkprefixandtheprefixlengthbeingconfigured.
TheprefixmustbeintheformdocumentedinRFC4291,withthe
addressspecifiedinhexadecimalusing16bit
valuesbetweencolons.
Theprefixlengthisadecimalnumberindicatingthenumberofhigh
ordercontiguousbitsoftheaddressthatcomprisethenetworkportion
oftheaddress.
validlifetime|infinite (Optional)Specifiesthelengthoftimeinseconds(relativetothetime
thepacketissent)thattheprefix
isvalidforthepurpose ofonlink
determination.
Thelifetimevaluecanrangefrom0to4,294,967,295.
Specifyinginfinitemeansthattheprefixisalwaysvalid.
preferredlifetime|
infinite
(Optional)Specifiesthelengthoftimeinseconds(relativetothetime
thepacketissent)thataddressesgeneratedfromtheprefix
bymeansof
statelessaddressautoconfigurationremainpreferred.
Thelifetimevaluecanrangefrom0to4,294,967,295.
Specifyinginfinitemeansthattheprefixisalwayspreferred.
noautoconfig Unsetstheautonomousaddressconfigurationflag.Whennotset,
meansthatthisprefixcannotbeusedforautonomousaddress
configuration.Bydefault,theautonomous
addressconfigurationflagis
set/enabled.
offlink Unsetstheonlinkflag.Whennotset,meansthatthisprefixcannotbe
usedforonlinkdetermination.Bydefault,theonlinkflagisset/
enabled.