Qtech QSW-2100-12T [202/348] Configuring traffic classification rules

Qtech QSW-2100-12T [202/348] Configuring traffic classification rules
QTECH QSW-2100-12T Configuration Guide (CLI)
7 QoS
186
7.5.4 Configuring traffic classification rules
Configure traffic classification rules for the QSW-2100-12T as below.
Step
Command
Description
1
QTECH#config
Enter global configuration mode.
2
QTECH(config)#class-map
class-map-name
[ match-all |
match-any ]
Create traffic classification and enter
traffic classification cmap configuration
mode.
3
QTECH(config-cmap)#match
{ access-list-map | ip-
access-list | ipv6-access-
list | mac-access-list }
acl-
number
(Optional) configure traffic classification
over ACL rule. The ACL rule must be
defined firstly and the type must be
permit.
4
QTECH(config-cmap)#match
class-map
class-map-name
(Optional) configure traffic classification
over traffic classification rule. The
pursuant traffic classification must be
created and the matched type must be
identical with the traffic classification
type.
5
QTECH(config-cmap)#match cos
cos-value
(Optional) configure traffic classification
over CoS priority of packets.
6
QTECH(config-cmap)#match
inner-vlan
inner-vlan-value
outer-vlan
outer-vlan-value
(Optional) configure traffic classification
based on inner and outer VLANs of
packets.
7
QTECH(config-cmap)#match ip
dscp
dscp-value
(Optional) configure traffic classification
over DSCP priority or IP priority rule.
8
QTECH(config-cmap)#match vlan
vlan-list
[ double-tagging
inner ]
(Optional) configure traffic classification
over VLAN ID rule of VLAN packets.
When the matched type of a traffic classification is match-all, the matched
information may have conflict and the configuration may fail.
Traffic classification rules must be created for traffic classification; namely, the
match parameter must be configured.
For traffic classification quoted by traffic policy, do not modify traffic classification
rule; namely, do not modify the match parameter of traffic classification.
7.5.5 Creating rate limit rule and shapping rule
When user needs to take rate limit to packets based on traffic policy, please create token
bucket and set rate limit and shaping rule to token bucket as well as quote this rule to traffic
classification bound to traffic policy.
Create rate limiting rules and shapping rule for the QSW-2100-12T as below.

Содержание

Скачать