Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Trafic-shape and network management

How can I read, with snmp, the value of the variable shaping return by the command sh traffic-shape statistics ?

example :

esnrmtn1>sh traf st

Access Queue Packets Bytes Packets Bytes Shaping

I/F List Depth Delayed Delayed Active

Fa0/0 120 0 127944 18732611 5761 4637875 no

Fa0/0 160 0 49053 17851824 10355 9111266 no


Thanks in advance


Re: Trafic-shape and network management

To read a value from the router, first you must enable SNMP on the router. This will allow the router to respond to the queries from the Network Management Station, such as Cisco Works. See the following link to configure router for SNMP:

Once your router is configured forSNMP, your Network Management Station can query for any SNMP object on the router and get the values. You must look for the "shaping Active" in the NMS and query the router. Not sure how to do this. I guess, it will be different for different NMS.


New Member

Re: Trafic-shape and network management

Thanks for your answer.

I have done all snmp definition and i am reading a lot of varaibale but i dont found the specific one for the traffic-shape. Could you please help me to find

the right mib.

Thanks in advance Gilles

New Member

Re: Trafic-shape and network management

Go to and use the search utility...

Type in "traffic shaping" and clear all choices less Cisco and IETF RFCs...This will give you a list you can go thru and select the items you want...

On the left hand side of the search results is a "Viewing Mode" and I usually use TEXT since that will provide the whole mib...

If you are not comfortable on reading mibs you can read off the FAQs or check out CIsco's SNMP overview:

Hope that helps..