After a traffic policy is applied, the system performs traffic policing for the packets
that pass through this interface and match traffic classification rules in the inbound or
outbound direction.
NOTE
It is recommended that you should not use the traffic policy containing the re-marking of the
802.p priority, the inner VLAN tag of QinQ packets, and the VLAN ID of packets in a VLAN
on the untagged interface in the outbound direction; otherwise, the information carried in the
packets may be incorrect.
l
Applying a traffic policy to a VLAN
1.
Run:
system-view
The system view is displayed.
2.
Run:
vlan
vlan-id
The VLAN view is displayed.
3.
Run:
traffic-policy
policy-name
{
inbound
|
outbound
}
A traffic policy is applied to the VLAN in the inbound or outbound direction.
Only one traffic policy can be applied to a VLAN in the inbound or outbound direction.
After a traffic policy is applied, the system performs traffic policing for the packets
that belong to a VLAN and match traffic classification rules in the inbound or
outbound direction.
----End
1.4.6 Checking the Configuration
After a traffic policy based on complex traffic classification is configured, you can view the
configuration of the traffic classifier, traffic behavior, and traffic policy.
Prerequisites
The configurations of the traffic policy based on complex traffic classification are complete.
Procedure
l
Run the
display acl
{
acl-number
|
all
} command to check the ACL rules.
l
Run the
display traffic-applied
[
interface
[
interface-type interface-number
] |
vlan
[
vlan-id
] ] {
inbound
|
outbound
} [
verbose
] command to check information about
traffic actions and ACL rules associated with a device, a VLAN, or an interface.
l
Run the
display traffic classifier
user-defined
[
classifier-name
] command to check the
traffic classifier on the S3700.
l
Run the
display traffic behavior
user-defined
[
behavior-name
] command to check the
traffic behavior configuration.
l
Run the
display traffic policy
user-defined
[
policy-name
[
classifier
classifier-name
] ]
command to check the traffic policy information.
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.
26