–
Enter a value in the range of 0–7 to specify a priority for the packet.
–
If the priority of the user-side packet is copied according to user-cos, user-inner-cos, or
user-tos, you need to enter the default 802.1p priority of the packet (a value in the range
of 0–7). If the user-side packet does not carry a priority, the specified default 802.1p
priority of the packet is adopted as the priority of the upstream packet.
l
Keyword
priority-policy
must be entered to specify a scheduling policy for the downstream
packet. For details about the scheduling policies, see
.
Step 3
Run the
service-port
command to bind a proper traffic profile.
For the usage and parameters of this command, see the description in the Command Reference
in the related link. The following part describes only the key information in the configuration:
l
You need to enter parameters
rx-cttr
and
tx-cttr
and set values for the two parameters:
–
rx-cttr
: Indicates the traffic ID in the connection receiving direction (from the network
side to the user side). When you need to set the traffic profile in the connection receiving
direction, use this parameter.
–
tx-cttr
: Indicates the traffic ID in the connection transmitting direction (from the user
side to the network side). When you need to set the traffic profile in the connection
transmitting direction, use this parameter.
l
(Optional) Enter keyword
traffic-table
to add or modify the traffic profile referenced by the
service port.
l
(Optional) Enter keyword
user-encap
to select the encapsulation type of the packets on the
user side:
–
When the encapsulation type of the packets on the user side is IPoE, select
ipoe
.
–
When the encapsulation type of the packets on the user side is PPPoE, select
pppoe
.
----End
Example
Assume that the CIR is 2048 kbit/s, 802.1p priority of the upstream packet is 6, and the scheduling
policy of the downstream packet is Tag-In-Package. To add traffic profile 9 with these settings,
do as follows:
huawei(config)#
traffic table ip index 9 cir 2048 priority 6 priority-policy tag-In-
Package
Create traffic descriptor record successfully
------------------------------------------------
TD Index : 9
TD Name : ip-traffic-table_9
Priority : 6
Copy Priority : -
CTAG Mapping Priority: -
CTAG Default Priority: 0
Priority Policy : tag-pri
CIR : 2048 kbps
CBS : 67536 bytes
PIR : 4096 kbps
PBS : 133072 bytes
Color Mode : color-blind
Referenced Status : not used
------------------------------------------------
huawei(config)#
display traffic table ip index 9
------------------------------------------------
TD Index : 9
TD Name : ip-traffic-table_9
Priority : 6
Copy Priority : -
SmartAX MA5616 Multi-service Access Module
Configuration Guide
3 Basic Configuration
Issue 04 (2011-10-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
118