snmp mib to view a trunk port

Unanswered Question
Jan 18th, 2010

C3550#sh run int f0/48
Building configuration...

Current configuration : 168 bytes
!
interface FastEthernet0/48
description 802.1Q trunk
switchport trunk encapsulation dot1q
switchport mode trunk
load-interval 30
speed 100
duplex full
end

C3550#

Anyone knows the SNMP MIB to view this port as a trunk port:

snmpwalk -v 2c -c public ip-address-of-the-switch snmp-OID

Thanks in advance

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Lucien Avramov Mon, 01/18/2010 - 09:32

You can use : 1.3.6.1.4.1.9.5.1.9.3.1.8 (vlanPortIslOperStatus) part of the cisco-stack-mib

Values:

1 : trunking
2 : notTrunking

Actions

This Discussion