MES53xx, MES33xx, MES23xx Ethernet Switch Series
183
Table 5.212. Global configuration mode commands
Command
Value/Default value
Action
qos [basic | advanced]
-/basic
Enable QoS in the switch.
-
basic
- QoS basic mode;
-
advanced
- QoS advanced configuration mode that provides
all QoS configuration commands.
class-map
class_map_name
[match-all | match-any]
class_map_name: (1..32)
characters
The match-all option is
used by default
1. Create a list of criteria for traffic classification.
2. Enter the traffic classification criteria configuration mode.
-
match-all
- all criteria from this list must be met;
-
match-any
- any criterion from this list can be met.
The list of criteria may have one or two rules. If it has
two rules that specify different ACL types (IP, MAC),
the first correct rule of the list will be used.
Applicable only for the QoS advanced mode.
no class-map
class_map_name
Remove a list of traffic classification criteria.
policy-map
policy_map_name
policy_map_name: (1..32)
characters
1. Create a traffic classification strategy.
2. Enter the traffic classification strategy configuration mode.
Only one traffic classification strategy per direction is
supported.
By default, the policy-map value is set to DSCP = 0 for IP
packets and CoS = 0 for tagged packets.
Applicable only for the QoS advanced mode.
no policy-map
policy_map_name
Remove a traffic classification rule.
qos aggregate
-
policer
aggregate_policer_name
committed_rate_kbps
excess_burst_byte
*exceedaction ,drop |
policed-dscp-transmit}]
aggregate_policer_name:
(1..32) characters;
committed_rate_kbps:
(3..57982058) kbps;
excess_burst_byte:
(3000..19,173,960) bytes
Define a configuration template that limits bandwidth while
guaranteeing a certain data transfer rate.
The “marked bucket” algorithm is used to reduce the
bandwidth. The algorithm decides whether to send or drop
the packet. Algorithm's parameters are the incoming rate (CIR)
of markers to the "bucket" (CIR) and the "bucket" size (CBS).
-
committed-rate-kbps
- the average traffic rate. This rate is
assured for data transmission;
-
committed-burst-byte
- committed burst size in bytes;
-
drop
- a packet will be drop if the "bucket" is full;
-
policed-dscp-transmit
- if the "bucket" is full, the DSCP value
will be overwritten.
A configuration template cannot be deleted if it is
used in the policy map strategy. Delete the template
assignment before deleting the strategy template with the
following command: no police aggregate
aggregate-policer-
name
.
Applicable only for the QoS advanced mode.
no qos aggregate
-
policer
aggregate_policer_name
Delete a channel rate configuration template.
wrr-queue cos-map
queue_id cos1…cos8
queue-id: (1..8);
cos1…cos8: (0..7);
The default values:
CoS = 1 - queue 1
CoS = 2 - queue 2
CoS = 0 - queue 3
CoS = 3- queue 4
CoS = 4 - queue 5
CoS = 5 - queue 6
CoS = 6 - queue 7
CoS = 7 - queue 8
Define CoS values for outgoing traffic queues.
no wrr-queue cos-map
[
queue_id
]
Set the default values.
wrr-queue bandwidth
weight1..weight8
weight: (0..255)/1
The default weight of any
queue is 1.
Specify the transmit queue weights used in the WRR
(Weighted Round Robin) mechanism.
no wrr-queue bandwidth
Set the default value.