huawei(config-ospf-1-area-0.0.0.200)#network 192.168.1.0 0.0.0.255
huawei(config-ospf-1-area-0.0.0.200)#network 5.5.5.5 0.0.0.0
huawei(config-ospf-1-area-0.0.0.200)#return
Step 4 Configure a PWE3 outer tunnel.
Configure the tunnel ID to 20 and the encapsulation protocol of the tunnel interface at the data
link layer to MPLS IP.
huawei#config
huawei(config)#interface tunnel 20
huawei(config-if-tunnel20)#tunnel-protocol mpls ip
Configure the source IP address of the tunnel to 5.5.5.5.
huawei(config-if-tunnel20)#source 5.5.5.5
Configure the destination IP address of the tunnel to 7.7.7.7.
huawei(config-if-tunnel20)#destination 7.7.7.7
huawei(config-if-tunnel20)#quit
Step 5 Configure the tunnel policy.
Configure the policy name to atmpw-plcy.
huawei(config)#tunnel-policy atmpw-plcy
Info: New tunnel-policy is configured.
huawei(config-tunnel-policy-atmpw-plcy)#tunnel select-seq ip load-balance-number
1
huawei(config-tunnel-policy-atmpw-plcy)#quit
Step 6 Configure the PW parameters.
NOTE
Take the configuration of PW 20 for example. To configure the PW 21 and PW 22 based on the data plan using
the same steps.
1. Configure the PW ID to 20.
huawei(config)#pw-para 20
2. Configure the LSR ID of the peer PWE3 gateway in the PW. Configure the LSR ID of the
PWE3 gateway to 7.7.7.7.
huawei(config-pw-para-20)#peer-address 7.7.7.7
3. Configure the PW type to ATM NTo1 VCC.
huawei(config-pw-para-20)#pw-type atm nto1 vcc
4. Configure the PW to support the control word.
huawei(config-pw-para-20)#control-word
5. (Optional) Set the maximum number of concatenated ATM cells to 4.
huawei(config-pw-para-1)#max-atm-cells 4
6. (Optional) Set the maximum encapsulation delay of ATM cells to 10 ms.
huawei(config-pw-para-1)#max-encapcell-delay 10
7. Configure the tunnel policy used by the PW.
Configure the tunnel policy name to atmpw-plcy.
huawei(config-pw-para-20)#tnl-policy atmpw-plcy huawei(config-pw-para-20)#quit
Step 7 Configure a traffic profile.
1. For UBR services, set the upstream/downstream traffic profile to 20, CIR to off (limiting
rate only on BRAS), color policy to CoS, user-side packet mapping mode to outer-layer
802.1p, default 802.1p to 1, and priority policy to tag-in-package.
SmartAX MA5600T/MA5603T/MA5608T Multi-service
Access Module
Commissioning and Configuration Guide
4 Configuration Example of the Private Line Service
Issue 01 (2014-04-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
405