Traffic filtering configuration, Traffic filtering overview, Configuring traffic filtering – H3C Technologies H3C WX3000E Series Wireless Switches User Manual
Page 49

42
Traffic filtering configuration
This chapter includes these sections:
•
•
•
Traffic filtering configuration example
NOTE:
•
The term "switch" or "device" in this chapter refers to the switching engine on a WX3000E
wired-wireless switch.
•
The WX3000E series comprises WX3024E and WX3010E wired-wireless switches.
•
The port numbers in this chapter are for illustration only.
Traffic filtering overview
You can filter in or filter out a class of traffic by associating the class with a traffic filtering action. For
example, you can filter packets sourced from a specific IP address or MAC address, and use time ranges
to implement periodical traffic filtering.
NOTE:
You can apply an ACL to a port to implement traffic filtering. For more information, see the chapter “
Configuring traffic filtering
Follow these steps to configure traffic filtering:
To do…
Use the command…
Remarks
Enter system view
system-view —
Create a class and enter class view
traffic classifier tcl-name [ operator
{ and | or } ]
—
Configure match criteria
if-match match-criteria
—
Return to system view
quit
—
Create a behavior and enter behavior
view
traffic behavior behavior-name —
Configure the traffic filtering action
filter { deny | permit }
Required
•
deny: Drops packets.
•
permit: Permits packets
to pass through.
Return to system view
quit
—