Configuring traffic filtering, Configuration procedure – H3C Technologies H3C S6300 Series Switches User Manual
Page 67
57
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 Command
Remarks
1.
Enter system view.
system-view N/A
2.
Create a traffic class and
enter traffic class view.
traffic classifier classifier-name [ operator
{ and | or } ]
By default, no traffic class
exists.
3.
Configure match criteria.
if-match match-criteria
By default, no match criterion
is configured.
4.
Return to system view.
quit
N/A
5.
Create a traffic behavior
and enter traffic behavior
view.
traffic behavior behavior-name
By default, no traffic behavior
exists.
6.
Configure the traffic
filtering action.
filter { deny | permit }
By default, no traffic filtering
action is configured.
If a traffic behavior has the
filter deny action, all the other
actions except for class-based
accounting in the traffic
behavior do not take effect.
7.
Return to system view.
quit
N/A
8.
Create a QoS policy and
enter QoS policy view.
qos policy policy-name
By default, no QoS policy
exists.
9.
Associate the traffic class
with the traffic behavior in
the QoS policy.
classifier classifier-name behavior
behavior-name
By default, a traffic class is not
associated with a traffic
behavior.
10.
Return to system view.
quit
N/A
11.
Apply the QoS policy.
•
Applying the QoS policy to an
interface
•
Applying the QoS policy to a VLAN
•
Applying the QoS policy globally
•
Applying the QoS policy to the control
Choose one of the application
destinations as needed.
By default, no QoS policy is
applied.
- H3C S5820V2 Series Switches H3C S5830 Series Switches H3C S5830V2 Series Switches H3C S3600V2 Series Switches H3C S6800 Series Switches H3C S3100V2 Series Switches H3C S12500-X Series Switches H3C S5560 Series Switches H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C S9800 Series Switches H3C S5130 Series Switches H3C S5120 Series Switches