Configuring traffic filtering
You can filter in or filter out traffic of a class by associating the class with a traffic filtering action. For
example, you can filter packets sourced from a specific IP address according to network status.
Configuration procedure
To configure traffic filtering:
Step
1.
Enter system view.
2.
Create a traffic class and
enter traffic class view.
3.
Configure match criteria.
4.
Return to system view.
5.
Create a traffic behavior
and enter traffic behavior
view.
6.
Configure the traffic
filtering action.
7.
Return to system view.
8.
Create a QoS policy and
enter QoS policy view.
9.
Associate the traffic class
with the traffic behavior in
the QoS policy.
10.
Return to system view.
11.
Apply the QoS policy.
12.
(Optional.) Display the
traffic filtering
configuration.
Command
system-view
traffic classifier classifier-name [ operator
{ and | or } ]
if-match [ not ] match-criteria
quit
traffic behavior be
havior-name
filter { deny | pe
rmit }
quit
qos policy policy-n
ame
classifier classifier-name behavior
behavior-name
quit
•
Applying the QoS policy to an
interface or PVC
•
Applying the Q
oS policy to the control
plane
display qos policy user-defined
[ policy-name ]
66
Remarks
N/A
By default, no traffic class is
configured.
By default, no match criterion
is configured.
N/A
By default, no traffic behavior
is configured.
By default, no traffic filtering
action is configured.
N/A
By default, no QoS policy is
configured.
By default, a traffic class is not
associated with a traffic
behavior.
N/A
Choose one of the application
destinations as nee
ded.
By default, no QoS policy is
ap
plied.
Available in any view.