Chapter 16 MPLS Service Configuration
ZXAN(config-if-vlan10)#exit
ZXAN(config)#interface vlan 11
ZXAN(config-if-vlan11)#ip address 10.1.1.2 255.255.255.0
ZXAN(config-if-vlan11)#exit
4.
Enable the MPLS on the VLAN interfaces.
ZXAN(config)#interface vlan 10
ZXAN(config-if-vlan10)#mpls ip
ZXAN(config-if-vlan10)#exit
ZXAN(config)#interface vlan 11
ZXAN(config-if-vlan11)#mpls ip
ZXAN(config-if-vlan11)#exit
5.
Configure the routing protocol.
ZXAN(config)#router ospf 1
ZXAN(config-router)#network 1.1.1.1 0.0.0.0 area 0.0.0.0
ZXAN(config-router)#network 30.1.1.0 0.0.0.255 area 0.0.0.0
ZXAN(config-router)#network 10.1.1.0 0.0.0.255 area 0.0.0.0
ZXAN(config-router)#exit
6.
Enable the global MPLS function.
ZXAN(config)#vlan-reserve 4090 vpn
ZXAN(config)#ip mpls-forwarding enable
ZXAN(config)#mpls ldp router-id loopback1
ZXAN(config)#mpls ip
7.
Configure the LDP target session.
ZXAN(config)#mpls ldp target-session 2.2.2.2
ZXAN(config)#mpls ldp target-session 3.3.3.3
8.
Configure the PWs.
ZXAN(config)#pw 2and1000pw
ZXAN(config-pw)#mode dynamic pwe3 fec128
ZXAN(config-pw)#pwtype ethernet
ZXAN(config-pw)#peer 2.2.2.2 router-id 2.2.2.2 vcid 1000
ZXAN(config-pw)#exit
ZXAN(config)#pw 3and1000pw
ZXAN(config-pw)#mode dynamic pwe3 fec128
ZXAN(config-pw)#pwtype ethernet
ZXAN(config-pw)#peer 3.3.3.3 router-id 3.3.3.3 vcid 1000
ZXAN(config-pw)#exit
9.
Configure the PW redundancy group.
à
Non-negotiation, revertive, 1:1 mode
ZXAN(config)#pw-redundancy-group 2and3vcid1000
ZXAN(config-pw-group)#negotiation disable
ZXAN(config-pw-group)#protect-type 1by1
16-91
SJ-20130520164529-007|2013-06-30 (R1.0)
ZTE Proprietary and Confidential