set cos port-config
11-24 Policy Classification Configuration
Defaults
Ifnotspecified,allCoSentrieswillbedisplayed.
Mode
Switchcommand,read‐only.
Example
ThisexampleshowshowtoshowallCoSsettings:
C2(su)->show cos settings
CoS Index Priority ToS IRL flood-ctrl
--------- ---------- ------- ------- ----------
0 0 48 * enabled
1 1 * * enabled
2 2 * * enabled
3 3 * * enabled
4 4 * * enabled
5 5 * * enabled
6 6 * * enabled
7 7 * * enabled
set cos port-config
Usethiscommandtocreateaportgroupforinboundratelimitingorfloodcontrolandaddor
removeportsfromthegroup.
Syntax
set cos port-config {irl|flood-ctrl} group-type-index [name name] [ports port-
list] [append] | [clear]
Parameters
Defaults
None.
irl Specifiesthatthisisan inboundratelimiting(IRL)portgroup.
flood‐ctrl Specifiesthatthisisafloodcontrolportgroup.
group‐type‐index Specifiesaninboundratelimiting portgroup/typeindex.Validentriesare
intheformofgroup#.port‐type.
Validvaluesforgroup#canrangefrom0to
7.Validvaluesforport‐type
canrangefrom0to1,althoughonlyporttype0iscurrentlysupported.
Forexample,portgroup3wouldbespecifiedas3.0.
namename (Optional)Userdefinednamefor thegroup.
portsport‐list (Optional)Portsassignedtothegroup.Allportsmust
beofthesameport
type(FastEthernet,GigabitEthernet).
append (Optional)Append(add)theports totheportsthatarealreadyinthe
group.
clear (Optional)Clearthegivenportsfromthoseassignedtothe group.