08-10-2010 12:39 AM - edited 03-06-2019 12:23 PM
May I know the bandwidth OID for cisco router 3845?
08-10-2010 06:26 AM
1.3.6.1.2.1.2.2.1.10.[interface number]
Hope it helps.
08-10-2010 07:59 AM
How to identify the interface number? Can show me example?
08-10-2010 08:15 AM
Sure, here is the command to get the interface ID.
ROUTER#show snmp mib ifmib ifindex
Loopback1: Ifindex = 11
T3 1/0: Ifindex = 5
GigabitEthernet0/1: Ifindex = 2
Tunnel0: Ifindex = 8
VoIP-Null0: Ifindex = 3
FastEthernet2/0: Ifindex = 9
Loopback0: Ifindex = 7
Null0: Ifindex = 4
GigabitEthernet0/0: Ifindex = 1
Serial1/0: Ifindex = 6
FastEthernet2/1: Ifindex = 10
In this example Serial1/0 has an ID of 6. You will want to add snmp-server ifindex persist to your config so these values don't change after a reboot.
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: