cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4505
Views
5
Helpful
1
Replies

snmp mib to view a trunk port

cciesec2011
Level 3
Level 3

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

1 Reply 1

Lucien Avramov
Level 10
Level 10

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

Getting Started

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: