ZXA10 C300 Configuration Manual (CLI)
ZXAN(config)#interface vlan 10
ZXAN(config-if-vlan10)#ip address 10.1.1.2 255.255.255.0
ZXAN(config-if-vlan10)#exit
ZXAN(config)#interface vlan 11
ZXAN(config-if-vlan11)#ip address 11.1.1.1 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 2.2.2.2 0.0.0.0 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)#network 11.1.1.0 0.0.0.255 area 0.0.0.0
6.
Configure the GR function.
ZXAN(config-router)#nsf
ZXAN(config-router)#grace-period 180
ZXAN(config-router)#exit
7.
Enable the global MPLS function.
ZXAN(config)#mpls ldp router-id loopback1
ZXAN(config)#mpls ldp graceful-restart
ZXAN(config)#mpls ip
8.
Save the configuration data.
l
Configuration on C300-3.
1.
Configure the loopback interface.
ZXAN(config)#interface loopback1
ZXAN(config-loopback1)#ip address 3.3.3.3 255.255.255.255
ZXAN(config-loopback1)#exit
2.
Configure the VLAN of the uplink interfaces.
XAN(config)#interface gei_1/21/2
ZXAN(config-if)#switchport vlan 11 tag
ZXAN(config-if)#exit
3.
Configure the IP address of the VLAN interface.
ZXAN(config)#interface vlan 11
ZXAN(config-if-vlan11)#ip address 11.1.1.2 255.255.255.0
4.
Enable the MPLS on the VLAN interface.
ZXAN(config-if-vlan11)#mpls ip
16-22
SJ-20130520164529-007|2013-06-30 (R1.0)
ZTE Proprietary and Confidential