201
• deny to forward packets without performing NetStream processing.
• permit to perform NetStream processing.
To configure QoS-based NetStream filtering:
To do… Use the command… Remarks
1. Enter system view.
system-view —
2. Define a class and enter its view.
traffic classifier tcl-name [ operator { and |
or } ]
—
3. Define a match criterion.
if-match match-criteria —
4. Quit the class view.
quit —
5. Create a traffic behavior and enter its
view.
traffic behavior behavior-name —
6. Configure the NetStream filtering
action for a traffic behavior.
netstream filter { deny | permit } Required
7. Quit the traffic behavior view.
quit —
8. Create a policy and enter its view.
qos policy policy-name —
9. Specify a behavior for a class in the
policy.
classifier tcl-name behavior behavior-name —
10. Quit the policy view.
quit —
Interface-based
In Layer 2 Ethernet interface view or Layer 3
Ethernet interface view:
qos apply policy policy-name { inbound |
outbound }
—
VLAN-based
In system view:
qos vlan-policy policy-name vlan vlan-id-list
{ inbound | outbound }
—
11. Apply a
QoS policy:
Globally
In system view:
qos apply policy policy-name global { inbound
| outbound }
—
NOTE:
For more information about class, traffic behavior, QoS policy, see
ACL and QoS Configuration Guide
.