
6-2
To do…
Use the command…
Remarks
Associate the class with the
traffic behavior in the QoS
policy
classifier
tcl-name behavior
behavior-name
—
Exit policy view
quit
—
To an interface
—
To online users
Applying the QoS policy to online
—
To a VLAN
Applying the QoS policy to a VLAN
—
Apply the
QoS
policy
Globally
Applying the QoS policy globally
—
Display the traffic filtering
configuration
display traffic behavior
user-defined
[
behavior-name
]
Optional
Available in any view
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
, Host is connected to GigabitEthernet 1/0/1 of Device.
Configure traffic filtering to filter the packets whose source port is 21 received on GigabitEthernet 1/0/1.
Figure 6-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
[DeviceA-acl-basic-3000] quit
# Create a class named
classifier_1
, and reference ACL 3000 in the class.
[DeviceA] traffic classifier classifier_1
[DeviceA-classifier-classifier_1] if-match acl 3000
[DeviceA-classifier-classifier_1] quit
Содержание S5120-EI Series
Страница 139: ...ii...
Страница 268: ...3 3 SwitchB system view SwitchB interface vlan interface 1 SwitchB Vlan interface1 ip address dhcp alloc...
Страница 328: ...i Table of Contents 1 Dual Stack Configuration 1 1 Dual Stack Overview 1 1 Configuring Dual Stack 1 1...
Страница 578: ...1 21 C...
Страница 739: ...1 12 Enable ARP detection based on 802 1X security entries SwitchB arp detection mode dot1x...
Страница 926: ...2 8...
Страница 942: ...ii Single Device Upgrade 3 4 IRF System Upgrade 3 5...
Страница 985: ...1 1...
Страница 1018: ...1 6...