ZXR10T600/T1200
CarrierClassHigh-EndRouter
User Manual (IPv6 Volume)
Version2.8.30
ZTECORPORATION
ZTEPlaza,KejiRoadSouth,
Hi-TechIndustrialPark,
NanshanDistrict,Shenzhen,
P .R.China
518057
Tel:(86)75526771900
Fax:(86)75526770801
URL:http://ensupport.zte.com.cn
E-mail:support@zte.com.cn
LEGALINFORMATION
Copyright©2006ZTECORPORATION.
Thecontentsofthisdocumentareprotectedbycopyrightlawsandinternationaltreaties.Anyreproductionordistributionof
thisdocumentoranyportionofthisdocument,inanyformbyanymeans,withoutthepriorwrittenconsentofZTECORPORATIONisprohibited.Additionally,thecontentsofthisdocumentareprotectedbycontractualcondentialityobligations.
Allcompany ,brandandproductnamesaretradeorservicemarks,orregisteredtradeorservicemarks,ofZTECORPORATION
oroftheirrespectiveowners.
Thisdocumentisprovided“asis”,andallexpress,implied,orstatutorywarranties,representationsorconditionsaredisclaimed,includingwithoutlimitationanyimpliedwarrantyofmerchantability ,tnessforaparticularpurpose,titleornon-infringement.ZTECORPORATIONanditslicensorsshallnotbeliablefordamagesresultingfromtheuseoforrelianceonthe
informationcontainedherein.
ZTECORPORATIONoritslicensorsmayhavecurrentorpendingintellectualpropertyrightsorapplicationscoveringthesubject
matterofthisdocument.ExceptasexpresslyprovidedinanywrittenlicensebetweenZTECORPORATIONanditslicensee,
theuserofthisdocumentshallnotacquireanylicensetothesubjectmatterherein.
ZTECORPORATIONreservestherighttoupgradeormaketechnicalchangetothisproductwithoutfurthernotice.
UsersmayvisitZTEtechnicalsupportwebsitehttp://ensupport.zte.com.cntoinquirerelatedinformation.
TheultimaterighttointerpretthisproductresidesinZTECORPORATION.
RevisionHistory
RevisionNo. RevisionDate RevisionReason
R1.0 Mar .20,2010
FirstEdition
SerialNumber:SJ-20100316150743-004
Contents
AboutThisManual..............................................i
SafetyInstruction.............................................1
SafetyInstruction...........................................................1
SafetySigns..................................................................1
IPv6BasicConguration...................................3
IPv6AddressOverview....................................................3
AddressClassication..................................................5
AddressExpressionWay.............................................13
IPv6AddressAutoCongurationT echnology.................15
ConguringIPv6Address................................................16
ConguringIPv6AddressMaintenanceandDiagnosis.........17
IPv6AddressCongurationExamples...............................18
IPv6NeighborDiscoveryProtocol
Conguration..................................................19
IPv6NDPOverview........................................................19
ConguringIPv6NDP.....................................................22
ConguringIPv6NDPMaintenanceandDiagnosis..............23
IPv6NDPCongurationExamples....................................23
IPv6StaticRouteConguration......................25
IPv6StaticRouteOverview.............................................25
ConguringIPv6StaticRoute.........................................25
IPv6StaticRouteCongurationExample..........................26
RIPngConguration........................................27
RIPngOverview.............................................................27
RIPngBasicConguration...............................................29
EnablingRIPng..........................................................29
ConguringEnhancedRIPng.......................................29
ConguringRIPngMaintenanceandDiagnosis...................30
RIPngCongurationExample..........................................30
OSPFv3Conguration......................................33
OSPFv3Overview..........................................................33
IntroductiontoOSPFv3..............................................33
DifferencesbetweenOSPFv3andOSPFv2.....................33
LSAT ype..................................................................35
OSPFv3BasicConguration............................................36
EnablingOSPFv3.......................................................36
ConguringOSPFv3InterfaceAttributes.......................37
ConguringOSPFv3ProtocolAttributes........................38
ConguringOSPFv3MaintenanceandDiagnosis................39
OSPFv3CongurationExample........................................40
IS-ISv6Conguration.....................................43
IS-ISv6Overview..........................................................43
IS-ISv6BasicConguration............................................44
EnablingIS-ISv6.......................................................44
ConguringIS-ISv6GlobalParameters.........................44
ConguringIS-ISv6InterfaceParameters.....................46
ConguringIS-ISv6MaintenanceandDiagnosis................48
IS-ISv6CongurationExamples......................................49
SingleAreaIS-ISv6CongurationExample...................49
MultiAreaIS-ISv6CongurationExample.....................50
BGP4+Conguration.......................................53
BGP4+Overview...........................................................53
BGP4+BasicConguration.............................................54
EnablingBGP4+........................................................54
ConguringBGP4+RouteAdvertisement......................55
ConguringBGP4+AggregationAdvertisement.............55
ConguringEBGPMultihop..........................................56
FilteringRoutesUsingRouteMap.................................57
ConguringBGPRoutingMode...................................58
ConguringIPv6AddressFamilyMode.........................60
ConguringBGP4+MaintenanceandDiagnosis.................61
BGP4+CongurationExample.........................................62
IPv6TunnelConguration...............................65
IPv6T unnelOverview.....................................................65
IPv6T unnelT echnology..............................................65
IPv6/IPv4DualStackT echnology.................................67
NetworkAddressTranslationT echnology.......................67
ConguringIPv6Tunnel..................................................68
ConguringIPv6TunnelMaintenanceandDiagnosis...........69
IPv6T unnelCongurationExample..................................69
Figures............................................................71
Tables.............................................................73
ListofGlossary................................................75
PrerequisiteSkill
andKnowledge
WhatIsinThis
AboutThisManual
PurposeThismanualprovidesproceduresandguidelinesthatsupportthe
operationonZTEZXR10T600/T1200routers.
Intended
Audience
Manual
Thismanualisintendedforengineersandtechnicianswhoperform
operationactivitiesonZTErouters.
Tousethismanualeffectively,usersshouldhaveageneralunderstandingofOSIModel.Familiaritywiththefollowingishelpful:
�Protocols
�Routingconceptsanddatacommunicationterms
Thismanualcontainsthefollowingchapters:
Chapter
Chapter1,SafetyInstruction Describesthesafetyinstructions
Chapter2,IPv6Basic
Conguration
Chapter3,IPv6Neighbor
DiscoveryProtocolConguration
Chapter4,IPv6StaticRoute
Conguration
Chapter5,RIPngConguration
Chapter6,OSPFv3Conguration
Chapter7,IS-ISv6Conguration
Summary
andsigns.
Describesthebasicconguration
ofIPv6addressonZXR10
T600/T1200.
DescribesNDPanditsrelevant
congurationonZXR10
T600/T1200.
DescribesIPv6staticrouteandits
relevantcongurationonZXR10
T600/T1200.
DescribesRIPngprotocolandits
relevantcongurationonZXR10
T600/T1200.
DescribesOSPFv3protocolandits
relevantcongurationonZXR10
T600/T1200.
DescribesIS-ISv6protocolandits
relevantcongurationonZXR10
T600/T1200.
Chapter8,BGP4+Conguration
Chapter9,IPv6Tunnel
Conguration
Documentation
Related
Thefollowingdocumentationisrelatedtothismanual:
�ZXR10T600/T1200(V2.8.30)CarrierClassHigh-EndRouter
DescribesBGPprotocolandits
relevantcongurationonZXR10
T600/T1200.
DescribesIPv6transition
technologyandtunnel,as
wellastherelatedconguration
onZXR10T600/T1200.
HardwareInstallationManual
CondentialandProprietaryInformationofZTECORPORA TION i
ZXR10T600/T1200UserManual(IPv6Volume)
�ZXR10T600/T1200(V2.8.30)CarrierClassHigh-EndRouter
HardwareManual
�ZXR10T600/T1200(V2.8.30)CarrierClassHigh-EndRouter
UserManual(BasicCongurationVolume)
�ZXR10T600/T1200(V2.8.30)CarrierClassHigh-EndRouter
UserManual(IPv4RoutingVolume)
�ZXR10T600/T1200(V2.8.30)CarrierClassHigh-EndRouter
UserManual(MPLSVolume)
�ZXR10T600/T1200(V2.8.30)CarrierClassHigh-EndRouter
CommandManual(BasicCongurationVolumeI)
�ZXR10T600/T1200(V2.8.30)CarrierClassHigh-EndRouter
CommandManual(BasicCongurationVolumeII)
�ZXR10T600/T1200(V2.8.30)CarrierClassHigh-EndRouter
CommandManual(BasicCongurationVolumeIII)
�ZXR10T600/T1200(V2.8.30)CarrierClassHigh-EndRouter
CommandManual(EthernetSwitchingVolume)
�ZXR10T600/T1200(V2.8.30)CarrierClassHigh-EndRouter
CommandManual(IPv4RoutingVolumeI)
�ZXR10T600/T1200(V2.8.30)CarrierClassHigh-EndRouter
CommandManual(IPv4RoutingVolumeII)
�ZXR10T600/T1200(V2.8.30)CarrierClassHigh-EndRouter
CommandManual(IPv6Volume)
�ZXR10T600/T1200(V2.8.30)CarrierClassHigh-EndRouter
CommandManual(MulticastVolume)
�ZXR10T600/T1200(V2.8.30)CarrierClassHigh-EndRouter
CommandManual(MPLSVolume)
�ZXR10T600/T1200(V2.8.30)CarrierClassHigh-EndRouter
CommandManual(NetworkManagementVolume)
�ZXR10T600/T1200(V2.8.30)CarrierClassHigh-EndRouter
CommandManual(QoSVolume)
�ZXR10T600/T1200(V2.8.30)CarrierClassHigh-EndRouter
CommandManual(RemoteAccessVolume)
�ZXR10T600/T1200(V2.8.30)CarrierClassHigh-EndRouter
CommandManual(SecurityVolume)
�ZXR10T600/T1200(V2.8.30)CarrierClassHigh-EndRouter
CommandManual(VoiceandVideoServiceVolume)
ii CondentialandProprietaryInformationofZTECORPORATION
Chapter1
SafetyInstruction
TableofContents
SafetyInstruction...............................................................1
SafetySigns......................................................................1
SafetyInstruction
Onlydulytrainedandqualiedpersonnelcaninstall,operateand
maintainthedevices.
Duringthedeviceinstallation,operationandmaintenance,please
abidebythelocalsafetyspecicationsandrelatedoperationinstructions,otherwisephysicalinjurymayoccurordevicesmaybe
broken.Thesafetyprecautionsmentionedinthismanualareonly
supplementoflocalsafetyspecications.
Thedebugcommandsonthedeviceswillaffecttheperformance
ofthedevices,whichmaybringseriousconsequences.Sotake
caretousedebugcommands.Especially ,thedebugallcom-
mandwillopenalldebugprocesses,sothiscommandmustnot
beusedonthedeviceswithservices.Itisnotrecommendedto
usethedebugcommandswhentheusernetworksareinnormal
state.
ZTECorporationwillassumenoresponsibilityforconsequencesresultingfromviolationofgeneralspecicationsforsafetyoperations
orofsafetyrulesfordesign,productionanduseofthedevices.
SafetySigns
Thecontentsthatusersshouldpayattentiontowhentheyinstall,
operateandmaintaindevicesareexplainedinthefollowingformats:
CondentialandProprietaryInformationofZTECORPORATION 1
ZXR10T600/T1200UserManual(IPv6Volume)
Indicatesthemattersneedingcloseattention.Ifthisisignored,
seriousinjuryaccidentsmayhappenordevicesmaybedamaged.
Indicatesthemattersneedingattentionduringconguration.
Note:
Indicatesthedescription,hint,tip,andsoonforcongurationoperations.
Warning:
Caution:
2 CondentialandProprietaryInformationofZTECORPORATION
Chapter2
IPv6BasicConfiguration
TableofContents
IPv6AddressOverview........................................................3
ConguringIPv6Address....................................................16
ConguringIPv6AddressMaintenanceandDiagnosis.............17
IPv6AddressCongurationExamples...................................18
IPv6AddressOverview
IPversion6isanewIPprotocol,designedtoreplaceIPversion4,
theInternetprotocolthatispredominantlydeployedandextensivelyusedthroughouttheworld.
However ,theoriginaldesigndidnotanticipatethefollowingconditions:
�RecentexponentialgrowthoftheInternetandtheimpending
exhaustionoftheIPv4addressspace.
�GrowthoftheInternetandtheabilityofInternetbackbone
routerstomaintainlargeroutingtables.
�Needforsimplerautocongurationandrenumbering.
�RequirementforsecurityattheIPlevel.
�Needforbettersupporttoreal-timedeliveryofdata—also
calledqualityofservice(QoS ).
Note:
FeaturessuchasIPSecurity(IPSec)andQoShavebeenspecied
forbothversionsofIP .
IPv6featuresahugeaddresscapacityupto128bits,whichis
describedasbelow:
�Itprovides2128differentIPv6addresses,thatis,the
numberoftheallocableaddressesaroundtheworldis
340,282,366,920,938,463,463,374,607,431,768,211,456.
�Itprovides2.2×10
catedbasedongroundarea.
ThefollowingaredifferencesbetweenIPv4andIPv6inheader
format.
CondentialandProprietaryInformationofZTECORPORATION 3
20
addressespercm
2
ifaddressesareallo-
ZXR10T600/T1200UserManual(IPv6Volume)
Table1andTable2aretheheaderformatsofIPv4andIPv6re-
spectively.(Numbersinthetablesrefertobitnumbers.)
TABLE1IPV 4HEADERFORMAT
4-Version 4–Header
Length
16–Identier
8–TimetoLive(TTL)
32-SourceAddress
32-DestinationAddress
24–Options
TABLE2IPV 6HEADERFORMAT
4-Version 4–Priority24–FlowLabel
16–PayloadLength
128-SourceAddress
8-Service
Type
8–T ransmissionProtocol
16-DataPacketLength
4–Flags
16–HeaderChecksum
8–Next
Header
12Fragmented
Offset
8-Padding
8–HOP
Limit
128-DestinationAddress
IPv6headerissimplerthanIPv4headerinstructurebecausemany
eldsinIPv4headerthatarenotfrequentlyusedaredeletedfrom
IPv6header ,andputintoitsoptionsandheaderextension,which
aredenedmorestrictly .
�IPv4containsteneldswithxedlength,twoaddressspaces
andsomeoptions,whileIPv6containsonlysixeldsandtwo
addressspaces.
�AlthoughIPv6headeroccupies40bytes,whichis1.6times
ofIPv4headerwith24-bytes,itdoesnotconsumetoomuch
memorycapacityduetoitsxedlength(thelengthoftheIPv4
headerisvariable).
�ThefollowingsixeldsaredeletedfromIPv4header:header
length,typeofservice,identier ,ags,fragmentedoffsets
andheaderchecksum. Namesandsomefunctionsofthe
threeeldsoftotallength,protocolandTimetoLive(TTL )
arechanged,anditsoptionalfunctionsiscompletelychanged.
Apartfromthis,twoeldsareadded:priorityandowlabel.
�IPv6headerformatisgreatlysimplied,whicheffectivelypares
downoverheadofprocessingheaderbyarouterorswitch.At
thesametime,IPv6enhancesthesupporttotheextension
headerandoptions,whichnotonlyallowsmoreefcientforwarding,butalsoprovidessufcientsupportsforfutureload
ofnewapplicationstonetworks.EachIPv6packetcanhave0,
4 CondentialandProprietaryInformationofZTECORPORATION
Chapter2IPv6BasicConguration
1ormoreextensionheaders.Eachextensionheaderisdeterminedbythe“nextheader”domainofthepreviousheader .
AddressClassification
RFC2373containsa“map”ofIPv6addressspace,whichdescribes
howtheaddressspaceisallocated,thedifferenttypesofaddress
allocation,theprexes(thestartingfewbitsinaddressallocation)
andthelengthofaddressallocation,whichisapartofthewhole
addressspace.T able3showsallocationofIPv6addressspace.
TABLE3IPV 6ADDRESSSPACE
Allocation
Reserved
Unallocated
ReservedforNSAP
allocation
ReservedforIPX
allocation
Unallocated
Unallocated
Unallocated
aggregatableglobal
unicastaddress
Unallocated
Prex FractionofAddress
00000000
00000001
0000001
0000010
0000011
00001
0001
001[2,3] 1/8
010
Space
1/256
1/256
1/128
1/128
1/128
1/32
1/32
1/8
Unallocated
Unallocated
Unallocated
Unallocated
Unallocated
Unallocated
Unallocated
Unallocated
CondentialandProprietaryInformationofZTECORPORATION 5
011
100
101
110
1110
11110
111110
1111110
1/8
1/8
1/8
1/8
1/16
1/32
1/64
1/128
ZXR10T600/T1200UserManual(IPv6Volume)
Allocation
Unallocated
Linklocalunicast
address
Sitelocalunicast
address
Multicastaddress 11111111[FF] 1/256
Prex FractionofAddress
111111100
1111111010[FE8] 1/1024
1111111011[FEC] 1/1024
Space
1/512
Note:
Thehexnumberinthe[]inthistablereferstothestartingand
endinghexnumbersofthecorrespondingaddress.
BroadcastaddressinIPv6isnotvalidanymore.RFC2373denes
threetypesofIPv6address:
�Unicast
Itistheidentierofasingleinterface.Thepacketssenttoa
unicastaddresswillbetransmittedtotheinterfacewiththis
addressidentier.
�Multicast
Itistheidentierofagroupofinterfaces.Theseinterfaces
belongtodifferentnodes.Thepacketssenttoamulticastaddresswillbetransmittedtoalltheinterfaceswiththisaddress
identier .
�Anycast
Itistheidentierofagroupofinterfaces.Theseinterfacesbelongtodifferentnodes.Thepacketssenttoananycastaddress
willbetransmittedtoaninterfacewiththisaddressidentier
(selectingthenearestonebycalculatingthedistancebasedon
routingprotocol).
AnIPv6unicastaddresscanberegardedasanentitywithtwo
elds.Oneeldisusedtoidentifynetworksandtheotherisused
toidentifyinterfacesofnodesonthisnetwork.Inthesubsequent
descriptionofthespecicunicastaddresstypes,theuserwillnd
thatthenetworkidentiercanbedividedintoseveralparts,each
ofwhichidentiesdifferentnetworkpart.
�UnicastAddress
FunctionsofanIPv6unicastaddressaresubjecttoClassless
InterInter-DomainRouting(CIDR ),whichisthesameasthat
ofanIPv4address.Thatis,anaddressisdividedintotwo
partsuponaspecicboundary.Thehighbitpartofanaddress
includesprexeforroutingandthelowbitpartincludesidentiersofnetworkinterfaces.
6 CondentialandProprietaryInformationofZTECORPORATION
Chapter2IPv6BasicConguration
IntheIPv6addressingsystemstructure,anyIPv6unicastaddressrequiresaninterfaceidentier .Aninterfaceidentier
isverysimilartothe48-bitMediaAccessControl(MAC )address.TheMACaddressesareencodedthroughhardwareina
networkinterfacecard.Theyareburnedbythemanufacturer
intoanetworkinterfacecardandaregloballyunique.There
arenotwonetworkinterfacecardswithanidenticalMACaddress.Suchaddressescanbeusedtouniquelyidentifythe
interfacesatthenetworklink-layer .
TheinterfaceidentierofanIPv6hostaddressisbasedon
theIEEEEUI-64format,whichcreatesalocallyandglobally
unique64-bitinterfaceidentierbasedontheexistingMAC
addresses.TheappendixattachedtotheRFC2373describes
howtocreateinterfaceidentiers.
These64-bitinterfaceidentierscanaddressonebyonegloballyandcanuniquelyidentifytheinterfaceofeachnetwork.
Thismeansthat,intheory,thereareupto264differentphysicalinterfacesandabout1.8x1019differentaddresses,which,
however ,onlyoccupyhalfoftheIPv6addressspace.Itis
enoughintheforeseeablefutureatleast.
TheIPv6unicastaddresscanbeclassiedintothefollowing
categories:
�AggregatableGlobalUnicastAddress
Thisisanotherkindofaggregation,whichisindependentof
InternetServiceProvider(ISP ).Theprovider-basedaggregatetiveaddressesmustbechangedasaproviderchanges,
whiletheexchange-basedaddressesaredirectlylocatedby
anIPv6switchingentity.Theexchangeprovidesaddress
blocks,andusersandprovidersconcludecontractsforthe
networkaccess.
Suchnetworkaccessiseitherdirectlyprovidedbya
provider ,orindirectlyprovidedbyanexchange.However ,
theroutingisthroughtheexchange.Inthisway ,auser
needsnottoaddressagainwhenitchangesaprovider .At
thesametime,usersareallowedtousemultipleISPsto
processsingle-blocknetworkaddress.
Aggregatableglobalunicastaddressesincludealltheaddresseswhosethreestartingbitsare001,whichcanbe
usedasprexesforotherunallocatedunicast.Formatthe
addressesintotheeldsasshowninT able4
.
TABLE4AGGREGATABLEGLOBALUNICASTADDRESSFIELDS
3 13 8 24 16 64
FP TLA
ID
RES
NLA
ID
SIA
ID
Interfaceidentier
Thetableincludesthefollowingelds.
– FPeld
Thisisthe3-bitformatprexinanIPv6address,indicatingtowhichaddresscategoryintheIPv6address
spacethisaddressbelongs.Currently,theeldis001,
CondentialandProprietaryInformationofZTECORPORATION 7
ZXR10T600/T1200UserManual(IPv6Volume)
�SpecialAddress&ReservedAddress
indicatingthisistheaggregatableglobalunicastaddress.
– TLAIDeld
Thisisthetop-levelaggregationidentier ,includingthe
routinginformationabouttheaddressesatthehighest
level.Here,itreferstotheroutinginformationwiththe
mosthostsinnetworkinterconnection.Currently ,this
eldis13-bitandcanobtainatmost8,192different
toplevelroutes.
– RESeld
Thisisan8-biteldandreservedforfutureuse.Itis
likelytobeusedforextendingthetop-ornext-level
aggregationidentiereld.
– NLAIDeld
Thisisthenext-levelaggregationidentierwith24-bit.
Thisidentierareusedbysomeinstitutions(including
large-sizeISPsandotherinstitutionsthatprovidepublic
networkaccess)tocontrolthetop-levelaggregationfor
addressspacearrangement.
Suchinstitutionscandividethis24-biteldforuseinaccordancewiththeirownaddressinghierarchicalstructures.
Inthisway ,anentitycandividetwobitsofaddressspace
intofourinternaltop-levelroutes,andallocatetheother
22bitsofaddressspacetootherentities(forexample,a
smalllocalISP).
Whentheseentitiesobtainenoughaddressspace,theycan
subdividetheobtainedspaceinthesamewayasmentioned
above.
– SLAIDeld
Thisisthesiteaggregationidentierandisusedby
someinstitutionstoarrangetheirinternalnetwork
structures.Eachinstitutioncancreateitsowninternal
hierarchicalnetworkstructureinthesamewayasthat
ofIPv4.
Whenthe16-biteldisdedicatedtotheplaneaddress
space,thereareatmost65,535differentsubnetsavailable.Ifthersteightbitsareusedfortheinternaladvancedroutingofthisinstitution,thentherewillbe255
advancedsubnetsavailable,andeachadvancedsubnet
canhaveupto255sub-subnets.
– Interfaceidentiereld
Thisisa64-biteld,containing64-bitvaluesofthe
IEEEEUI-64interfaceidentier .
Intherst1/256IPv6addressspace,therst8bits0000
0000ofalltheaddressesarereserved.Mostofthevacant
addressspacesareusedforspecialaddresses,including:
– Undesignatedaddress
Thisisanall-zeroaddressandisusedifnovalidaddress
isavailable.Forexample,ifahostdoesnotobtainan
IPv6addressuponitsinitialstartupfromthenetwork,
8 CondentialandProprietaryInformationofZTECORPORATION
Chapter2IPv6BasicConguration
itcanusethisaddress.Thatis,itcanspecifythisaddressforthesourceaddressoftheIPv6packetwhenit
sendsoutarequestforcongurationinformation.This
addresscanbeexpressedas2000:0:0:0:0:0:0:1,or
expressedas2000::1.
– Loopbackaddress
InIPv4,theloopbackaddressisdenedas127.0.0.1.
Anypacketthatsendsaloopbackaddressmustbesent
toanetworkinterfacethroughprotocolstack,insteadof
beingsenttothenetworklink.Thenetworkinterface
itselfshallacceptthesepacketsinthesamewayas
itreceivespacketsfromexternalnodes,andtransmits
thembacktotheprotocolstack.
Theloopbackfunctionisusedforsoftwaretestandconguration.Exceptthelowestbit,alltheotherbitsofan
IPv6loopbackaddressare0,thatis,aloopbackaddresscanbeexpressedas0:0:0:0:0:0:0:1or::1.
– IPv6addressembeddedwithIPv4address
IntheRFC2373,IPv6providestwokindsofaddresses.
OneistheIPv4-compatibleaddress,whichallowsthe
IPv6nodetoaccessIPv4nodesthatdonotsupport
IPv6..TheotheristheIPv4-mappingaddress,which
allowstheIPv6routertotransmitIPv6packetsover
theIPv4networkinthetunnelmode,wherethenodes
understandbothIPv4andIPv6.
Thehigh-order80bitsofthesetwokindsofaddresses
areallsettozeros,andthelow-order32bitscontain
theIPv4address.Ifthemiddle16bitsofanaddress
aresettoFFFF ,itindicatesthatthisaddressistheIPv6
addressmappingtoIPv4address.T able5
addressstructuresofthesetwokindsofaddresses.
showsthe
TABLE5STRUCTUREOFTHEIPV 6ADDRESSEMBEDDEDWITH
IPV 4ADDRESS
IPv4CompatibleAddress
80 16 32
0000…………………………………………0000 0000
IPv4imageaddress
80 16 32
0000…………………………………………0000
�LinkLocalAddressandSite-LocalAddress
FFFF IPv4
IPv4
address
address
UsingthenetworkModel10addresstotranslateIPv4networkaddressesprovidesanoptionfortheinstitutionsthat
donotwanttoapplyforgloballyuniqueIPv4networkaddresses.
CondentialandProprietaryInformationofZTECORPORATION 9
ZXR10T600/T1200UserManual(IPv6Volume)
Arouterthatresidesoutsideofaninstitutionbutused
bytheinstitutionshallnotforwardtheseaddresses.It
canneitherpreventtheseaddressesfrombeingforwarded,
nordistinguishtheseaddressesfromothervalidIPv4addresses.Itiscomparativelyeasiertomakecongurations
foraroutertoenableittoforwardtheseaddresses.
Torealizethisfunction,IPv6allocatestwodifferentaddress
segmentsfromthegloballyuniqueInternetspace.T able6
isoriginatedfromRFC2373,indicatingthestructuresof
link-localandsite-localaddresses.
TABLE6STRUCTURESOFLINK -LOCALADDRESSANDSITE -LOCAL
ADDRESS
Link-localAddress
10
1111111010 0
Site-localAddress
10 38 16 64
1111111011 0
54
Subnet
identier
64
Interfaceidentier
Interfaceidentier
Link-localaddressesareusedinsinglenetworklinkforhost
numbering.Theaddressidentiedbythersttenbitsof
theprexisthelink-localaddress.Routersdonotprocess
thepacketswithlink-localaddressesattheirsourceend
anddestinationendbecausetheywillneverforwardthese
packets.
Themiddle54bitsofthisaddressaresettozero,its64-bit
interfaceidentierisinthesameIEEEstructureasmentionedintheforegoingparagraphs,andthepartofthisaddressspaceallowssomenetworkstoconnectupto2
64
hosts.
Link-localaddressesareusedforthesinglenetworklink
andsite-localaddressesareusedforsites.Itmeansthat
site-localaddressescanbeusedtotransmitdatainthe
interconnectednetworksbutcannotbedirectlyroutedto
theglobalInternetfromasite.
Routerswithinasitecanonlyforwardpacketswithinthe
siteinsteadofforwardingthemoutsideofthesite.The
10-bitprexofasite-localaddressisimmediatelyfollowed
byasuccessionofzeros,whichisslightlydifferentfrom
thatofalink-localaddress.Thesubnetidentierofasitelocaladdressis16-bit,anditsinterfaceidentierisstillthe
64-bitIEEE-basedaddress.
�OpenSystemsInterconnection(OSI )NetworkServiceAc-
cessPoint(NSAP )AddressandInternetworkPacketExchange(IPX )Address
OneoftheIPv6objectsistounifythewholenetworkworld
foramongnetworksofIP ,IPXandOSI.T osupportthis
-1
10 CondentialandProprietaryInformationofZTECORPORATION
Chapter2IPv6BasicConguration
interoperatability,IPv6reserves1/128addressspacefor
OSINSAPaddressandnetworkIPXaddressrespectively.
Atpresent,theIPXaddresseshavenotbeenpreciselydened.RefertoRFC1888(OSINSAPandIPv6)fordescriptionoftheNSAPaddressallocation.
�MulticastAddress
TheformatoftheIPv6multicastaddressisdifferentfromthat
oftheIPv6unicastaddress.Multicastaddressescanonlybe
usedasdestinationaddresses.Nopacketusesamulticast
addressasthesourceaddress.T able7showstheformatofa
multicastaddress.
TABLE7MULTICASTADDRESSFORMAT
8
1111111
4 4
Flags
112
Scope
Groupidentier
Therstbyteoftheaddressformatissettofull-one,identifyingitasamulticastaddress.Themulticastaddressoccupies
theentire1/256oftheIPv6addressspace.Theotherparts
excepttherstbyteofthemulticastaddressformatcontain
thefollowingthreeelds:
�Flagseld
Thiseldconsistsoffoursinglebitags.Currently,onlythe
bit-4isdesignatedtoindicatethatwhetherthisaddressis
awell-knownmulticastaddressdesignatedbytheInternet
numberinginstitution,oratemporarymulticastaddress
usedinaspecicoccasion.
Ifthisagbitissettozero,itindicatesthatthisaddressisa
well-knownaddress.Ifthisagbitissettoone,itindicates
thatthisaddressisatemporaryaddress.Theotherthree
agbitsarereservedforfutureuse.
�Scopeeld
Thisisa4-biteldandisusedtoindicatetherangeof
multicast.Thatis,whetheramulticastgrouponlyincludes
nodeswithinthesamelocalnetwork,thesamesiteorthe
sameinstitution,orincludesnodesthatresidesanywhere
intheIPv6globaladdressspace.Thepossiblevalues4–bits
valuerangesfrom0to15.T able8showsthecorresponding
range.
TABLE8MULTICASTSCOPEVALUE
Hex
0 0
1 1
2 2
3 3
CondentialandProprietaryInformationofZTECORPORATION 11
Decimal Value
Reserved
Node-localrange
Link-localrange
Unallocated
ZXR10T600/T1200UserManual(IPv6Volume)
Hex
4 4
5 5
6 6
7 7
8 8
9 9
10
11 B
12 C
13
14 E
15 F
�GroupIDeld
Decimal Value
A
D
Unallocated
Site-localrange
Unallocated
Unallocated
Institution-local
range
Unallocated
Unallocated
Unallocated
Unallocated
Unallocated
Globalrange
Reserved
The112-bitmulticastIDeldidentiesamulticastgroup
withinaspeciedrangepermanentlyortemporarily.
�AnycastAddress
Amulticastaddresscanbesharedbymanynodesinasense.
Allthenodesofthemembersofamulticastaddressexpect
toreceiveallthepacketssenttothisaddress.ArouterconnectingtovedifferentlocalEthernetnetworksshallforward
acopyofthesemulticastpacketstoeachnetworkrespectively
(supposingatleastonenodeofeachnetworksubscribstothis
multicastaddress).
Anycastaddressesaresimilartomulticastaddresses. Althoughthetwoareinthesamecasethatananycastaddress
canbesharedbymultiplenodes,onlyonenodeofananycast
addressexpectstoreceivethepacketsenttotheanycast
address.
Anycastishelpfulinprovidingservices,especiallythoserequiringnorelationshipbetweenclientandserver ,suchas,a
domainnameserverandatimeserver .Adomainnameserver
isnothingbutanameserver ,whichprovidesthesameperformancewhetheritislocatedcloselyorremotely.
Similarly,acloselylocatedtimeserverispreferableinterms
ofaccuracy.Therefore,whenahostsendsarequesttoan
anycastaddresstoobtaininformation,itisthenearestserver
associatedtothisanycastaddressthatshallrespond.
AnycastaddressesareallocatedoutsideofthenormalIPv6unicastaddressspace.Anycastaddressescannotbedistinguished
fromunicastaddressesintheirforms,andeachmemberof
12 CondentialandProprietaryInformationofZTECORPORATION
Chapter2IPv6BasicConguration
ananycastaddressshallbeexplicitlyconguredtoidentifyan
anycastaddress.
AddressExpressionWay
AnIPv4addressisexpressedinfourpartsseparatedbydots,that
is,fournumbersseparatedbydots.Thefollowingaresomelegal
IPv4addressesexpressedbydecimalinteger:0.5.3.1,127.0.0.1,
201.199.244.101.
AnIPv4addressisexpressedasagroupoffour2-bithexintegers
orfour8-bitbinaryintegers,ofwhichthelatteroneisseldom
used.
ThelengthofanIPv6addressisfourtimesgreaterthananIPv4
address,andthecomplicacyofexpressionforanIPv6addressis
alsofourtimesgreaterthananIPv4address.AnIPv6address
canbebasicallyexpressedasX:X:X:X:X:X:X:X,amongwhichXis
4-bithexintegers(16-bit).Eachnumbercontainsfourbits,each
integercontainsfournumbersandeachaddresscontainseight
integers.Therearetotally128bits(4x4x8=128).Thefollowing
aresomelegalIPv6addresses:
CDCD:910A:2222:5498:8475:1111:3900:2020
1030:0:0:0:C9B4:FF12:48AA:1A2B
2000:0:0:0:0:0:0:1
AlltheseintegersarehexintegersandthosefromAtoFrepresent
10to15.Eachintegerofanaddressmustbeindicatedexceptfor
thestartingzero.Thisisarelativelystandardwaytoexpressan
IPv6address.Apartfromthis,therearetwomorewaysthatare
clearerandeasiertouse.
SomeIPv6addressescontainasuccessionofzeros,similartothe
secondandthethirdexamplesasmentionedabove.Inthiscase,
thesuccessionofzeroscanberepresentedby“spacing” ,asprovidedintherelevantstandard.
Thatistosay ,theaddress2000:0:0:0:0:0:0:1canbeexpressed
as2000::1,ofwhichthetwocolonsmeanthattheaddresscan
beextendedtoacomplete128-bitaddress.Inthismethod,only
whenthe16-bitgroupisall-zero,canitbesubstitutedbytwo
colons,whichcanonlybeusedonceintheaddress.
Table9showsexamplesforcompressedformatsofIPv6ad-
dresses.
TABLE9IPV 6ADDRESSCOMPRESSION
AddType NormalFormat CompressedFormat
Unicastaddress
Multicastaddress
Loopbackaddress
Unspeciedaddress
1080:0:0:0:8:800:200C:417
A
FF01:0:0:0:0:0:0:101 FF01::101
0:0:0:0:0:0:0:1
0:0:0:0:0:0:0:0
CondentialandProprietaryInformationofZTECORPORATION 13
1080::8:800:200C:417A
::1
::
ZXR10T600/T1200UserManual(IPv6Volume)
IntheenvironmentmixedwithIPv4andIPv6,theremaybeathird
way.Theleastsignicant32-bitinanIPv6addresscanbeused
toexpressanIPv4addressinamixedway:X:X:X:X:X:X:d.d.d.d,
amongwhichXrepresentsa16-bitanddindicatesa8-bitdecimal
integer .
Forexample,theaddress0:0:0:0:0:0:10.0.0.1isalegalIPv4address.Therefore,thisaddressisexpressedas:10.0.0.1bycombiningthetwopossibleexpressions.
AnIPv6addressconsistsoftwoparts:subnetprexandinterface
identier .AnIPnodeaddressisexpectedtobeexpressedinaway
similartothatofaCIDRaddress,asanaddresscarryinganextra
value,indicatinghowmanybitsoftheaddressisthemask.
AnIPv6nodeaddressindicatesthelengthofaprexbyseparating
thelengthfromtheIPv6addresswithaslash.
Forexample,intheaddressof
1030:0:0:0:C9B4:FF12:48AA:1A2B/60,thelengthoftheprex
forroutingis60-bits
IPv6HostAddressAnIPv6hosthasmanyIPv6addressesevenifithasonlyonesingle
interface.AnIPv6hostcanhavethefollowingunicastaddresses
simultaneously.
�Thelink-localaddressofeachinterface
�Theunicastaddressofeachinterface,whichcanbeasite-local
addressoroneormoreaggregableglobaladdresses
�Loopbackaddress(::1)ofaloopbackinterface
Inaddition,eachhostmustalwayskeeplisteningtothedatafrom
thefollowingmulticastaddresses.
�Multicastaddresses(FF01::1)ofallthenodeswithinthenode-
localrange
�Multicastaddresses(FF02::1)ofallthenodeswithinthelink-
localrange
�Multicastaddressofthesolicited-node(ifthesolicited-node
groupisaddedtoaninterfaceofthehost)
�Multicastaddressofamulticastgroup(ifanymulticastgroup
isaddedtoaninterfaceofthehost)
IPv6Router
Address
ThefollowingunicastaddressescanbeallocatedtoanIPv6router:
�Link-localaddressofeachinterface
�Unicastaddressofeachinterface,whichcanbeasite-local
addressoroneormoreaggregableglobaladdresses
�Subnet-routeranycastaddress
�Otheranycastaddresses(optional)
�Loopbackaddress(::1)ofaloopbackinterface
Similarly,apartfromtheseaddresses,aroutermustalwayskeep
listeningtothedataowfromthefollowingmulticastaddresses.
�Multicastaddresses(FF01::1)ofallthenodeswithinthenode-
localrange
�Multicastaddresses(FF02::1)ofallthenodeswithinthelink-
localrange
14 CondentialandProprietaryInformationofZTECORPORATION
Chapter2IPv6BasicConguration
�Multicastaddresses(FF02::2)ofalltherouterswithinthelink-
localrange
�Multicastaddresses(FF05::2)ofalltherouterswithinthesite-
localrange
�Multicastaddressofthesolicited-node(ifthesolicited-node
groupisaddedtoaninterfaceoftherouter)
�Multicastaddressofamulticastgroup(ifanymulticastgroup
isaddedtoaninterfaceoftherouter)
IPv6AddressAutoConfiguration
Technology
Thestateautocongurationemploystheplug-and-playmodeto
insertanodeintotheIPv6networkandstartsitupwithoutany
manualinterference.IPv6hastwodifferentmechanismstoshore
uptheplug-and-playnetworkconnection:
�Stateautoconguration
�Bootprotocol(BOOT strapProtocol,BOOTP)
�Dynamichostcongurationprotocol(DHCP )
BothofthetwomechanismsallowIPnodestoobtaincongurationinformationfromaspecialBOOTPserverortheDHCP
server .Theseprotocolsusethestateautoconguration,that
is,aservermustretainandmanagethestateinformationof
eachnode.
�Statelessautoconguration
Apartfromstateautoconguration,IPv6alsoemploysakind
ofautocongurationservicenamedstatelessautoconguration.RFC2462describestheIPv6statelessautoconguration.
Forthestatelessautoconguration,thelocallinkmustsupport
multicast.Networkinterfacemustbeabletosendandreceive
multicastpackets.Inthestatelessautocongurationprocess,
therelevantnodesmustmeetthefollowingrequirements.
�Anodeforautocongurationmustdetermineitsownlink-
localaddress.
�Authenticatethislink-localaddresstomakesurethatitis
uniqueinthelink.
�Thenodemustdeterminetheinformationtobecongured.
SuchinformationcanbetheIPaddressofthisnode,other
congurationinformation,orbothofthem.IncaseanIP
addressisneeded,thenodemustdeterminewhethertoobtainitthroughthestatelessautocongurationorthrough
thestateautoconguration.
Theprocedureisasfollows:
i. Inthestatelessautocongurationprocess,thehostadds
itsnetworkadapterMACaddressafterthe1111111010
prexofthelink-localaddresstocreatealink-localunicastaddress.
CondentialandProprietaryInformationofZTECORPORATION 15
ZXR10T600/T1200UserManual(IPv6Volume)
ii.Thehostsendsaneighbordiscoveryrequesttotheaddress
iii.T akingtheaddressasthesourceaddress,thehostsends
IEEEhasmodiedthenetworkadapterMACaddressfrom
48-bitto64-bit.IfthenetworkadapterMACaddressused
bythehostisstill48-bit,theIPv6networkadapterdriver
willconvertthe48-bitMACaddresstothe64-bitMACaddressinaccordancewithanIEEEformula.
tocheckwhethertheaddressisunique.
Ifthereisnoresponsetotherequest,itindicatesthatthe
link-localunicastaddressconguredbythehostitselfis
unique.Otherwise,thehostwilluseaninterfaceIDrandomlycreatedtoformanewlink-localunicastaddress.
aroutersolicitationinthemulticastwaytoalltherouters
withinthelocallinktorequestcongurationinformation.
Routersrespondtoitwitharouteradvertisementcontainingtheprexofanaggregableglobalunicastaddressand
otherrelevantcongurationinformation.
ThehostautomaticallyusestheglobaladdressprexobtainedfromroutersanditsowninterfaceIDtoautomaticallycongureaglobaladdresstocommunicatewithother
hostswithintheInternet.
ConfiguringIPv6Address
TocongurebasicIPv6,performthefollowingsteps.
Step
1
2
3
4
5
Command Function
ZXR10(config)#interface<interface-name > Thisentersinterface
ZXR10(config-if)#ipv6enableThisenablesIPv6.
ZXR10(config-if)#ipv6address<ipv6-prefix >/
<prefix-length >
ZXR10(config-if)#ipv6mtu<bytes>
ZXR10(config-if)#ipv6dad-attemps<number>
congurationmode.
ThisconguresanIPv6
addressonaninterface.
ThisconguresMTUvalue
whenIPv6packetsaresent
byinterface.
Theunitisbyte,thedefault
valuedependsonitsactual
interfacetype,theminimum
valueis1280bytes,therange
is1280~1500.
Thisconguresthetimesof
repeatedaddressdetection
oninterface.
Therangeis1~10,thedefault
valueis1.
Result: IPv6addresshasbeencongured.
16 CondentialandProprietaryInformationofZTECORPORATION
ConfiguringIPv6Address
MaintenanceandDiagnosis
TomaintainanddiagnoseIPv6,usethefollowingcommands.
Command Function
Chapter2IPv6BasicConguration
ZXR10#showipv6interface<interface-name > Thisdisplaystheinformationof
ZXR10#showipv6interface<interface-name >briefThisdisplaystheinformationof
ZXR10#showipv6mtu
ZXR10#ping6Thisdiagnoseswhetherthe
ZXR10#trace6
ZXR10#telnet6ThisenablesanIPv6Telnet
ZXR10#debugipv6icmpThisshowsthedebugging
ZXR10#debugipv6packet
ZXR10#debugipv6tcpdriverThissetsupthedebugswitches
anipv6interfaceindetail.
anipv6interfaceinbrief.
Thisshowstheinformationof
MTUbuffer .
linkspointingtoadestinationis
proper .
Thisdiagnosestheactual
passingpathtoadestination.
connection.
informationaboutIPv6Internet
ControlMessageProtocol(ICMP)
packet.
Thisshowstheinformation
abouttheIPv6packetreceived
andsentbythesystem.
forestablishingandclosingthe
IPv6TCPconnections.
ZXR10#debugipv6tcppacket
ZXR10#debugipv6tcptransactionsThissetsupthedebugging
ZXR10#debugipv6tcpallThisenablesallTCPdebugging.
ZXR10#debugipv6udpThisenablesIPv6UDP
Thisshowstheinformation
abouttheIPv6TCPpacket
receivedandsentbythe
system.
switchesforIPv6TCPstate
transitioninformation.
debugging.
Result: ThemaintenanceanddiagnosisofIPv6addresshasbeen
congured.
CondentialandProprietaryInformationofZTECORPORATION 17