Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Vincent Ng
TME, SPTG, CCIE#2097
vinng@cisco.com
Agenda
Software Architecture
Classifications, Features
Policymaps
QOS Features in 3.5 and 3.6
QOS Features in 3.7
QOS Features in 3.8
SysDB
QoS Manager
RP
LC
QoS MA
Net-IO
IM/IMP
QoS EA
QoS Programming on LC
QoS EA
QoS RM
FM
6
8
9
FAB LC
XBMA
2006 Cisco Systems, Inc. All rights reserved.
UIDB RM
TCAM RM
HFA
4
QoS Classifications
Prec/Dscp
Match Prec/Dscp
Set Prec/Dscp
Qos Group
Match qos-group
Set qos-group
Discard class
Set discard-class
Random-detect discard-class
Vlan/Dlci
Match Vlan/Dlci
MPLS:
Set mpls exp imposition
Random-detect exp
QoS Group
Discard class
Set discard-class is supported on ingress interfaces
also supported as a police set action.
Range: [0-7]
Range: [0-7]
QoS Actions
Shaping
Queue-limit
Bandwidth
Bandwidth remaining
WRED
Burst Value
Policing
SET Attributes
10
QoS Policy-maps
Flat Policy-map
Hierarhical Policy-maps:
L3/1C/nD
L3/nC/nD
L3/nC/mD
11
Policymap flatpolicy
class A
shape
police ..
class B
bandwidth ..
..
class class-default
Int serial0/2/0/0
dot1Q vlan 1
service-policy output flatpolicy
Int g0/2/0/0.1
dot1Q vlan 2
service-policy output flatpolicy
12
policymap parent
class class-default
shape average <>
service-policy child
Policymap child
class A
shape
police ..
class B
bandwidth ..
..
class class-default
Int g0/2/0/0
service-policy output parent
Int g0/2/0/0.1
dot1Q vlan 1
Int g0/2/0/0.2
dot1Q vlan 2
13
policymap parent
class class-default
shape average <>
service-policy child
Policymap child
class A
shape
police ..
class B
bandwidth ..
..
class class-default
Int g0/2/0/0.1
dot1Q vlan 1
service-policy output parent
Int g0/2/0/0.2
dot1Q vlan 2
service-policy output child
14
15
Policymap child2
.
Policymap child3
.
Int g0/2/0/0
service-policy output ncmd-parent
Int g0/2/0/0.1
dot1Q vlan 1
Int g0/2/0/0.2
dot1Q vlan 2
Int g0/2/0/0.3
dot1Q vlan 3
.
16
17
Policymap child2
.
Policymap child1
class A
police ..
set
class B
set
..
class class-default
police
Int g0/2/0/0.1
dot1Q vlan 1
Policymap child3
.
Int g0/2/0/0
service-policy output ncmd-ingress-parent
Int g0/2/0/0.2
dot1Q vlan 2
Int g0/2/0/0.3
dot1Q vlan 3
.
18
Tofab QoS
19
Tofab QoS
Apply to switch-fabric interface using:
switch-fabric service-policy <NAME>
20
21
3.5 Features
Dynamic Counters (E5)
MLPPP Dynamic Bandwidth QoS (E5+ only, chT3,
chOC3, chOC12)
Continue bit for dynamic WRED (Police+Wred)
Per Wred Label Stats max 3 labels per class
22
3.6 Features
QOS Scalability 1000 class-maps
MFR QOS FRF.16.1 and FRF.12 (E5 chT3/chOC3)
ACL Deny in classification
Multicast Wred for E3
Configurable LPTS Policers
23
3.7 Features
Hierarchical ingress policing L3 and L2:
The policymap allows the policier config with the parent level
by which the different type of traffics in the child policy can
be aggregated and policed . And this aggregation can be
across sub-interfaces also.
24
3.8 Features
In-place policy modification
Match-all
Multiple plain set actions L2 and L3
Match cos/set cos in L3 Intf
Enhanced Hierarchical Policer on E5 L2 and L3
New Policer Granularity
L2 FR QoS
L2 ATM QoS on E3
25
26
OR
Set mpls exp impression
Set qos-group
OR
Set mpls exp impression
Set discard-class
27
policy-map parent
class class-default
service policy child
police rate percent 50 << This will be reference bandwidth for child
child-conform-aware
conform-action transmit
exceed-action drop
28
class EF
exceed-action drop
class AF1
29
EHP Limitations
Limitations (Almost same as HIP)
Ingress direction only
Parent Policy
1. Match on VLAN or DLCI for nCmD and 1CnD
2. Only 1R2C policer with default conform and exceed action on
Parent policy-map
3. Parent policer rate should be greater than the sum of child policer rate.
Child Policy
1. No queue actions in Child (only police and set action)
2. No 2R3C policer and dynamic RED together in child.
30
Display Commands
sh qos int <> {input|output}
displays the classes, queue numbers, etc.
sh policy int <> [input|output|switch-fabric <slot>]
displays the per-class/match statistics of the
ingress/egress/switch-fabric policy.
31
32
33
Debugging
Qos EA commands:
debug qos control hardware classify
debug qos control hardware misc
FM commands:
debug feat-mgr api/detail/error/info location <>
show gsr feat-mgr trace for dumping FM ltrace
HFA:
debug pse action location <>
debug pse pmugger location <>
debug pse slogic location <>
TCAM:
debug pse tcam-rm ...
Qos RM:
debug qos control rm
34
35