cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
362
Views
6
Helpful
3
Replies

Shaping on 7604 SPA interface - show policy-map question.

jkeeffe
Level 2
Level 2

When I apply a service policy that has shaping to a router interface, like on a 7206, the 'show policy-map int xxx' has a "Shaping Active" field that will show you if shaping is actually occurring as in this output:

BVU-RT7206A-MDF#sh policy-map int g0/3.82

GigabitEthernet0/3.82

Service-policy output: WAN-100MB-speed_with_10MB_voice_Imaging

Class-map: class-default (match-any)

2009821825 packets, 505756075940 bytes

30 second offered rate 6251000 bps, drop rate 0 bps

Match: any

Traffic Shaping

Target/Average Byte Sustain Excess Interval Increment

Rate Limit bits/int bits/int (ms) (bytes)

99920000/99920000 624500 2498000 2498000 25 312250

Adapt Queue Packets Bytes Packets Bytes Shaping

Active Depth Delayed Delayed Active

- 0 2009821859 3244902755 0 0 no <--- will show 'no' or 'yes'

** This output even shows how many packets have been delayed due to shaping.

-------------------

But when a shaping service policy is applied to a SPA routed interface, there is no such field to show whether shaping is active or not, or whether any packets have been queued due to shaping, as in this output:

ROC-7604-B#sh policy-map int g2/1/0.122

GigabitEthernet2/1/0.122

Service-policy output: WAN-ERG_with_24voice

Counters last updated 00:00:08 ago

Class-map: class-default (match-any)

7404685 packets, 3163108752 bytes

30 second offered rate 1811000 bps, drop rate 0 bps

Match: any

Queueing

queue limit 1998 packets

(queue depth/total drops/no-buffer drops) 0/0/0

(pkts output/bytes output) 7397565/3159181928

shape (average) cir 7992000, bc 31968, be 31968

target shape rate 7992000

How is one to know if shaping is active on a SPA interface?

3 Replies 3

Laurent Aubert
Cisco Employee
Cisco Employee

Hi,

You will know shaping is on if the queue depth is higher than 0 but it's real-time value so I agree you will notice it only when you are sending traffic around the CIR for a significant period of time.

HTH

Laurent.

May I request a counter be installed that will let us know how many packets have been shaped? Something that will let us know that this is working? Sometimes we end of going on faith that our configuration is working when there is no tangible sign that it is.

What would it take to get something like that going?

Hi,

For feature request, you need to work with your Cisco account team who could help you to build a business case.

HTH

Laurent.

Review Cisco Networking products for a $25 gift card