MIBS to Monitor Etherchannel and trunks via SNMP

Unanswered Question
Feb 20th, 2009
User Badges:

I would like to monitor the status of etherchannel and trunk configurations in 6500 Catalyst switches running both CATOS and IOS. I would like to understand the specific mibs/OIDS that should be monitored for etherchannels and trunks. I am trying to get a better handle on tracking the etherchannels and trunk dynamically and then understanding when the ports are having issues (up/down and errors). I need to understand how to differentiate these type of ports from regular access ports.


Thanks,

Tim

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
rtuttle Fri, 02/20/2009 - 18:30
User Badges:

at the cli, perform a "show snmp mib ifmib ifindex | inc Port-


This will show you all the mib variables supported as well as the interface values. From here lookup the oid and massage as needed.

Rolf Fischer Thu, 06/06/2013 - 07:03
User Badges:
  • Blue, 1500 points or more

Hi Tim,


what exactly do you want to query via SNMP?


For an (PAgP) Etherchannel, the member-interfaces might be interesting:

https://supportforums.cisco.com/message/3957914#3957914


For a trunk, you could start with the operational mode, depending on the platform you can use:


vlanTrunkPortDynamicStatus (CISCO-VTP-MIB):

vlanTrunkPortDynamicStatus.49 = notTrunking

vlanTrunkPortDynamicStatus.50 = trunking


vlanPortIslOperStatus (CISCO-STACK-MIB):

vlanPortIslOperStatus.13.43 = notTrunking

vlanPortIslOperStatus.13.44 = trunking


Hope that helps

Rolf

Michel Hegeraat Mon, 06/10/2013 - 03:01
User Badges:
  • Gold, 750 points or more

Keep in mind that the Pos interface (agregate) won't tell you much more then the load.


All interface errors must be found on the physical interface level.


If ever I monitor the Pos it is just to show the used bandwidth in a graph to please my customer, for the rest no aggregate or virtual interfaces are monitored, just the physical interfaces of the trunks are what I consider as interesting.


Cheers,


Michel

Actions

This Discussion