ZXA10C300CongurationManual(CLI)
ZXAN(config-loopback1)#exit
2.ConguretheVLANoftheuplinkinterface.
ZXAN(config)#interfacegei_1/21/1
ZXAN(config-if)#switchportvlan11tag
ZXAN(config-if)#exit
3.ConguretheIPaddressoftheVLANinterface.
ZXAN(config)#interfacevlan11
ZXAN(config-if-vlan11)#ipaddress10.1.1.1255.255.255.0
4.EnabletheMPLSontheVLANinterface.
ZXAN(config-if-vlan11)#mplsip
ZXAN(config-if-vlan11)#exit
5.Conguretheroutingprotocol.
ZXAN(config)#routerospf1
ZXAN(config-router)#network2.2.2.20.0.0.0area0.0.0.0
ZXAN(config-router)#network10.1.1.00.0.0.255area0.0.0.0
ZXAN(config-router)#exit
6.EnabletheglobalMPLSfunction.
ZXAN(config)#vlan-reserve4090vpn
ZXAN(config)#ipmpls-forwardingenable
ZXAN(config)#mplsldprouter-idloopback1
ZXAN(config)#mplsip
7.ConguretheLDPtargetsession.
ZXAN(config)#mplsldptarget-session1.1.1.1
8.CongurethePW.
ZXAN(config)#pw1and1000pw
ZXAN(config-pw)#modedynamicpwe3fec128
ZXAN(config-pw)#pwtypeethernet
ZXAN(config-pw)#peer1.1.1.1router-id1.1.1.1vcid1000
ZXAN(config-pw)#exit
9.CongurethePWredundancygroup.
àNon-negotiation,revertive,1:1mode
Youmayskipthisstep.
àNon-negotiation,non-revertive,1+1mode
Youmayskipthisstep.
àNegotiation,slave,non-revertive,1:1mode
ZXAN(config)#pw-redundancy-group2and3vcid1000
ZXAN(config-pw-group)#negotiationenableslave
ZXAN(config-pw-group)#protect-type1by1
ZXAN(config-pw-group)#protectmodenon-revertive
16-84
SJ-20130520164529-007|2013-06-30(R1.0)ZTEProprietaryandCondential