l
Run the
display traffic policy
{
interface
[
interface-type interface-number
] |
vlan
[
vlan-
id
] |
global
} [
inbound
|
outbound
] command to check the traffic policy information and
flow-based traffic statistics.
l
Run the
display traffic-policy
applied-record
[
policy-name
] command to check the
applied traffic policy.
----End
1.5 Configuring a Traffic Policy by Using Simplified QoS
Commands
By using simplified QoS commands, you can configure traffic monitoring, traffic statistics,
traffic redirection, traffic re-marking, and traffic mirroring. Compared with common QoS
commands, simplified QoS commands make the configuration procedures easier because you
do not need to create traffic classifiers, traffic behaviors, and traffic policies independently.
1.5.1 Establishing the Configuration Task
Before configuring a traffic policy by using simplified QoS commands, familiarize yourself with
the applicable environment, complete the pre-configuration tasks, and obtain the required data.
This helps you complete the configuration task quickly and accurately.
Applicable Environment
At the egress of the network, the S3700 functions as the edge node. To limit the traffic entering
the network, you can use simplified QoS commands to configure a traffic policy on the S3700.
Then the S3700 can provide differentiated services for different service flows based on the
parameters of the packets, such as the DSCP value, protocol type, IP address, port number, type
of the fragmented packets, and time range.
By using simplified QoS commands, you can configure traffic monitoring, traffic statistics,
traffic redirection, traffic re-marking, and traffic mirroring. Compared with common QoS
commands, simplified QoS commands make the configuration procedures easier because you
do not need to create traffic classifiers, traffic behaviors, and traffic policies independently.
Pre-configuration Tasks
Before configuring a traffic policy by using simplified QoS commands, complete the following
tasks:
l
Setting physical parameters of relevant interfaces
l
Configuring link layer attributes of relevant interfaces
l
Configuring the routing protocol to implement internetworking
l
Configuring an ACL if the ACL needs to be used to classify traffic
Data Preparation
To configure a traffic policy by using simplified QoS commands, you need the following data.
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.
27