cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
363
Views
0
Helpful
2
Replies
Highlighted
Beginner

How to show ifOutDiscards with snmpget?

A Cisco 3750 switch:

10.200.14.200#sh int g1/0/9
GigabitEthernet1/0/9 is up, line protocol is up (connected)
...

Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 193461

at a linux server:

root@mrtg1:~# snmpget -v 2c -c cul8ter% 10.200.14.200 RFC1213-MIB::ifOutDiscards
RFC1213-MIB::ifOutDiscards = No Such Instance currently exists at this OID

 

What is the command to show the counters (193461) and the interface (g1/0/9)?

 

Thanks,

Jack

tsai.jack@leg.state.fl.us

2 REPLIES 2
Highlighted
Cisco Employee

Re: How to show ifOutDiscards with snmpget?

FastEthernet0/11 is up, line protocol is up (connected)

  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 733956

 

snmpwalk -v 2c -c public 192.168.0.251 -M /home/dafrey/.snmp/mibs -m +ALL enterprises | grep -i drop

OLD-CISCO-INTERFACES-MIB::locIfOutputQueueDrops.10011 = INTEGER: 733956

 

Get interface info from index value.

snmpwalk -v 2c -c public 192.168.0.251 -M /home/dafrey/.snmp/mibs -m +ALL ifMib | grep 10011

IF-MIB::ifName.10011 = STRING: Fa0/11

Highlighted
Beginner

Re: How to show ifOutDiscards with snmpget?

MIB search path: /root/mibs Cannot find module (SNMPv2-MIB): At line 0 in (none) Cannot find module (IF-MIB): At line 0 in (none) Cannot find module (IP-MIB): At line 0 in (none) Cannot find module (TCP-MIB): At line 0 in (none) Cannot find module (UDP-MIB): At line 0 in (none) Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none) Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none) Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none) Cannot find module (DISMAN-SCHEDULE-MIB): At line 0 in (none) Cannot find module (HOST-RESOURCES-TYPES): At line 0 in (none) Cannot find module (MTA-MIB): At line 0 in (none) Cannot find module (NETWORK-SERVICES-MIB): At line 0 in (none) Cannot find module (UCD-DISKIO-MIB): At line 0 in (none) Cannot find module (UCD-DLMOD-MIB): At line 0 in (none) Cannot find module (LM-SENSORS-MIB): At line 0 in (none) Cannot find module (UCD-SNMP-MIB): At line 0 in (none) Cannot find module (UCD-DEMO-MIB): At line 0 in (none) Cannot find module (SNMP-TARGET-MIB): At line 0 in (none) Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none) Cannot find module (SNMP-MPD-MIB): At line 0 in (none) Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none) Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none) Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none) Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none) Cannot find module (IPV6-ICMP-MIB): At line 0 in (none) Cannot find module (IPV6-MIB): At line 0 in (none) Cannot find module (IPV6-TCP-MIB): At line 0 in (none) Cannot find module (IPV6-UDP-MIB): At line 0 in (none) Cannot find module (IP-FORWARD-MIB): At line 0 in (none) Cannot find module (NET-SNMP-PASS-MIB): At line 0 in (none) Cannot find module (NET-SNMP-EXTEND-MIB): At line 0 in (none) Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none) Cannot find module (SNMPv2-TM): At line 0 in (none) Cannot find module (NET-SNMP-VACM-MIB): At line 0 in (none)

Content for Community-Ad