ZXR10ZSRV2CongurationGuide(IPv6)
InterfacePriM/SStaGw
1234::1/128S0
gei-5/51MI500::2
1234::1/128S0
gei-5/310SU300::2
4.3.6Example:ConfiguringLoadSharingfromStaticIPv6Routes
CongurationDescription
Loadsharingenablesthetrafcbeyondthebandwidthofasingleinterfacetobeallocated
tomultiplelinksevenly,thusloadbalancingonlinksisimplemented.AsshowninFigure
4-6,loadbalancingisimplementedthroughloadsharingbetweenstaticIPv6routes.
Figure4-6NetworkingDiagramofLoadSharingbetweenStaticRoutes
CongurationFlow
1.Congureinterfaceaddresses.CongureIPv6addressesonthedirectlyconnected
interfacesonR1andR2,andloopbackinterfaceaddressonR2.
2.ConguretwostaticIPv6routesonR1tothepeerloopbackinterfaceaddress.
Conguretheaddressesofthepeerendinterfacesthatareconnecteddirectlyasthe
nexthopaddressesofthetworoutes.TwostaticIPv6routesmusthavethesame
distancevalueandmetricvalue.
3.Thedefaultloadsharingmodeistheper-owloadsharing,anditcanbemodiedto
theper-packetloadsharingmode.
CongurationCommands
CongurationonR1:
R1(config)#interfacegei-1/1
R1(config-if-gei-1/1)#noshutdown
R1(config-if-gei-1/1)#ipv6enable
R1(config-if-gei-1/1)#ipv6address300::1/56
R1(config-if-gei-1/1)#ipload-sharingper-packet
/*Selectingtheper-packetloadsharingmode*/
R1(config-if-gei-1/1)#exit
R1(config)#interfacegei-1/2
R1(config-if-gei-1/2)#noshutdown
R1(config-if-gei-1/2)#ipv6enable
R1(config-if-gei-1/2)#ipv6address500::1/56
R1(config-if-gei-1/2)#ipload-sharingper-packet
4-12
SJ-20140504150128-018|2014-05-10(R1.0)ZTEProprietaryandCondential