Traffic Filtering Configuration Example - H3C S5120-EI Series Configuration Manual

Acl and qos
Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

To do...
Exit behavior view
Create a policy and enter policy
view
Associate the class with the
traffic behavior in the QoS
policy
Exit policy view
To an interface
Apply the
To online users
QoS
To a VLAN
policy
Globally
Display the traffic filtering
configuration
With filter deny configured for a traffic behavior, the other actions (except class-based accounting) in
the traffic behavior do not take effect.

Traffic Filtering Configuration Example

Traffic Filtering Configuration Example
Network requirements
As shown in
Figure
Configure traffic filtering to filter the packets whose source port is 21 received on GigabitEthernet 1/0/1.
Figure 7-1 Network diagram for traffic filtering configuration
Configuration procedure
# Create advanced ACL 3000, and configure a rule to match packets whose source port number is 21.
<DeviceA> system-view
[DeviceA] acl number 3000
[DeviceA-acl-basic-3000] rule 0 permit tcp source-port eq 21
Use the command...
quit
qos policy policy-name
classifier tcl-name behavior
behavior-name
quit
Applying the QoS policy to an interface
Applying the QoS policy to online users
Applying the QoS policy to a VLAN
Applying the QoS policy globally
display traffic behavior user-defined
[ behavior-name ]
7-1, Host is connected to GigabitEthernet 1/0/1 of Device.
7-2
Remarks
Optional
Available in any view

Advertisement

Table of Contents
loading

Table of Contents