Chapter 16 MPLS Service Configuration
3.
Configure the IP address of the VLAN interfaces.
ZXAN(config)#interface vlan 10
ZXAN(config-if-vlan10)#ip address 30.1.1.1 255.255.255.0
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 PW class.
ZXAN(config)#pw-class pw1
ZXAN(config-pw-class)#control-word not-preferred
ZXAN(config-pw-class)#cctype type2
ZXAN(config-pw-class)#cvtype lsp-ping bfd-ipudp-fo
ZXAN(config-pw-class)#exit
9.
Configure the PWs.
ZXAN(config)#pw 2and1000pw
ZXAN(config-pw)#mode dynamic pwe3 fec128
ZXAN(config-pw)#pwtype ethernet
ZXAN(config-pw)#apply pw-class pw1
ZXAN(config-pw)#peer 2.2.2.2 router-id 2.2.2.2 vcid 1000
ZXAN(config-pw)#exit
16-101
SJ-20130520164529-007|2013-06-30 (R1.0)
ZTE Proprietary and Confidential
Содержание ZXA10 C300
Страница 8: ...VI SJ 20130520164529 007 2013 06 30 R1 0 ZTE Proprietary and Confidential ...
Страница 294: ...Tables This page intentionally left blank VI SJ 20130520164529 007 2013 06 30 R1 0 ZTE Proprietary and Confidential ...
Страница 301: ...Glossary VoIP Voice over Internet Protocol XIII SJ 20130520164529 007 2013 06 30 R1 0 ZTE Proprietary and Confidential ...