Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

SNMP determination of 2950 switchport mode

Does anyone know how to use SNMP to determine if the switchport mode of an interface in a Cisco 2950 switch is "access" or "trunk"? I have searched through the CISCO-C2900-MIB but cannot find any reference to this setting. I guess that his mode setting merely indicates whether or not outgoing frames have VLAN tags but I have not found any relevant OIDs that might be used to determine the mode.

1 REPLY
Bronze

Re: SNMP determination of 2950 switchport mode

You can make use of the vlanTrunkPortDynamicStatus (1.3.6.1.4.1.9.9.46.1.6.1.1.14) of CISCO-VTP-MIB to get the switchport information.

315
Views
5
Helpful
1
Replies
CreatePlease to create content