ZXA10 C300 Configuration Manual (CLI)
ZXAN(config-if)#exit
ZXAN(config)#interface gei_1/21/2
ZXAN(config-if)#switchport vlan 10 tag
ZXAN(config-if)#exit
3.
Configure the IP address of the VLAN interfaces.
ZXAN(config)#interface vlan 10
ZXAN(config-if-vlan10)#ip address 30.1.1.2 255.255.255.0
ZXAN(config-if-vlan10)#exit
ZXAN(config)#interface vlan 12
ZXAN(config-if-vlan12)#ip address 20.1.1.1
255.255.255.0
ZXAN(config-if-vlan12)#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 12
ZXAN(config-if-vlan12)#mpls ip
ZXAN(config-if-vlan12)##exit
5.
Configure the routing protocol.
ZXAN(config)#router ospf 1
ZXAN(config-router)#network 3.3.3.3 0.0.0.0 area 0.0.0.0
ZXAN(config-router)#network 20.1.1.0 0.0.0.255 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)#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 1.1.1.1
ZXAN(config)#mpls ldp target-session 2.2.2.2
8.
Configure the VC.
ZXAN(config)#pw 1and1000pw
ZXAN(config-pw)#mode dynamic pwe3 fec128
ZXAN(config-pw)#pwtype ethernet-vlan
ZXAN(config-pw)#peer 1.1.1.1 router-id 1.1.1.1 vcid 1000
ZXAN(config)#pw 2and1000pw
ZXAN(config-pw)#mode dynamic pwe3 fec128
ZXAN(config-pw)#pwtype ethernet-vlan
ZXAN(config-pw)#peer 2.2.2.2 router-id 2.2.2.2 vcid 1000
ZXAN(config-pw)#exit
16-38
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 ...