show cos port-resource
Example
This example sets the inbound rate limit resource index number 1 for port group 2.0 to 10000 Kbps
or 1 MB:
D2(su)->set cos port-resource irl 2.0 1 unit kbps rate 10000 type drop
show cos port-resource
Use this command to display the IRL port resources.
Syntax
show cos port-resource [irl [group-type-index [irl-index]]]
Parameters
irl
group‐type‐index
irl‐index
Defaults
If a port group and IRL index are not specified, the IRL configuration for all resources (0‐99) for all
configured port groups will be shown.
Mode
Switch command, read‐only.
Example
This example displays the IRL resource index number 1 configuration for group 2.0.
D2(su)->show cos port-resource irl 2.0 1
'?' after the rate value indicates an invalid rate value
Group Index Resource Type Unit
----------- -------- ---- ---- ----------
2.0
clear cos port-resource
Use this command to set the inbound rate limit in Kbps.
Syntax
clear cos port-resource irl {all | group-type-index [irl-index [unit] [rate]
[type]]}
9-26 Policy Classification Configuration
(Optional) Specifies that inbound rate limiting port resources should be
displayed.
(Optional) Specifies an inbound rate limiting port group/type index. Valid
entries are in the form of group#.port‐type.
Valid values for group# can range from 0 to 7. Valid values for port‐type
can range from 0 to 1, although only port type 0 is currently supported.
For example, port group 3 would be specified as 3.0.
(Optional) Inbound rate limiter resource index configured for the
specified port group. Valid values range from 0 to 99.
1
irl
kbps 10000
Rate
Rate Limit Type Action
--------------- ------
drop
none