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

SNMP determination of 2950 switchport mode

M.N.Harron_2
Level 1
Level 1

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 1

ssoberlik
Level 4
Level 4

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.