Chapter16MPLSServiceConguration
ZXAN(config)#interfaceloopback1
ZXAN(config-loopback1)#ipaddress3.3.3.3255.255.255.255
ZXAN(config-loopback1)#exit
2.ConguretheVLANoftheuplinkinterfaces.
XAN(config)#interfacegei_1/21/2
ZXAN(config-if)#switchportvlan11tag
ZXAN(config-if)#exit
3.ConguretheIPaddressoftheVLANinterface.
ZXAN(config)#interfacevlan11
ZXAN(config-if-vlan11)#ipaddress11.1.1.2255.255.255.0
4.EnabletheMPLSontheVLANinterface.
ZXAN(config-if-vlan11)#mplsip
ZXAN(config-if-vlan11)#exit
5.Conguretheroutingprotocol.
ZXAN(config)#routerospf1
ZXAN(config-router)#network3.3.3.30.0.0.0area0.0.0.0
ZXAN(config-router)#network11.1.1.00.0.0.255area0.0.0.0
ZXAN(config-router)#exit
6.EnabletheglobalMPLSfunction.
ZXAN(config)#mplsldprouter-idloopback1
ZXAN(config)#vlan-reserve4090vpn
ZXAN(config)#mplsip
7.Savecongurationdata.
Result
Executethecommandpingmplsipv43.3.3.332repeat1000onC300-1.Thepingis
successful.
16.1.2ConfiguringtheStaticLSP
ThestaticLSPisusedinMPLSL2VPN.
NetworkingDiagram
Figure16-3showsthenetworkingdiagramofthestaticLabelSwitchedPath(LSP)
conguration.
16-5
SJ-20130520164529-007|2013-06-30(R1.0)ZTEProprietaryandCondential