11-19-2014 03:25 PM
set policy profile 1 name "limit_256kbps" cos-status enable cos 8
set policy profile 2 name "limit_512kbps" cos-status enable cos 9
set policy profile 3 name "limit_1Mbps" cos-status enable cos 10
set policy profile 4 name "limit_2Mbps" cos-status enable cos 11
set policy profile 5 name "limit_4Mbps" cos-status enable cos 16
set policy profile 6 name "limit_5Mbps" cos-status enable cos 20
set policy profile 7 name "limit_8Mbps" cos-status enable cos 32
set policy profile 8 name "limit_10Mbps" cos-status enable cos 40
set policy profile 9 name "limit_100Mbps" cos-status enable cos 255
set policy port ge.1.1 1
set policy port ge.1.2 2
set policy port ge.1.3 3
set policy port ge.1.4 4
set policy port ge.1.5 5
set policy port ge.1.6 6
set policy port ge.1.7 7
set policy port ge.1.8 8
set policy port ge.1.9 9
set policy port ge.1.13 1
set policy port ge.1.14 2
set policy port ge.1.15 3
set policy port ge.1.16 4
set policy port ge.1.17 5
set policy port ge.1.18 6
set policy port ge.1.19 7
set policy port ge.1.20 8
set policy port ge.1.21 9
set cos state enable
0-255
0
0-7
0-99
0-7
set cos settings 8 priority 0 irl-reference 1
set cos settings 9 priority 0 irl-reference 2
set cos settings 10 priority 0 irl-reference 4
set cos settings 11 priority 0 irl-reference 8
set cos settings 16 priority 0 irl-reference 16
set cos settings 20 priority 0 irl-reference 20
set cos settings 32 priority 0 irl-reference 32
set cos settings 40 priority 0 irl-reference 40
set cos settings 255 priority 0 irl-reference 99
0-99
0-99
set cos reference irl 0.0 1 rate-limit 1
set cos reference irl 0.0 2 rate-limit 2
set cos reference irl 0.0 4 rate-limit 4
set cos reference irl 0.0 8 rate-limit 8
set cos reference irl 0.0 16 rate-limit 16
set cos reference irl 0.0 20 rate-limit 20
set cos reference irl 0.0 32 rate-limit 32
set cos reference irl 0.0 40 rate-limit 40
set cos reference irl 0.0 99 rate-limit 99
0-99
set cos port-resource irl 0.0 1 unit kbps rate 256 type drop syslog enable trap enable
set cos port-resource irl 0.0 2 unit kbps rate 512 type drop syslog enable trap enable
set cos port-resource irl 0.0 4 unit kbps rate 1000 type drop syslog enable trap enable
set cos port-resource irl 0.0 8 unit kbps rate 2000 type drop syslog enable trap enable
set cos port-resource irl 0.0 16 unit kbps rate 4000 type drop syslog enable trap enable
set cos port-resource irl 0.0 20 unit kbps rate 5000 type drop syslog enable trap enable
set cos port-resource irl 0.0 32 unit kbps rate 8000 type drop syslog enable trap enable
set cos port-resource irl 0.0 40 unit kbps rate 10000 type drop syslog enable trap enable
set cos port-resource irl 0.0 99 unit kbps rate 100000 type drop syslog enable trap enable
show config policy
show policy profile all
show config cos
show cos state
show cos settings
show cos reference
show cos port-resource