Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Traffic Shaping on interface, but show pvc says "inactive"

Status
Not open for further replies.

runlikeanantelope

IS-IT--Management
Aug 26, 2005
26
US
I applied traffic-shaping to my serial interface, created a class map, and applied it to the subinterface as follows:

interface Serial0/0
no ip address
encapsulation frame-relay IETF
no ip route-cache
no ip mroute-cache
no fair-queue
frame-relay traffic-shaping
frame-relay lmi-type ansi

interface Serial0/0.37 point-to-point
description Frame Relay to Healthpoint
ip address 10.1.4.3 255.255.255.0
no ip route-cache
no ip mroute-cache
frame-relay class GHS128K
frame-relay interface-dlci 37

map-class frame-relay GHS128K
frame-relay traffic-rate 128000 128000
frame-relay adaptive-shaping becn
frame-relay cir 128000


However, when I do a show frame-relay pvc this is what I get. It shows pckts and bytes delayed, but shaping says "inactive". What did I miss?


GATEWAY#show frame-relay pvc 37

PVC Statistics for interface Serial0/0 (Frame Relay DTE)

DLCI = 37, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0/0.37

input pkts 9264422 output pkts 9316044 in bytes 1891264888
out bytes 3734785386 dropped pkts 0 in FECN pkts 0
in BECN pkts 798 out FECN pkts 0 out BECN pkts 0
in DE pkts 345184 out DE pkts 0
out bcast pkts 51138 out bcast bytes 17028954
5 minute input rate 124000 bits/sec, 10 packets/sec
5 minute output rate 2000 bits/sec, 6 packets/sec
Shaping adapts to BECN
pvc create time 5w0d, last time pvc status changed 4w2d
cir 128000 bc 128000 be 0 byte limit 2000 interval 125
mincir 64000 byte increment 2000 Adaptive Shaping BECN
pkts 6215 bytes 978874 pkts delayed 778 bytes delayed 354286
shaping inactive
traffic shaping drops 0
Queueing strategy: fifo
Output queue 0/40, 0 drop, 778 dequeued
GATEWAY#

 
This is perhaps a shot in the dark but try setting the following:

map-class frame-relay GHS128K
frame-relay mincir xxxxxx

where xxxxxx is the minimum CIR you want to support.

I've seen problems with CBWFQ if you don't configure a mincir on frame relay.
 
I added that so now the map is:

map-class frame-relay GHS128K
frame-relay traffic-rate 128000 128000
frame-relay adaptive-shaping becn
frame-relay cir 128000
frame-relay bc 120000
frame-relay be 8000
frame-relay mincir 128000

But still shows "shaping inactive"

GATEWAY#show frame-relay pvc 37

PVC Statistics for interface Serial0/0 (Frame Relay DTE)

DLCI = 37, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0/0.37

input pkts 11115875 output pkts 11088983 in bytes 2365075628
out bytes 4467554 dropped pkts 177 in FECN pkts 0
in BECN pkts 798 out FECN pkts 0 out BECN pkts 0
in DE pkts 477511 out DE pkts 0
out bcast pkts 61327 out bcast bytes 20421891
5 minute input rate 5000 bits/sec, 2 packets/sec
5 minute output rate 3000 bits/sec, 2 packets/sec
Shaping adapts to BECN
pvc create time 6w0d, last time pvc status changed 5w3d
cir 120000 bc 120000 be 8000 byte limit 2875 interval 125
mincir 128000 byte increment 1875 Adaptive Shaping BECN
pkts 1778977 bytes 565439188 pkts delayed 374126 bytes delayed 306752684
shaping inactive
traffic shaping drops 0
Queueing strategy: fifo
Output queue 0/40, 177 drop, 374126 dequeued
GATEWAY#
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top