cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3572
Views
4
Helpful
4
Replies

SNMP OIDs to identify port mode setting on 3750, 6509 and Nexus switches

jeff_stone
Level 1
Level 1

Is there and OID I can use to determine if a port is setup as an access or trunk port?

Thanks

1 Accepted Solution

Accepted Solutions

Rolf Fischer
Level 9
Level 9

Hi Jeff,

for the c6500 I use CISCO-STACK-MIB::vlanPortIslOperStatus

vlanPortIslOperStatus.13.43 = notTrunking

vlanPortIslOperStatus.13.44 = trunking

! .

and for the Catatlyst 2k/3k CISCO-VTP-MIB::vlanTrunkPortDynamicStatus:

vlanTrunkPortDynamicStatus.1 = notTrunking

vlanTrunkPortDynamicStatus.50 = trunking

! ifIndex

Unfortunately I don't have any Nexus yet.

HTH

Rolf

View solution in original post

4 Replies 4

Rolf Fischer
Level 9
Level 9

Hi Jeff,

for the c6500 I use CISCO-STACK-MIB::vlanPortIslOperStatus

vlanPortIslOperStatus.13.43 = notTrunking

vlanPortIslOperStatus.13.44 = trunking

! .

and for the Catatlyst 2k/3k CISCO-VTP-MIB::vlanTrunkPortDynamicStatus:

vlanTrunkPortDynamicStatus.1 = notTrunking

vlanTrunkPortDynamicStatus.50 = trunking

! ifIndex

Unfortunately I don't have any Nexus yet.

HTH

Rolf

Thanks these work great.

Thank you for the feedback!

Does one of this OIDs work for the Nexus too?

Thanks,

Rolf

The 3750 one did work for the Nexus. So to answer your question, yes.