huawei(config)#
interface adsl 0/2
huawei(config-if-adsl-0/2)#
deactivate 0
huawei(config-if-adsl-0/2)#
activate 0 template-index 3
huawei(config-if-adsl-0/2)#
alarm-config 0 1
huawei(config-if-adsl-0/2)#
quit
3.
Run the
display traffic table ip
command to query the traffic profiles that exist 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 requirement, the user access rate is 2048 kbit/s. The query result shows
that traffic profile 5 meets the requirement.
NOTE
l
If no traffic profile in the system meets the service requirement, 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 an ADSL line profile.
When both profiles are configured, the user bandwidth adopts the minimum value in the two profiles.
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. The index of the new service port
is 1, the access port is port 0/2/0, traffic profile 5 meets the service requirement, and the S-
VLAN is VLAN 50. The VPI and VCI 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. 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 MA5616HW/Vlanid:50/adsl/smart
5.
Set the maximum number of MAC addresses that can be learned by the service port is 16.
This parameter is to limit the maximum number of the MAC addresses that can be learned
by one account, namely the maximum number of the PCs that can access the Internet
through one account.
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.
330