Configuring packet filtering – ATL Telecom R1-SW Ethernet Switch User Manual
Page 194
![background image](https://www.manualsdir.com/files/812238/content/doc194.png)
R1-SW24L2B User’s Manual
9-26
Configuring Packet Filtering
In a policy-map, you can add criteria for filtering a traffic class or forwarding it to the internal
system processor.
To add a criterion for deciding whether filtering packets or forwarding, perform this task in the
Global configuration mode.
Table 9-5 Configuring packet filtering of a traffic class in a policy map
Command
Task
qos
1.
Enter QoS configuration mode.
policy-map
map-name> 2. Create a policy map and enter policy-map configuration mode. y class 3. Specify the class to which the policy map applies and enter policy-map- class configuration mode. filter {deny| permit |to-proc} 4. Select the filtering method of the traffic class. y deny: Discard the traffic. y permit: Forward the traffic. y to-proc: Send the traffic to the CPU. class2 in the policy map policy1 : (config)# qos (config-qos)# policy-map policy1 (config-pmap)# class class2 (config-pmap-c)# filter deny (config-pmap-c)#
y
This example configure to discard the traffic class