Step 2
Run:
traffic behavior
behavior-name
A traffic behavior is created and the traffic behavior view is displayed.
Step 3
Run the following commands as required.
l
Run:
permit
The permit action is configured.
l
Run:
deny
The deny action is configured.
NOTE
l
If the
deny
action is configured, the packets matching a traffic classifier are discarded. The packets are
still discarded even if other actions except for the traffic statistics action are configured.
l
If the
permit
action is configured, the packets matching a traffic classifier are processed in order.
----End
Configuring the Re-marking Action
The re-marking action allows the S3700 to re-mark priorities of packets matching traffic
classification rules, such as the 802.1p priority of VLAN packets and DSCP value of IP packets.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
traffic behavior
behavior-name
A traffic behavior is created and the traffic behavior view is displayed.
Step 3
Run the following commands as required.
l
Run:
remark 8021p
[
8021p-value
|
inner-8021p
]
The 802.1p priority of the packets matching the traffic classification is re-marked.
NOTE
If
inner-8021p
is specified, the 802.1p priority in the inner tag of packets is re-marked to the outer tag.
l
Run:
remark vlan-id
vlan-id
The VLAN ID in the outer VLAN tag of the packets in a VLAN matching the traffic
classification is re-marked.
l
Run:
remark destination-mac
mac-address
The destination MAC address of the packets matching the traffic classification is re-marked.
S3700HI Ethernet Switches
Configuration Guide - QoS
1 Class-based QoS Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
19