cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3991
Views
5
Helpful
1
Replies

Find OID of QoS service policy counters

joopv
Level 1
Level 1

We would like to graph some counters from a service policy that is applied to an interface.

 

How do i find the correct OID to read with my snmp tooling?  See below red variables.

I found that it should be somewhere below the .1.3.6.1.4.1.9.9.166.1. tree.  But that's as far as i come.  Any help would be appreciated!

 

ROUTER#sh snmp mib ifmib ifindex gi0/1.1052
Interface = GigabitEthernet0/1.1052, Ifindex = 13


ROUTER#sh policy-map int gi0/1.1052       
 GigabitEthernet0/1.1052

  Service-policy input: POLICE-20M

    Class-map: class-default (match-any)
      1092089687 packets, 439313844377 bytes
      5 minute offered rate 62000 bps, drop rate 0 bps
      Match: any
      police:
          cir 20000000 bps, bc 625000 bytes
        conformed 1092089687 packets, 439313844377 bytes; actions:
          transmit
        exceeded 0 packets, 0 bytes; actions:
          drop
        conformed 49000 bps, exceed 0 bps

  Service-policy output: ISP-20M

    Class-map: class-default (match-any)
      1374823635 packets, 1118638745033 bytes
      5 minute offered rate 184000 bps, drop rate 0 bps
      Match: any
      Queueing
      queue limit 64 packets
      (queue depth/total drops/no-buffer drops) 0/11899479/0
      (pkts output/bytes output) 1362887381/1104226601030
      shape (average) cir 20000000, bc 80000, be 80000
      target shape rate 20000000
ROUTER#

 

===============================================================

Reply to Afroz:

(for some reason i don't get a text windows when i try to reply in the discussion, so instead i edit my own post)

 

Thanks for your reply!  I'll try to work my way through this procedure!

 

btw a coworker suggested i could simply use the drops counter on the interface (in this case).

 

1 Accepted Solution

Accepted Solutions

AFROJ AHMAD
Cisco Employee
Cisco Employee

Hi ,

check the attached document... step by step procedure is given :)

 

Thanks-

Afroz

***Ratings Encourages Contributors ****
 

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****

View solution in original post

1 Reply 1

AFROJ AHMAD
Cisco Employee
Cisco Employee

Hi ,

check the attached document... step by step procedure is given :)

 

Thanks-

Afroz

***Ratings Encourages Contributors ****
 

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: