05-07-2019 06:06 AM
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
05-08-2019 08:05 AM
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
05-08-2019 08:39 AM
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)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide