Cisco how to check interface index using snmp

Try command

$ snmpwalk -v2c -c community-string HOST

Outcome will be:

IF-MIB::ifName.1 = STRING: Fa0
IF-MIB::ifName.2 = STRING: Fa1
             This -^- is the interface-number

so when using for example nagios plugin check_itraffic use this number as interface parameter


Popular posts from this blog

Securing the Pi-hole with fail2ban to prevent DNS Amplification attacks

Reduce (shrink) and resize raw disk at Proxmox

How to clean DB from old logs in Magento 1.x