Вы находитесь на странице: 1из 13

MQC > MLS

for Cisco Catalyst 29

Color legend Select From Menu Enter a value Reference


see comments for additional details

Guidelines
1. Fill all blude fields and green fields below
2. Resulting config will reflect hierarchy, and all other combinations
3. Check for errors below
4. Paste the config globaly and per interface

ERRORS: OK

interface speed 1000 Mbps/FULL DUPLEX


Hierarchical Shaping Yes
policy-map PARENT
class class-default
shape average 155 mbps
service-policy CHILD

policy-map CHILD
class class-1
match dscp cs5 ef none none
match cos 5 none none none
priority 20
queue-limit (KB) 256

class class-2
match dscp cs6 cs7 cs3 none
match cos 6 7 3 none
shape average percen 10
queue-limit (KB) 16

class class-3
match dscp cs1 none none none
match cos 1 none none none
bandwidth percent 10
queue-limit (KB) 8

class class-deafult
bandwidth percent 30 Creative Commons license (by-n
queue-limit (KB) 64

by Pavel Bykov
QC > MLS QOS conversion tool
Cisco Catalyst 2960, 2960G, 3560, 3560G, 3750, 3750G and 3750ME
simple configuration set

Check Resulting Config (copy/paste)


ional details

Interface Config
srr-queue bandwidth limit 16
priority-queue out
srr-queue bandwidth share 5 5 10 30
srr-queue bandwidth shape 0 10 0 0

none none none none


none none none none

none none none none


none none none none

none none none none


none none none none
Creative Commons license (by-nc-nd)

by Pavel Bykov
tool
d 3750ME

PASTE BOX

Global Config
mls qos srr-queue output dscp-map queue 4 threshold 1 0 1 2 3 4 5 6 7
mls qos srr-queue output dscp-map queue 4 threshold 1 8 9 10 11 12 13 14 15
mls qos srr-queue output dscp-map queue 4 threshold 1 16 17 18 19 20 21 22 23
mls qos srr-queue output dscp-map queue 4 threshold 1 24 25 26 27 28 29 30 31
mls qos srr-queue output dscp-map queue 4 threshold 1 32 33 34 35 36 37 38 39
mls qos srr-queue output dscp-map queue 4 threshold 1 40 41 42 43 44 45 46 47
mls qos srr-queue output dscp-map queue 4 threshold 1 48 49 50 51 52 53 54 55
mls qos srr-queue output dscp-map queue 4 threshold 1 56 57 58 59 60 61 62 63
mls qos srr-queue output cos-map queue 4 threshold 1 0 1 2 3 4 5 6 7
mls qos srr-queue output dscp-map queue 1 threshold 1 40 46
mls qos srr-queue output cos-map queue 1 threshold 1 5
mls qos srr-queue output dscp-map queue 2 threshold 1 48 56 24
mls qos srr-queue output cos-map queue 2 threshold 1 6 7 3
mls qos srr-queue output dscp-map queue 3 threshold 1 8
mls qos srr-queue output cos-map queue 3 threshold 1 1
mls qos queue-set output 1 buffers 23 57 10 10
mls qos queue-set output 1 threshold 1 2474 2474 35 2976
mls qos queue-set output 1 threshold 2 63 63 20 78
mls qos queue-set output 1 threshold 3 178 178 50 223
mls qos queue-set output 1 threshold 4 1423 1423 50 1712
mls qos map policed-dscp 0 1 2 3 4 5 6 7 to 8
mls qos map policed-dscp 9 10 11 12 13 14 15 16 to 8
mls qos map policed-dscp 17 19 21 22 23 24 25 26 to 8
mls qos map policed-dscp 27 28 29 30 31 32 33 34 to 8
mls qos map policed-dscp 35 36 37 38 39 40 41 42 to 8
mls qos map policed-dscp 43 44 45 46 47 48 49 50 to 8
mls qos map policed-dscp 51 52 53 54 55 56 57 58 to 8
mls qos map policed-dscp 59 60 61 62 63 to 8
mls qos map policed-dscp 18 20 to 22
srr-queue bandwidth limit 16
priority-queue out
srr-queue bandwidth share 5 5 10 30
srr-queue bandwidth shape 0 10 0 0

mls qos srr-queue output d 40 46


mls qos srr-queue output c 5
5 0
256

mls qos srr-queue output d 48 56 24


mls qos srr-queue output c 6 7 3
5 10
16

mls qos srr-queue output d 8


mls qos srr-queue output c 1
10 0
8
30 0
64
1st List 2nd List 3rd List 4Th Table 5th List 6th Table 7th List 8th List
Packets bps priority Name Dec none Select From the List Select FromNo
KBytes kbps bandwidth none 0 10 10 percent Yes
ms mbps bandwidth default 0 1 100 100 bps
shape aver cs1 8 2 1000 1000 kbps
shape aver af11 10 3 10000 10000 mbps
af12 12 4
af13 14 5
cs2 16 6
af21 18 7
af22 20
af23 22
cs3 24
af31 26
af32 28
af33 30
cs4 32
af41 34
af42 36
af43 38
cs5 40
ef 46
cs6 48
cs7 56
9th List 10th List 11th List
bandwidth percent kbps queue-limit (packets)
bandwidth kbps mbps queue-limit (KB)
shape average percent percent queue-limit (ms)
shape average kbps
Queue-Calculations

Sasquatch QoS buff


for Cisco Catalyst 2960, 2960G, 3560,
Values can be used to estimate buffer overs

Color legend input static automatic test


see comments for guidelines

BYTE CALCULATION
Queue Set 1

Buffer Segmentation (%)


Q1 Q2 Q3 Q4 NO ERROR
23% 57% 10% 10% OK
Queue Definition (Enter in true Kilobytes)
Threshold 1 Threshold 2 Threshold 3 Reserve System NO ERROR
Queue 1 256 256 256 3.6225 308 1
Queue 2 16 16 16 5.13 20 1
Queue 3 8 8 8 2.25 10 1
Queue 4 64 64 64 2.25 77 1

Percentage output
Threshold 1 Threshold 2 Threshold 3 Reserve System NO ERROR
Queue 1 2474.00% 2474.00% 2474.00% 35.00% 2976.00% 1
Queue 2 63.00% 63.00% 63.00% 20.00% 78.00% 1
Queue 3 178.00% 178.00% 178.00% 50.00% 223.00% 1
Queue 4 1423.00% 1423.00% 1423.00% 50.00% 1712.00% 1

Command Output Validity: OK


mls qos queue-set output 1 buffers 23 57 10 10
mls qos queue-set output 1 threshold 1 2474 2474 35 2976
mls qos queue-set output 1 threshold 2 63 63 20 78
mls qos queue-set output 1 threshold 3 178 178 50 223
mls qos queue-set output 1 threshold 4 1423 1423 50 1712

Simple-link
mls qos queue-set output 1 buffers 23 57 10 10
mls qos queue-set output 1 threshold 1 2474 2474 35 2976
mls qos queue-set output 1 threshold 2 63 63 20 78
mls qos queue-set output 1 threshold 3 178 178 50 223
mls qos queue-set output 1 threshold 4 1423 1423 50 1712

Page 11
Queue-Calculations

QoS buffer calculator


960, 2960G, 3560, 3560G 3750, 3750G and 3750ME
o estimate buffer oversubscription on ME3400 and ME3400E

Tests and statistics


Stability: Stable

Maximum queue capacity by packet type


Normal IPTV VOIP Custom
L3 Byte Size 1500 1356 200 256
Q1 176 205 1232 616
Q2 11 13 80 40
Q3 5 6 40 20
Q4 44 51 308 154

Sasquatch/CR Sasquatch 4G
Total (p) 8192 Total (p) 1536
Reserved 17% Reserved 14%
Max (p) 43160 Max (p) 6640
Wasted (p) 0% Wasted (p) 0%
Shared 83% Shared 86%
Oversub. 527% Oversub. 432%
Validity: Valid Validity: Valid

Creative Commons license (by-nc-nd)

by Pavel Bykov

Page 12
Queue-Calculations

Sasquatch 8G
Total (p) 1536
Reserved 28%
Max (p) 13280
Wasted (p) 0%
Shared 72%
Oversub. 865%
Validity: Valid

Creative Commons license (by-nc-nd)

y Pavel Bykov

Page 13

Вам также может понравиться