MES1000, MES2000 Ethernet Switches
211
console#
configure
console(config)#
policy-map
policy-map-name
console(config-pmap)#
class
class-map-name
[
access-group
acl- name
]
console(config-pmap-c)#
Table 5.254
—
Commands of the configuration mode for classification rules
Command
Value
Action
trust [cos | dscp | cos-dscp]
The trusted mode is not
set by default.
Defines the trusted mode for a certain type of traffic. The
command sets a value which will be used in QoS as internal
DSCP.
-
cos
—CoS is used as internal DSCP;
-
dscp
—DSCP of incoming packets is used as internal DSCP
(default value);
-
cos
-dscp—if incoming packets are IP packets, their DSCP is
used as internal DSCP; otherwise CoS is used.
Valid for the qos advanced mode only.
no trust
Sets the default value.
set
{dscp
new-dscp
|
queue
queue-id
|
cos
new-cos
}
new-dscp: (0–63)
queue-id: (1–8)
new-cos: (0–7)
Sets new values for IP packet.
The
set
and
trust
commands are mutually exclusive
for the same
policy-map
strategy.
The
policy-map
strategies which use
set
and
trust
commands or have an ACL classification are assigned
only to outgoing interfaces.
Valid for the qos advanced mode only.
no set
Deletes new values of IP packet.
police
committed-rate-kbps
committed -burst-byte
[
exceed-action
{drop
|
policed-dscp-transmit
}]
committed-rate: (3–
12,582,912) kbps
committed-burst: (3000–
19,173,960) bytes
Allows bandwidth limitation and at the same time guarantees
a certain data transfer rate.
The "marked bucket" algorithm is used for work with
bandwidth. The goal of the algorithm is to make a decision
whether to send or drop a packet. The algorithm parameters
are: the rate of token arrival to the "bucket" (CIR) and the
"bucket" size (CBS).
-
committed-rate-kbps
—average traffic rate, kbps. This rate is
guaranteed.
-
committed-burst-byte
—size of the burst threshold 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.
Valid for the qos advanced mode only.
no police
Disables channel rate configuration.
police agregate
aggregate-policer-name
(1–32) characters
Assigns a configuration template to a classification rule that
allows bandwidth limitation and at the same time guarantees
a certain data transfer rate.
Valid for the qos advanced mode only.
no police agregate
aggregate-policer-name
Removes the channel rate configuration template from the
traffic classification rule.
Commands for Interface Configuration of Ethernet Interface and a Group of Ports
Command line request in the interface configuration mode for Ethernet interface and a group of
ports appears as follows:
console(config-if)#