Does anybody know the OID of a table that tells me whether the interfaces on a switch are configured as trunks?
So I want SNMP to poll the list of interfaces and tell me which are trunks and which are access ports.
Thanks in advance.
You could try vlanTrunkPortDynamicStatus from the CISCO-VTP-MIB
CISCO-VTP-MIB::vlanTrunkPortDynamicStatus.47 = notTrunking(2)
CISCO-VTP-MIB::vlanTrunkPortDynamicStatus.48 = notTrunking(2)
CISCO-VTP-MIB::vlanTrunkPortDynamicStatus.49 = trunking(1)
CISCO-VTP-MIB::vlanTrunkPortDynamicStatus.50 = trunking(1)
On older Switches (3524-XL IOS 12.0) there are only rows
for trunk interfaces in the table.