huawei(config-if-vdsl-0/1)#
activate 0 template-index 3
huawei(config-if-vdsl-0/1)#
alarm-config 0 1
huawei(config-if-vdsl-0/1)#
quit
3.
Run the
display traffic table
command to query the existing traffic profiles in the system.
huawei(config)#
display traffic table ip from-index
0
{ <cr>|to-
index<K> }:
Command:
display traffic table ip from-index
0
----------------------------------------------------------------------------
TID CIR(kbps) CBS(bytes) PIR(kbps) PBS(bytes) Pri Copy-policy Pri-
Policy
----------------------------------------------------------------------------
0 1024 34768 2048 69536 6 - tag-
pri
1 2496 81872 4992 163744 6 - tag-
pri
2 512 18384 1024 36768 0 - tag-
pri
3 576 20432 1152 40864 2 - tag-
pri
4 64 4048 128 8096 4 - tag-
pri
5 2048 67536 4096 135072 0 - tag-
pri
6 off off off off 0 - tag-
pri
----------------------------------------------------------------------------
Total Num : 7
According to service requirements, the user access rate is 2048 kbit/s. The query result
shows that traffic profile 5 (for inbound and outbound rate limitation) meets the
requirements.
NOTE
l
If a matched traffic profile is not available in the system, run the
traffic table ip
command to configure
a new traffic profile.
l
On the MA5616, the user access rate can be limited by either a traffic profile or a VDSL line profile.
When both profiles are configured, the smaller one of the two rates configured in the profiles is adopted
as the user bandwidth. In this example, the traffic profile is used to limit the user access rate.
4.
Run the
service-port
command to create a service port, adopt traffic profile 5, and set the
S-VLAN ID to 50. Set the VDSL channel mode to PTM, and create service port 3 on VDSL
port 0/1/0. To facilitate the maintenance of the service port, also configure the service port
description.
huawei(config)#
service-port 3 vlan 50 vdsl mode ptm 0/1/0 inbound traffic-
table
index 5 outbound traffic-table index 5
huawei(config)#
service-port desc 3 description Vlanid:50/vdsl/vpi:1vci:39/
stacking
5.
Set the C-VLAN ID of the preset service port 3 to 10 for identifying the user. Configure
the important user packet with a higher priority so that the user packet can be processed
with precedence, and set the priority of the inner VLAN to 4.
huawei(config)#
stacking label service-port 3 10
huawei(config)#
stacking inner-priority service-port 3 4
SmartAX MA5616 Multi-service Access Module
Configuration Guide
8 Configuration Example of Services on the MA5616
Through GPON Upstream Transmission
Issue 04 (2011-10-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
326