cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1215
Views
0
Helpful
1
Replies

How to get info over snmp on cisco switch whether native vlan on a port is tagged or not?

the_akshat
Level 1
Level 1

Hi!

I want to know which oid(s) should I query to know whether native vlan on trunk port on cisco switch is tagged or not?

I am querying the oid .1.3.6.1.4.1.9.9.46.1.6.3.0 (vlanTrunkPortsDot1qTag) on cisco 3560 (E Series) and I am getting global value. Also, this OID is showing as deprecated. So I query .1.3.6.1.4.1.9.9.246.1.6 (cltcDot1qAllTagged) and its subtree, but no value is returned.

Switch Version is

Cisco IOS Software, C3560E Software (C3560E-UNIVERSALK9-M), Version 12.2(50)SE2

1 Reply 1

Roana
Level 1
Level 1

try 1.3.6.1.4.1.9.9.46.1.6.1.1.5 to get the native vlan on the port and then check if it is the vlans on the trunk .1.3.6.1.4.1.9.9.46.1.6.1.1.4 (you will need to decode this response to get the list of the vlans)

 

 

Review Cisco Networking for a $25 gift card