<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On 22 Feb 2011, at 18:00, <a href="mailto:redback-nsp-request@puck.nether.net">redback-nsp-request@puck.nether.net</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-style-span" style="-webkit-text-stroke-width: -1; ">I have metering, policing and pwfq policies in place with rate limits, does anybody know the command which will tell me if these rates are being matched and the current throughput rate for the policy.</span></div></blockquote><br></div><div>Hi Richard,</div><div><br></div><div>"sh circuit counters <subs ID> queue" will get you started:</div><div><br></div><div><div>Redback#sh circuit counters L2TP LNS 2064 queue</div><div>Circuit: L2TP LNS 2064, Internal id: 5/2/2064, Queue Policy: link-4q</div><div>Queue  Depth     (Pkts/Bytes) Sent            WRED Drops             Tail Drops</div><div> 0         0                234125                     0                      0</div><div>                          15945561                     0                      0</div><div> 1         0                 27365                     0                      0</div><div>                           2820133                     0                      0</div><div> 2         0              25452606                     0                      0</div><div>                        7677670353                     0                      0</div><div> 3         0              37254322                     0                   9743</div><div>                       28143558041                     0               14070564</div><div><br></div><div>of course that just gets you total sent bytes, but at least you can check if WRED is dropping anything or if you're filling any queues.</div><div><br></div><div>The most information comes from "show card X circuit handle <handle> detail", where X is the card number where the circuit you're interested in is bound, and the handle is the full circuit handle from "show subscribers active session <subs ID>".  Haven't really dug around to see if any published MIBs support this stuff yet, but my guess would be that it probably isn't too difficult for the "circuit counters" command, but that the blob of info you get in the "card" commands is pretty much internal.</div><div><br></div><div>Hope that helps...</div></div><div><br></div><div> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div>---</div><div> Blake Willis</div><div> Network Architect</div><div> iBrowse</div><div><br></div></span></span></div></body></html>