I have many Catalyst switches that I am polling with SNMP. I am trying to find what ports are acting as trunks. On most of the switches it works properly, using vlanTrunkPortDynamicStatus. It returns output like: CISCO-VTP-MIB::vlanTrunkPortDynamicStatus.48 = INTEGER: notTrunking(2) CISCO-VTP-MIB::vlanTrunkPortDynamicStatus.49 = INTEGER: trunking(1)
etc. However sometimes it will only return the virtual port doing the trunking over other physical ports:
CISCO-VTP-MIB::vlanTrunkPortDynamicStatus.27 = INTEGER: trunking(1) RFC1213-MIB::ifType.27 = INTEGER: propVirtual(53)
I want to know what PHYSICAL ports are running on the bridge over port "27"
Does anyone have any ideas to help me out? Thanks Pat