212
MES1000, MES2000 Ethernet Switches
Table 5.255
—
Commands for interface configuration of Ethernet interface and a group of ports
Command
Value
Action
service-policy input
policy-map-name
(1–32) characters
Assigns a traffic classification strategy to an interface.
Interface supports only one traffic classification
strategy for one direction.
Valid for the qos advanced mode only.
no
service-policy input
Removes the traffic classification strategy from the interface.
traffic-shape
committed-rate
[
committed–burst
]
committed-rate: (36–
1,000,000) kbps
committed-burst:
(4096–
16,769,020) bytes
Limits outgoing traffic rate for the interface.
- committed-rate
—average traffic rate (CIR), kbps;
-
committed-burst
—size of the burst threshold (rate limit) in
bytes.
no traffic-shape
Removes the outgoing traffic rate limitation for the interface.
traffic-shape queue
queue-id
committed-rate
[
committed–burst
]
committed-rate: (36–
1,000,000) kbps
committed-burst: (4096–
16,769,020) bytes
queue-id: (0-8)
Limits traffic rate for the outgoing queue in the interface.
- committed-rate
—average traffic rate (CIR), kbps;
-
committed-burst
—size of the burst threshold (rate limit) in
bytes.
no traffic-shape queue
queue-id
Removes the traffic rate limitation for the outgoing queue in
the interface.
qos trust
-/enabled
Enables the basic QoS for the interface.
Valid for the qos basic mode only.
no qos trust
Disables the basic QoS for the interface.
rate-limit
rate
[
burst
]
rate:
(
3 – 1000000) kbps
burst: (3000– 19,173,960)
bytes / 128 kilobytes
Limits incoming traffic rate.
-
rate:
traffic speed, kbps
-
burst
: restrictive threshold value (speed limit) in bytes.
The command is available only in the Ethernet
interface configuration mode.
no rate-limit
Removes the incoming traffic rate limitation.
qos cos
default-cos
(0–7)/0
Sets the QoS default value for the port (the CoS value which is
used for all untagged traffic going through the interface).
The command is available only in the Ethernet
interface configuration mode.
no qos cos
Sets the default value.
EXEC Mode Commands
Command line request in the EXEC mode appears as follows:
console#
Table 5.256
—
EXEC mode commands
Command
Action
show qos
Displays the QoS mode configured for the device. Displays the trusted mode in the basic
mode.
show class-map
[
class-map-name
]
Displays lists of criteria used for traffic classification.
Valid for the qos advanced mode only.
show policy-map
[
policy-map-name
]
Displays traffic classification rules.
Valid for the qos advanced mode only.
show qos
aggregate
-
policer
[
aggregate-policer-name
]
Displays configuration of average rate and bandwidth limit for traffic classification rules.
Valid for the qos advanced mode only.
show qos interface
[
buffers
Displays interface QoS parameters.
-
vlan_id
—VLAN number (1–4049);