---------------------------------------------------------------------------
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 MA5600T/MA5603T/MA5608T, the user access rate can be limited by either a traffic profile
or an ADSL 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. The index of the service port is 1, and the VPI and VCI of the service
port must be the same as the management VPI and VCI of the peer modem. Assume that
the management VPI and VCI of the modem are 1 and 39, and the access port ID is
0/2/0. To facilitate the maintenance of the service port, also configure the service port
description.
huawei(config)#
service-port 1 vlan 50 adsl 0/2/0 vpi 1 vci 39 inbound traffic-
table index 5 outbound traffic-table index 5
huawei(config)#
service-port desc 1 description Vlanid:50/adsl/vpi:1vci:39/
stacking
5.
Set the C-VLAN ID of the preset service port 1 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 1 10
huawei(config)#
stacking inner-priority service-port 1 4
Step 4
In the SHDSL access mode, follow this procedure.
1.
Configure an SHDSL profile. For details, see Configuring SHDSL Profiles. Add SHDSL
line profile 3 of the PTM type, with the maximum line rate 2048 kbit/s.
huawei(config)#
shdsl line-profile quickadd 3 ptm rate 512 2048
2.
Activate SHDSL port 0/3/1, and bind the preset SHDSL line profile 3 and the default
SHDSL alarm template (alarm template 1) to the port.
NOTE
By default, an SHDSL port is in the activated state. Before binding a profile or template to the port, you
must deactivate the port.
huawei(config)#
interface shl 0/3
huawei(config-if-shl-0/3)#
deactivate 1
huawei(config-if-shl-0/3)#
activate 1 3
huawei(config-if-shl-0/3)#
alarm-config 1 1
huawei(config-if-shl-0/3)#
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 CBS PIR PBS Pri Copy-policy Pri-Policy
(kbps) (bytes) (kbps) (bytes)
---------------------------------------------------------------------------
0 1024 34768 2048 69536 6 - tag-pri
SmartAX MA5600T/MA5603T/MA5608T Multi-service
Access Module
Commissioning and Configuration Guide
3 Configuring the DSLAM Services
Issue 01 (2014-04-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
282