cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2008
Views
4
Helpful
4
Replies
Highlighted
Beginner

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
Highlighted
Engager

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

View solution in original post

4 REPLIES 4
Highlighted
Engager

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

View solution in original post

Highlighted
Beginner

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

Thanks these work great.

Highlighted
Engager

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

Highlighted
Beginner

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.

Content for Community-Ad