ZTE ZXR10 5900E Series Configuration manual

  • Hello! I am an AI chatbot trained to assist you with the ZTE ZXR10 5900E Series Configuration manual. I’ve already reviewed the document and can help you find the information you need or explain it in simple terms. Just ask your questions, and providing more details will help me assist you more effectively!
ZXR105900ESeries
Easy-MaintenanceMPLSRoutingSwitch
CongurationGuide(Multicast)
Version:3.00.11
ZTECORPORATION
No.55,Hi-techRoadSouth,ShenZhen,P .R.China
Postcode:518057
Tel:+86-755-26771900
Fax:+86-755-26770801
URL:http://support.zte.com.cn
LEGALINFORMATION
Copyright©2014ZTECORPORATION.
Thecontentsofthisdocumentareprotectedbycopyrightlawsandinternationaltreaties.Anyreproductionor
distributionofthisdocumentoranyportionofthisdocument,inanyformbyanymeans,withoutthepriorwritten
consentofZTECORPORATIONisprohibited.Additionally,thecontentsofthisdocumentareprotectedby
contractualcondentialityobligations.
Allcompany,brandandproductnamesaretradeorservicemarks,orregisteredtradeorservicemarks,ofZTE
CORPORATIONoroftheirrespectiveowners.
Thisdocumentisprovided“asis”,andallexpress,implied,orstatutorywarranties,representationsorconditions
aredisclaimed,includingwithoutlimitationanyimpliedwarrantyofmerchantability,tnessforaparticularpurpose,
titleornon-infringement.ZTECORPORATIONanditslicensorsshallnotbeliablefordamagesresultingfromthe
useoforrelianceontheinformationcontainedherein.
ZTECORPORATIONoritslicensorsmayhavecurrentorpendingintellectualpropertyrightsorapplications
coveringthesubjectmatterofthisdocument.ExceptasexpresslyprovidedinanywrittenlicensebetweenZTE
CORPORATIONanditslicensee,theuserofthisdocumentshallnotacquireanylicensetothesubjectmatter
herein.
ZTECORPORATIONreservestherighttoupgradeormaketechnicalchangetothisproductwithoutfurthernotice.
UsersmayvisittheZTEtechnicalsupportwebsitehttp://support.zte.com.cntoinquireforrelatedinformation.
TheultimaterighttointerpretthisproductresidesinZTECORPORATION.
RevisionHistory
RevisionNo.RevisionDateRevisionReason
R1.02015–01–15Firstedition
SerialNumber:SJ-20150114102049-007
PublishingDate:2015-01-15(R1.0)
SJ-20150114102049-007|2015-01-15(R1.0)ZTEProprietaryandCondential
Contents
AboutThisManual.........................................................................................I
Chapter1MulticastPrinciple....................................................................1-1
1.1MulticastingOverview.........................................................................................1-1
1.2ConguringPublicIPMulticast............................................................................1-3
Chapter2IGMPConguration..................................................................2-1
2.1IGMPOverview..................................................................................................2-1
2.2ConguringIGMP...............................................................................................2-2
2.3MaintainingIGMP...............................................................................................2-6
2.4IGMPCongurationExamples............................................................................
2-8
2.4.1IGMPQuerierElection..............................................................................2-8
2.4.2JoiningofIGMPDynamicGroupandStaticGroup...................................2-10
2.4.3IGMPFastLeavingFromAllGroups.......................................................
2-12
2.4.4IGMPFastLeavingFromaSpeciedGroup............................................
2-13
Chapter3IGMPSnoopingConguration.................................................
3-1
3.1IGMPSnoopingOverview...................................................................................3-1
3.2ConguringIGMPSnooping................................................................................3-1
3.3MaintainingIGMPSnooping................................................................................3-7
3.4IGMPSnoopingCongurationExample.............................................................3-10
Chapter4PIM-SMConguration..............................................................
4-1
4.1PIM-SMOverview..............................................................................................4-1
4.2ConguringPIM-SM...........................................................................................4-3
4.3MaintainingPIM-SM...........................................................................................4-7
4.4PIM-SMCongurationExamples.......................................................................4-14
4.4.1ForwardingMulticastFlowthroughPIM-SM(DynamicRP)........................4-14
4.4.2ForwardingMulticastFlowthroughPIM-SM(StaticRP)............................4-17
4.4.3IllegalMulticastSourceControl...............................................................
4-18
Chapter5PIM-SSMConguration............................................................5-1
5.1PIM-SSMOverview............................................................................................5-1
5.2ConguringPIM-SSM.........................................................................................5-1
5.3PIM-SSMCongurationExample........................................................................5-2
Chapter6PIM-DMConguration..............................................................6-1
6.1PIM-DMOverview..............................................................................................6-1
I
SJ-20150114102049-007|2015-01-15(R1.0)ZTEProprietaryandCondential
6.2ConguringPIM-DM...........................................................................................6-1
6.3MaintainingPIM-DM...........................................................................................6-2
6.4PIM-DMCongurationExample..........................................................................6-4
Chapter7PIMSnoopingConguration...................................................7-1
7.1PIMSnoopingOverview.....................................................................................7-1
7.2ConguringPIMSnooping..................................................................................7-1
7.3MaintainingPIMSnooping..................................................................................7-2
7.4PIMSnoopingCongurationExample..................................................................7-5
Chapter8PIMv6SnoopingConguration...............................................8-1
8.1PIMv6SnoopingOverview..................................................................................8-1
8.2ConguringPIMv6Snooping...............................................................................8-1
8.3MaintainingPIMv6Snooping...............................................................................
8-2
8.4PIMv6SnoopingCongurationExample..............................................................8-5
Chapter9MLDSnoopingConguration..................................................
9-1
9.1MLDSnoopingOverview....................................................................................
9-1
9.2ConguringMLDSnooping.................................................................................9-1
9.3MaintainingMLDSnooping.................................................................................9-4
9.4MLDSnoopingCongurationExample...............................................................9-11
Chapter10MSDPConguration.............................................................10-1
10.1MSDPOverview.............................................................................................
10-1
10.2ConguringMSDP..........................................................................................
10-2
10.3MaintainingMSDP..........................................................................................
10-5
10.4MSDPCongurationExample.........................................................................10-8
Chapter11StaticMulticastConguration.............................................11-1
11.1StaticMulticastOverview.................................................................................11-1
11.2ConguringStaticMulticast..............................................................................11-2
11.3StaticMulticastMaintenance............................................................................
11-3
11.4StaticMulticastCongurationExample.............................................................
11-4
Figures.............................................................................................................I
Glossary........................................................................................................III
II
SJ-20150114102049-007|2015-01-15(R1.0)ZTEProprietaryandCondential
AboutThisManual
Purpose
ThismanualistheZXR105900ESeries(V3.00.11)Easy-MaintenanceMPLSRouting
SwitchCongurationGuide(Multicast),whichisapplicabletotheZXR105900E(V3.00.11)
seriesswitches.
IntendedAudience
Thismanualisintendedfor:
lNetworkplanningengineer
lDebuggingengineer
lAttendant
WhatIsinThisManual
Thismanualcontainsthefollowingchapters:
Chapter1,Multicast
Principle
DescribesMulticastprinciple,congurationcommandsontheZXR10
5900E.
Chapter2,IGMP
Conguration
DescribesIGMPtechnologyandprinciple,congurationcommands,
maintenancecommands,andcongurationexamplesontheZXR10
5900E.
Chapter3,IGMPSnooping
Conguration
DescribesIGMPSnoopingtechnologyandprinciple,conguration
commands,maintenancecommands,andcongurationexampleson
theZXR105900E.
Chapter4,PIM-SM
Conguration
DescribesPIM-SMtechnologyandprinciple,congurationcommands,
maintenancecommands,andcongurationexamplesontheZXR10
5900E.
Chapter5,PIM-SSM
Conguration
DescribesPIM-SSMtechnologyandprinciple,congurationcommands,
maintenancecommands,andcongurationexamplesontheZXR10
5900E.
Chapter6,PIM-DM
Conguration
DescribesPIM-DMtechnologyandprinciple,congurationcommands,
maintenancecommands,andcongurationexamplesontheZXR10
5900E.
Chapter7,PIMSnooping
Conguration
DescribesPIMSnoopingtechnologyandprinciple,conguration
commands,maintenancecommands,andcongurationexampleson
theZXR105900E.
Chapter8,PIMv6
SnoopingConguration
DescribesPIMv6Snoopingtechnologyandprinciple,conguration
commands,maintenancecommands,andcongurationexampleson
theZXR105900E.
I
SJ-20150114102049-007|2015-01-15(R1.0)ZTEProprietaryandCondential
Chapter9,MLDSnooping
Conguration
DescribesMLDtechnologyandprinciple,congurationcommands,
maintenancecommands,andcongurationexamplesontheZXR10
5900E.
Chapter10,MSDP
Conguration
DescribesMSDPtechnologyandprinciple,congurationcommands,
maintenancecommands,andcongurationexamplesontheZXR10
5900E.
Chapter11,StaticMulticast
Conguration
DescribesStaticMulticasttechnologyandprinciple,conguration
commands,maintenancecommands,andcongurationexampleson
theZXR105900E.
Conventions
Thismanualusesthefollowingtypographicalconventions:
ItalicsVariablesincommands.Itmayalsorefertootherrelatedmanualsanddocuments.
BoldMenus,menuoptions,functionnames,inputelds,optionbuttonnames,checkboxes,
drop-downlists,dialogboxnames,windownames,parameters,andcommands.
Constant
width
Textthatyoutype,programcodes,lenames,directorynames,andfunctionnames.
[]Optionalparameters.
{}Mandatoryparameters.
|Separatesindividualparameterinseriesofparameters.
Note:providesadditionalinformationaboutacertaintopic.
II
SJ-20150114102049-007|2015-01-15(R1.0)ZTEProprietaryandCondential
Chapter1
MulticastPrinciple
TableofContents
MulticastingOverview................................................................................................1-1
ConguringPublicIPMulticast...................................................................................1-3
1.1MulticastingOverview
IPmulticastisapoint-to-multipointormultipoint-to-multipointcommunicationmode.
Multiplereceiversreceivethesameinformationfromthesamesource.Applicationsbased
onmulticastincludevideoconferences,distanceeducation,andsoftwaredistribution.
Multicastprotocolsincludethemembermanagementprotocolandthemulticastrouting
protocol.Themembermanagementprotocolisusedtomanagethejoiningandleaving
ofmulticastmembers.Themulticastroutingprotocolisusedtoconstructamulticasttree
throughexchanginginformationamongswitches.
MulticastAddress
InanIPmulticastnetwork,thesendersendsapackettomultiplereceiversinthemulticast
mode.Thesenderiscalledthemulticastsource.Multiplereceiversofthesamepacket
areidentiedbythesameIDthatiscalledthemulticastgroupaddress.
IntheIPaddressallocationscheme,IPaddressesofClassD(224.0.0.0–239.255.255.255)
aretheIPmulticastaddresses.Addresses224.0.0.0–224.0.0.255andaddresses
239.0.0.0–239.255.255.255areusedforresearchandmanagement.
MulticastTree
InaTransferControlProtocol/InternetProtocol(TCP/IP)network,toenablemulticast
communication,themulticastsource,receiversandthepathsofmulticastpacketsmust
beavailable.Themostwidelyusedroutingmethodisestablishingtreeroutes.Tree
routeshavethefollowingtwoadvantages:
1.Packetsaresenttodifferentreceiversalongthetreebranchesinparallel.
2.Packetsarecopiedonlyoncrotches,whichminimizesthenumberofpackets
transmittedonthenetwork.
Amulticasttreeisasetthatconsistsofaseriesofingressinterfacesandegressinterfaces
onswitches.Itdeterminesauniqueforwardingpathbetweenthesubnettowhichthe
multicastsourcebelongsandallthesubnetsthatcontaingroupmembers.
Therearetwotypesofmulticasttrees:sourcetreeandsharedtree.
lSourcetree
1-1
SJ-20150114102049-007|2015-01-15(R1.0)ZTEProprietaryandCondential
ZXR105900ESeriesCongurationGuide(Multicast)
ThesourcetreeisalsocalledtheShortestPathTree(SPT).Itconstructsaspanning
treetoallreceiversforeachsource.Thisspanningtreeusesthesourceasthe
rootnode.Itreachesthesubnetstowhichthereceiversbelong.Amulticastgroup
maycontainseveralmulticastsources.Eachsourceoreachpairof(S,G)hasa
correspondingmulticasttree.
ThemethodtoconstructasourcetreeiscalledReversePathForwarding(RPF).Each
switchcanndtheshortestpathtothesourceandthecorrespondingegressinterface
accordingtotheunicastroute.Whenaswitchreceivesamulticastpacket,itchecks
whethertheingressinterfacethatthepacketreachesistheegressinterfacetothe
sourcewiththeshortestunicastpath.Ifitis,theswitchforwardsthemulticastpacket
accordingtothemulticastroutes.Otherwise,theswitchdiscardsthemulticastpacket.
lSharedtree
Thesharedtreeconstructsamulticastroutetreeforeachmulticastgroup.Amulticast
groupissharedbyallgroupmembers.Thatis,thetreeissharedbyallgroupmembers
(*,G)insteadofatreesharedbyapairofbroadcastgroupmembers(S,G).Each
memberthatwantstoreceivemulticastpacketsfromthegroupshouldbeaddedto
thesharedtreeexplicitly.
Asharedtreeusesoneoragroupofswitchesasthecenterofthetree.Multicast
packetsfromallsourcesinthisgrouptothereceiversaresenttothecenter.Then
thesepacketsareforwardedinmulticastmodealongthetreefromthecenter.
MulticastRoutingProtocol
TheMulticastroutingprotocolisusedforexchanginginformationamongswitchesto
constructamulticasttree.Differentmulticastroutingprotocolsusedifferentmethods.To
meettherequirementsofmulticastuserlocationsinnetworks,multicastroutingprotocol
isclassiedintotwotypes:densemodeandsparsemode.
lDensemode
Theprerequisiteforamulticastroutingprotocolofdensemodeisthatmulticast
userslocateinthenetworkdenselyandthereissufcientbandwidth.Theprotocol
constructsandmaintainsthemulticasttreebyoodingthemulticastpacketstothe
networkperiodically.Thatis,aswitchrunningmulticastroutingprotocolwilloodthe
packetsitreceivesonallinterfacesexceptthereceivinginterface.
Whenaneighborswitchofaninterfacereportsthatagroupdoesnotexist,the
interfaceisdeletedfromthegroup'smulticasttree.Thisiscalledpruning.Whenthe
neighborswitchofaninterfacereportsthatthereceiverofthisgroupappearsagain,
theinterfaceisaddedtothemulticasttreeofthegroup.Thisiscalledgraft.
Multicastroutingprotocolsofthedensemodeincludethefollowingprotocols:
àDistanceVectorMulticastRoutingProtocol(DVMRP)
àMulticastOpenShortestPathFirst(MOSPF)
àProtocolIndependentMulticast-DenseMode(PIM-DM)
1-2
SJ-20150114102049-007|2015-01-15(R1.0)ZTEProprietaryandCondential
Chapter1MulticastPrinciple
lSparsemode
Amulticastroutingprotocolofsparsemodeissuitablefornetworkswheremulticast
receiverslocatesparsely.Insuchnetworks,ifthemulticasttreeisconstructedthrough
ooding(thesamewithdensemode),alotofbandwidthwillbewasted.Inthesparse
mode,ifadeviceexpectstoreceivemulticastpackets,itshouldmakeanapplication
tojointhemulticasttreerst.
Multicastroutingprotocolsofthesparsemodeincludethefollowingprotocols:
àCore-BasedTrees(CBT)
àProtocolIndependentMulticast-SparseMode(PIM-SM)
1.2ConguringPublicIPMulticast
TocongurepublicmulticastontheZXR105900E,performthefollowingsteps:
StepCommandFunction
ZXR10(config)#ipmulticast-routingEnablesIPmulticastfunction. 1
ZXR10(config)#noipmulticast-routingDisablesIPmulticastfunction.
2ZXR10(config-mcast)#routerpimEnablesPIM-SM.
3ZXR10(config-mcast-pim)#norouterpimExitsfromPIM-SMmode.
4ZXR10(config-mcast)#multicast-ttl<ttl-limit><interface-
name>
CongurestheTTLlimitfor
multicastforwarding.
5ZXR10(config-mcast)#nomulticast-ttl<interface-name>DisablestheTTLlimitfor
multicastforwarding.
6ZXR10(config-mcast)#multipath[{s-g-hash}{basic|next
-hop-based}]
Setsthemulticastloadsharing
mode.
7ZXR10(config-mcast)#nomultipathDisablesmulticastload
sharing.
8ZXR10#showipmroute[vrf<vrf-name>][group
<group-address>][source<source-address>][summary][iif
<interface-name>][oif<interface-name>]
DisplaystheIPmulticast
routingtable.
9ZXR10#showipmroutenexthop[<destination-address>][vrf
<vrf-name>]
Displaysthenexthopinthe
multicastdirection.
10ZXR10#clearipmroute[vrf<vrf-name>][group-address
<group-address>[source-address<source-address>]]
Clearsmulticastroutes.
11ZXR10#showipmroutesummary[vrf<vrf-name>]Displaysthenumberof
multicastroutesintheIP
multicastroutingtables.
12ZXR10#showipmroutebrief[vrf<vrf-name>]Displaysthebriefinformation
ofanIPmulticastroutingtable.
1-3
SJ-20150114102049-007|2015-01-15(R1.0)ZTEProprietaryandCondential
ZXR105900ESeriesCongurationGuide(Multicast)
StepCommandFunction
13ZXR10#mtrace<source-address>[<dest-address>][<group-
address>]
Tracesthereversepathofthe
source.
14ZXR10(config-mcast)#damping-enableEnablesthemulticastdamping
function.
15ZXR10(config-mcast)#nodamping-enableDisablesthemulticastdamping
function.
16ZXR10(config-mcast)#damping-threshold<threshold>Conguresthethresholdfor
thenumberoftimesthataroute
isdistributed.Ifthenumberof
timesthatarouteisdistributed
exceedsthethreshold,the
dampingfunctionisenabled.
Theminimumwaittimeto
redistributetherouteis10
seconds,andthemaximum
waittimeis60seconds.
17ZXR10(config-mcast)#nodamping-thresholdRestoresthedefaultdamping
threshold.
18ZXR10(config-mcast)#filter-policymonitor-interface
<interface-name><interface-mode><interface-type>
Conguresagloballtering
interface,andtheglobal
lteringmode(includeor
exclude)andlteringtype(add
ordelete)oftheinterface.One
lteringinterfaceiscongured
once.Amaximumof20
interfacescanbecongured.
Thegloballteringmodesof
theinterfacesmustbethe
same.
19ZXR10(config-mcast)#nofilter-policymonitor-interface
[<interface-name>]
Deletesagloballtering
interface.
20ZXR10(config-mcast)#filter-policymonitor-mroute-inte
rface<source-address><group-address><interface-name><
interface-type>
Conguresalteringinterface
foraroute.Thelteringtypes
(addordelete)oftheegress
interfacesfortherouteare
determinedbythatofthe
globallteringinterface.One
routeandlteringinterfaceis
conguredonce.Amaximum
of22lteringinterfacescanbe
conguredforaroute.
1-4
SJ-20150114102049-007|2015-01-15(R1.0)ZTEProprietaryandCondential
Chapter1MulticastPrinciple
StepCommandFunction
21ZXR10(config-mcast)#nofilter-policymonitor-mroute-in
terface<source-address><group-address>[<interface-name>]
Deletesalteringinterfacefor
aroute.
22ZXR10(config-mcast)#filter-policymonitor-mroute-mode
<source-address><group-address><route-mode>
Conguresthelteringmode
(includeorexclude)foraroute.
Thelteringmodedetermines
thelteringtypesoftheegress
interfacesfortheroute.Only
onelteringmodecanbe
conguredforaroute.Filtering
modescanbeconguredfora
maximumof1000routes.
23ZXR10(config-mcast)#nofilter-policymonitor-mroute-m
ode<source-address><group-address>
Deletesthelteringmodeofa
route.
24ZXR10(config-mcast)#forwarding-policy
{per-packet|per-user|per-stream}[group-list<acl-name>]
Setsthemulticastforwarding
policytoper-packet,per-user,
orper-stream.Default:
per-stream.
25ZXR10(config-mcast)#noforwarding-policyRestoresthedefaultmulticast
forwardingpolicy.
26ZXR10(config-mcast)#monitor-interface<interface-na
me>
Conguresamonitoring
interface.Onemonitoring
interfaceisconguredonce.
Amaximumof20monitoring
interfacescanbecongured.
27ZXR10(config-mcast)#nomonitor-interface
[<interface-name>]
Deletesamonitoringinterface.
28ZXR10(config-mcast)#monitor-mroute<source-address
><group-address>[interface<interface-name>]
Conguresamulticast
monitoringroute.Ifthe
interfacesetinthiscommand
andthemonitoringinterfaceset
throughthemonitor-interface
commandarethesame,trafc
passingbytheinterfaceis
blocked.
Itisrecommendedthatyou
congurethe[interface
<interface-name>]parameter.
Iftheparameterisnot
congured,thiscommandis
invalid,andmulticasttrafc
isblockednomatterwhether
1-5
SJ-20150114102049-007|2015-01-15(R1.0)ZTEProprietaryandCondential
ZXR105900ESeriesCongurationGuide(Multicast)
StepCommandFunction
themonitoringinterfaceis
congured.
29ZXR10(config-mcast)#nomonitor-mroute
<source-address><group-address>[interface
<interface-name>]
Deletesamulticastmonitoring
route.
30ZXR10(config-mcast)#mroute-limit<limit>Conguresthelimitnumber
ofitemsinthemulticast
forwardingtable.Default:the
maximumnumbersupported
bythesystem.
31ZXR10(config-mcast)#nomroute-limitRestoresthedefaultlimit
numberofitemsinthe
multicastforwardingtable.
32ZXR10(config-mcast)#mroute-downstrem-limit<limit>Conguresthelimitnumberof
downlinknodesfortheitemsin
themulticastforwardingtable.
33ZXR10(config-mcast)#nomroute-downstrem-limitDeletesthelimitnumberof
downlinknodesfortheitemsin
themulticastforwardingtable.
34ZXR10(config-mcast)#multicast-boundary
<access-list-name><interface-name>
Conguresamulticast
forwardingboundaryon
aninterface.
35ZXR10(config-mcast)#nomulticast-boundary
[<interface-name>]
Deletesamulticastforwarding
boundaryonaninterface.
36ZXR10(config-mcast)#longest-matchCongurestheruleofselecting
aunicastrouteformulticast.
Thelongest-matchrouteis
selectedfromtheMBGP
andMIGPunicastforwarding
tables.
37ZXR10(config-mcast)#nolongest-matchDisablesthelongestmatch
function.
38ZXR10(config-mcast)#nexthop<dest-address><
net-mask><interface-name><nexthop-address>
Conguresastaticmulticast
nexthop,andspeciesthe
destinationaddress,next
hopinterface,andnexthop
address.
39ZXR10(config-mcast)#nonexthop<dest-address><
net-mask>[<interface-name><nexthop-address>]
Deletesastaticmulticastnext
hop.
1-6
SJ-20150114102049-007|2015-01-15(R1.0)ZTEProprietaryandCondential
Chapter1MulticastPrinciple
StepCommandFunction
40ZXR10(config-mcast)#set-dscp-outer<tos-value>CongurestheTOSpriority
ofmulticastprotocoldata
packets.
41ZXR10(config-mcast)#noset-dscp-outerDeletestheTOSpriority
ofmulticastprotocoldata
packets.
42ZXR10(config-mcast)#reject-inbound-data
<interface-name>
Forbidstheforwardingplane
toreceivemulticastdata
packets,sothatthemulticast
routercannotreceivemulticast
packetsonthespecied
interface.
43ZXR10(config-mcast)#noreject-inbound-data[<interfac
e-name>]
Disablesthefunctionof
forbiddingtheforwarding
planetoreceivemulticastdata
packets.
ForadescriptionoftheparametersinStep4,refertothefollowingtable:
ParameterDescription
<interface-name>Interfacename.
<ttl-limit>TTLlimit.
ForadescriptionoftheparametersinStep6,refertothefollowingtable:
ParameterDescription
s-g-hashSourcegroup-basedhash.
basicDefaultsourcegroup-basedhash.
next-hop-basedNexthop-basedhash.
ForadescriptionoftheparametersinStep8,refertothefollowingtable:
ParameterDescription
<vrf-name>VRFinstancename.
<group-address>Groupaddress,indotteddecimalnotation.
<source-address>Sourceaddress,indotteddecimalnotation.
summarySummaryinformation.
<interface-name>Interfacename.
ForadescriptionoftheparameterinStep9,refertothefollowingtable:
1-7
SJ-20150114102049-007|2015-01-15(R1.0)ZTEProprietaryandCondential
ZXR105900ESeriesCongurationGuide(Multicast)
ParameterDescription
<destination-address>Destinationaddress.
ForadescriptionoftheparameterinStep16,refertothefollowingtable:
ParameterDescription
<threshold>Dampingthreshold.
ForadescriptionoftheparametersinStep18,refertothefollowingtable:
ParameterDescription
<interface-mode>Interfacelteringmodeorroutelteringmode,globallyunied.
<interface-type>Interfacelteringtype.
ForadescriptionoftheparametersinStep24,refertothefollowingtable:
ParameterDescription
per-packet|per-user|per-streamPer-packet,per-user,orper-stream.
<acl-name>ACLname.
ForadescriptionoftheparameterinStep30,refertothefollowingtable:
ParameterDescription
<limit>Numberofroutes.
ForadescriptionoftheparameterinStep32,refertothefollowingtable:
ParameterDescription
<limit>Numberofdownlinknodes.
ForadescriptionoftheparametersinStep38,refertothefollowingtable:
ParameterDescription
<dest-address>DestinationIPaddress.
<net-mask>Destinationaddressmask.
<interface-name>Egressinterfaceofanexthop.
<nexthop-address>Nexthopaddress.
ForadescriptionoftheparameterinStep40,refertothefollowingtable:
ParameterDescription
<tos-value>TOSpriority,range:1–63,default:48.
1-8
SJ-20150114102049-007|2015-01-15(R1.0)ZTEProprietaryandCondential
Chapter2
IGMPConguration
TableofContents
IGMPOverview..........................................................................................................2-1
ConguringIGMP.......................................................................................................2-2
MaintainingIGMP.......................................................................................................2-6
IGMPCongurationExamples...................................................................................
2-8
2.1IGMPOverview
IntroductiontoIGMP
Ifahostexpectstoreceivemulticastpacketsfromaspecicgroup,itneedstointercept
allpacketssenttothatgroup.T osolvetheroutingproblemformulticastpacketsonthe
Internet,thehostisrequiredtoinformthemulticastswitchesofthegroupthatitjoinsinor
leaves.
Inmulticast,InternetGroupManagementProtocol(IGMP)isusedforthistask.Inthis
way,themulticastswitchknowsthemembersofthemulticastgrouponthenetworkand
decideswhethertoforwardmulticastpacketstothenetwork.Whenamulticastswitch
receivesamulticastpacket,itchecksthemulticastdestinationaddressofthepacket,and
thenforwardsthepackettotheinterfacesinthegrouporthedownstreamswitch.
IGMPPrinciple
TheIGMPrunsbetweenahostandaswitchthatisconnectedtothehostdirectly.Its
functionisbidirectional.
lOntheonehand,ahostinformstheswitchthroughtheIGMPthatitexpectstoreceive
packetsfromaspecicmulticastgroup.
lOntheotherhand,theswitchcheckswhetherthemembersintheLocalAreaNetwork
(LAN)areinactivestateperiodicallythroughtheIGMP .Inthisway,theswitchcollects
andmaintainstherelationshipwiththemembersinthesegment.
ThroughtheIGMP ,aswitchrecordswhetherthereisagroupmemberofaspecicmulticast
groupinthelocalsegmentinsteadofthecorrespondingrelationshipbetweenthemulticast
groupandthehost.
TheIGMPprovidesinformationthatisnecessarywhenpacketsareforwardedtothe
destination(thelaststage).Multicastswitchesandhoststhatreceivemulticastdata
exchangeinformation.Theinformationiscollectedfromthegroupmembersofthehosts
thataredirectlyconnectedtomulticastswitches.
2-1
SJ-20150114102049-007|2015-01-15(R1.0)ZTEProprietaryandCondential
ZXR105900ESeriesCongurationGuide(Multicast)
TheIGMPusestwotypesofpackets,groupmemberquerypacketsandgroupmember
reportpackets.
lAmulticastswitchperiodicallysendsgroupmemberquerypacketstoallhoststoknow
whetherspecicgroupmembersexistintheconnectedsubnets.
lThehostsreturnsreportpacketstoagroupmember,reportingthemulticastgroup
thattheybelongto.
lWhenahostjoinsinanewgroup,itsendsajoinpacketimmediatelyinsteadofwaiting
foraqueryincasethatthehostistherstmemberofthatgroupanditfailstoreceive
anymulticastpacket.
Whenahoststartstoreceivepacketsasamemberofagroup,themulticastswitchqueries
thegroupperiodicallytocheckwhetherthereisanyothermemberofthegrouponthe
network.Ifthereis,themulticastswitchcontinuestoforwarddata.
Whenthehostleavesthegroup,themulticastswitchreceivesaleavingpacketandthen
immediatelyquerieswhethertherearestillactivegroupmembersinthegroup.Ifthere
are,themulticastswitchcontinuestoforwarddata.Iftherearenot,itdoesnotforward
data.
Atpresent,therearethreeversionsfortheIGMP .
lIGMPv1(RequestForComments(RFC)1112):Itdenesthebasicqueryandreport
procedureofagroupmember.
lIGMPv2(RFC2236):ItaddsaleavingmechanismonthebasisofIGMPv1.
lIGMPv3(RFC3376):Itenablesamembertoselectthemulticastsource,which
supportstheSourceSpecicMulticast(SSM)mode.
2.2ConguringIGMP
Thefollowingcongurationisconguredoninterfacesinthenon-VRFmode.The
congurationoninterfacesintheVRFmodeisthesame.Forthecongurationtoenable
theVRFmode,refertothe"ConguringPublicIPMulticast"section.
ToconguretheIGMPbasicfunctionontheZXR105900E,performthefollowingsteps:
StepCommandFunction
1ZXR10(config-mcast)#routerigmpEntersIGMPconguration
mode.Usethenocommand
todeletealltheIGMP
congurations.
2-2
SJ-20150114102049-007|2015-01-15(R1.0)ZTEProprietaryandCondential
Chapter2IGMPConguration
StepCommandFunction
ZXR10(config-mcast-igmp)#interface<interface-name>EntersIGMPinterface
congurationmode,even
ifIGMPisnotenabledonthe
interface.IGMPistriggeredby
PIMontheinterface.
2
ZXR10(config-mcast-igmp)#nointerface
<interface-name>
Deletestheinterface
congurationandrestores
thedefaultconguration.
3ZXR10(config-mcast-igmp)#ssm-mapstatic
{<access-list-number>|default}<source-address>
SetsSSMmapping.
ZXR10(config-mcast-igmp)#proxy-enableEnablestheIGMPproxy
function.
4
ZXR10(config-mcast-igmp)#noproxy-enableDisablestheIGMPproxy
function.
ZXR10(config-mcast-igmp)#require-alert-optionsCongurestodropthe
IGMPpacketswhoseIP
headersdonotcontaining
Router_Alert_Options.
5
ZXR10(config-mcast-igmp)#norequire-alert-optionsDisablesthefunction
ofdroppingtheIGMP
packetswhoseIP
headersdonotcontaining
Router_Alert_Options.
ForadescriptionoftheparameterinStep2,refertothefollowingtable:
ParameterDescription
<interface-name>Interfacename.
ForadescriptionoftheparameterinStep3,refertothefollowingtable:
ParameterDescription
<access-list-number>AccesslistnamefortheSSMgroup,with1-31characters.
TheIGMPfunctionoftheZXR105900EisbasedonthePIMinterface.TheIGMPfunction
isenabledautomaticallyoninterfacesonwhichthePIMisenabled.
CongureIGMPVersion
Atpresent,thereareIGMPv1,v2andv3.Bydefault,IGMPv2isused.Theversioncan
beadjustedusingtheversion<version>command.Forsecurity,aswitchrequiresthatall
NEsonthesamesegmentusethesameIGMPversion,theIGMPv1,v2orv3.
2-3
SJ-20150114102049-007|2015-01-15(R1.0)ZTEProprietaryandCondential
ZXR105900ESeriesCongurationGuide(Multicast)
ThecongurationoftheIGMPversionisbasedontheinterface.Differentversionscanbe
conguredondifferentinterfaces.
CongureanIGMPGrouponanInterface
TocongureanIGMPgrouponaninterfaceoftheZXR105900E,performthefollowing
steps:
StepCommandFunction
1ZXR10(config-mcast-igmp-if-interface-name)#acces
s-group<access-list-number>
Setstherangeofgroupsthat
IGMPisallowedtojoin.
<access-list-number>:the
standardIPaccesslistname,
range:1-31characters.By
default,thereisnolimitabout
IGMPgroupjoining.
2ZXR10(config-mcast-igmp-if-interface-
name)#static-group<group-address>[source
{<source-address>[{include|exclude}]|ssm-map}]
Setsastaticgroupaddresson
anIGMPinterface.
<group-address>:addressof
thegroup,inthedotteddecimal
notation.
<source-address>:source
address,inthedotteddecimal
notation.
3ZXR10(config-mcast-igmp-if-interface-name)#imme
diate-leave{group-list<access-list-name>|all}
Setstherangeofgroups
allowingmemberstoleave
immediately.
<access-list-number>:standard
IPaccesslistname,range:
1–31characters.
4ZXR10(config-mcast-igmp-if-interface-name)#queri
er-election{connect|disable}
Setsquerierelection
restriction.
5ZXR10(config-mcast-igmp-if-interface-name)#igmp-
proxy<interface-name>
Congureanupstream
interfaceoftheproxyfunction
tosendIGMPreportmessages
foradownstreaminterface
(alsocalledaswitchinterface).
Usethenocommandtorestore
thedefaultconguration.
2-4
SJ-20150114102049-007|2015-01-15(R1.0)ZTEProprietaryandCondential
Chapter2IGMPConguration
StepCommandFunction
6ZXR10(config-mcast-igmp-if-interface-name)#join-g
roup<group-address>
Conguresastaticgroup
memberonanIGMPinterface
tosendreportmessages.Use
thenocommandtodeletethe
staticgroupmember.
7ZXR10(config-mcast-igmp-if-interface-name)#mro
ute-proxy<interface-name>
Conguresanupstream
interfaceoftheproxyfunction
foradownstreaminterface
(alsocalledarouterinterface).
The(*,G)entriesofthe
interfacearecontainedonthe
egressinterface.IGMPreport
messagescanbesentonthe
upstreaminterface.Usetheno
commandtorestorethedefault
conguration.
8ZXR10(config-mcast-igmp-if-interface-name)#prox
y-service
Congurestheproxyfunction
atthehostside.Report
messagescanbesenton
theinterface.Usetheno
commandtorestorethedefault
conguration.
CongureIGMPTimers
AfterenablingtheIGMPontheinterfacesofmulticastswitchesconnectingtotheshared
networksegment,selecttheoptimuminterfaceasthequerierofthisnetworksegment.
Thequeriersendsquerymessagestoobtaintheinformationofthegroupmembers.
Aftersendingthequerymessage,thequerierwaitsforthememberreportsentfromthe
hostthatreceivesthequerymessageforaperiod.Thewaitdurationisthemaximum
responsetimecarriedinthequerymessage.Bydefault,itis10seconds.
Afterreceivingthequerymessage,ahostmemberinthenetworksegmentreducesa
randomdeviationvaluebasedonthemaximumresponsetime.Thisresultisusedasthe
responsetimeofthehostmember.Duringthisperiod,ifthequerierreceivesareportfrom
anotherhostmember,thishostmembercancelsthereport.Otherwise,thehostmember
sendsthehostreportwhentheresponsetimeexpires.Therefore,prolongingthemaximum
responsetimewillincreasethewaitingchangesofagroupmemberinthenetworksegment
accordinglyanddecreasetheburstofmultiplehostreportsinthenetworksegment.
Thetimersrelatedtothequeriercanbeadjustedasrequired.
TocongureIGMPtimersontheZXR105900E,performthefollowingsteps:
2-5
SJ-20150114102049-007|2015-01-15(R1.0)ZTEProprietaryandCondential
ZXR105900ESeriesCongurationGuide(Multicast)
StepCommandFunction
1ZXR10(config-mcast-igmp-if-interface-name)#quer
y-interval<seconds>
SetstheIGMPqueryinterval.
<seconds>:range:1-65535
seconds,default:125
seconds.
2ZXR10(config-mcast-igmp-if-interface-name)#query
-max-response-time<seconds>
Setsthemaximumresponse
timecontainedinthequery
messages.
<seconds>:range:1-25
seconds,default:10seconds.
3ZXR10(config-mcast-igmp-if-interface-name)#queri
er-timeout<seconds>
SetstheIGMPqueriertimeout.
<seconds>:range:60-300
seconds,default:5*(query
interval*2+5)seconds.
4ZXR10(config-mcast-igmp-if-interface-name)#last-
member-query-interval<seconds>
SetstheIGMPqueryinterval
ofaspecicgroup.
<seconds>:range:1-25
seconds,default:1second.
5ZXR10(config-mcast-igmp-if-interface-name)#robu
stness-count<times>
Setstheallowednumberof
timesthatpacketsarelost.
<times>:range:2-7.
6ZXR10(config-mcast-igmp-if-interface-name)#unsoli
cited-report-interval<seconds>
Congurestheintervalof
sendingreportmessagesat
thehostsideforanupstream
interface.Range:1-25,
unit:seconds.Usetheno
commandtorestorethedefault
conguration.
7ZXR10(config-mcast-igmp-if-interface-name)#older-
version-querier-present<seconds>
Congurestheinterval
ofsendinghigher-version
reportmessageswhen
lower-versionquerymessages
arereceivedonanupstream
interface.Range:60-32000,
unit:seconds.Usetheno
commandtorestorethedefault
conguration.
2.3MaintainingIGMP
TomaintaintheIGMPfunctionontheZXR105900E,runthefollowingcommands.
2-6
SJ-20150114102049-007|2015-01-15(R1.0)ZTEProprietaryandCondential
/