Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

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

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

Re: SNMP OIDs to identify port mode setting on 3750, 6509 and Ne

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

4 REPLIES

Re: SNMP OIDs to identify port mode setting on 3750, 6509 and Ne

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

New Member

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

Thanks these work great.

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

Thank you for the feedback!

Does one of this OIDs work for the Nexus too?

Thanks,

Rolf

New Member

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

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

430
Views
4
Helpful
4
Replies