05-14-2012 09:42 AM
We configured a input QoS policy on particular interface, where we are
forcing precendence, however noticed that the same is not being made.
In summary we have the following configuration:
RP/0/RP0/CPU0:CRS# sh run int hundredGigE 0/3/0/0
Mon May 14 16:19:54.009 DST
interface HundredGigE0/3/0/0
service-policy input XPTO
ipv4 bgp policy propagation input qos-group source
ipv4 address 10.10.10.1 255.255.255.252
ipv6 nd suppress-ra
carrier-delay up 5000 down 0
load-interval 30
!
RP/0/RP0/CPU0:CRS#sh run policy-map XPTO
Mon May 14 16:20:16.558 DST
policy-map XPTO
class class-qos10
set precedence 1
!
class class-qos20
set precedence 0
!
class class-default
!
end-policy-map
!
RP/0/RP0/CPU0:CRS#sh run class-map class-qos10
Mon May 14 16:20:23.409 DST
class-map match-any class-qos10
match qos-group 10
end-class-map
!
RP/0/RP0/CPU0:CRS#sh run class-map class-qos20
Mon May 14 16:20:26.210 DST
class-map match-any class-qos20
match qos-group 20
end-class-map
!
RP/0/RP0/CPU0:CRS#sh policy-map interface HundredGigE0/3/0/0
Mon May 14 16:20:05.718 DST
HundredGigE0/3/0/0 input: XPTO
Class class-qos10
Classification statistics (packets/bytes) (rate - kbps)
Matched : 6793713014812/5788911678523417 13070576
Transmitted : 6793713014812/5788911678523417 13070576
Total Dropped : 0/0 0
Queueing statistics
Queue ID : 49120
Taildropped(packets/bytes) : 0/0
Class class-qos20
Classification statistics (packets/bytes) (rate - kbps)
Matched : 59306695626/56107446620469 32982
Transmitted : 59306695626/56107446620469 32982
Total Dropped : 0/0 0
Queueing statistics
Queue ID : 49120
Taildropped(packets/bytes) : 0/0
Class class-default
Classification statistics (packets/bytes) (rate - kbps)
Matched : 54537026/4385234548 7
Transmitted : 54537026/4385234548 7
Total Dropped : 0/0 0
Queueing statistics
Queue ID : 49120
High watermark (bytes)/(ms) : 6552/0
Inst-queue-len (bytes)/(ms) : 0/0
Avg-queue-len (bytes)/(ms) : 2/0
Taildropped(packets/bytes) : 0/0
HundredGigE0/3/0/0 direction output: Service Policy not installed
RP/0/RP0/CPU0:CRS#sh cef 8.8.8.8
Mon May 14 16:20:33.329 DST
8.8.8.0/24, version 22, internal 0x4000001 (ptr 0x9e453b00) [1], 0x0 (0x0), 0x0 (0x0)
Updated May 8 08:20:04.329
Prefix Len 24, traffic index 0, precedence routine (0)
QoS Group: 10
via 10.10.10.2, 3 dependencies, recursive, bgp-ext [flags 0x20]
path-idx 0
next hop 10.10.10.2 via 10.10.10.0/30
As you can see here this prefix makes match on qos-group 10, so should be marked with a
precedence 1, but is marked with 0.
can help?
05-14-2012 10:43 AM
hi Luis,
Can you also supply the CEF hardware output, so we can check the precedence their as well. Use the CLI
"show cef 8.8.8.8 hardware ingress location 0/3/cpu0" and we'll look at the qos_precedence: value to see if it is also set to 0.
thx,
David
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide