Configuring Policy Class of Service (CoS)
SecureStack C2 Configuration Guide 9-17
Port Type :0
Assigned Ports :ge.1.47-48
----------------------------------------------------------------------
2. Configurephysicalinboundratelimitersforeachportgroup.Fortheuserportgroup(1.0),
createanIRL(irl‐indexof1)for512kbps.Fortheuplinkportgroup(2.0),createanIRL(irl‐
indexof1)for10megabitspersecond(10,000kbps).
C2(su)->set cos port-resource irl 1.0 1 unit kbps rate 512
C2(su)->set cos port-resource irl 2.0 1 unit kbps rate 10000
C2(su)->show cos port-resource irl 1.0 1
Group Index Resource Type Unit Rate Rate Limit Type Action
----------- -------- ---- ---- ---------- --------------- ------
1.0 1 irl kbps 512 drop none
C2(su)->show cos port-resource irl 2.0 1
Group Index Resource Type Unit Rate Rate Limit Type Action
----------- -------- ---- ---- ---------- --------------- ------
2.0 1 irl kbps 10000 drop none
3. IntheCoSIRLreferencemappingtableforeachportgroup,createareferenceforeachIRL
resourcecreatedinthepreviousstep.Wewillusereferencenumber1.
C2(su)->set cos reference irl 1.0 1 rate-limit 1
C2(su)->set cos reference irl 2.0 1 rate-limit 1
C2(su)->show cos reference irl 1.0
Group Index Reference Type Rate Limiter
----------- --------- ---- ------------
1.0 0 irl none
1.0 1 irl 1
1.0 2 irl none
1.0 3 irl none
...
1.0 97 irl none
1.0 98 irl none
1.0 99 irl none
C2(su)->show cos reference irl 2.0
Group Index Reference Type Rate Limiter
----------- --------- ---- ------------
2.0 0 irl none
2.0 1 irl 1
2.0 2 irl none
2.0 3 irl none
...
2.0 97 irl none
2.0 98 irl none
2.0 99 irl none
4. IntheCoSsettingstable,configureaCoSsettingforCoSindex1,whichhasapriorityof0.We
entertheIRLreference,createdinthepreviousstep.
C2(su)->set cos settings 0 irl-reference 1
C2(su)->show cos settings
CoS Index Priority ToS IRL
--------- ---------- ------- -----
0 0 * 1
1 1 * *
2 2 * *