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

Displaying tagged VLANs for an interface on SG350/500/550 switches

geoff.house
Level 1
Level 1

Hi everyone.

I'm trying to display VLAN information from each switch interface on a software control system we use.

 

Looking at the supplied MIBs, the untagged vlans are available here:

1.3.6.1.4.1.9.6.1.101.48.62.1.1
... which works perfectly.
It looks like the tagged vlans should be listed this OID:
1.3.6.1.4.1.9.6.1.101.48.61.1.2
But those results give hex values of FF - I'm assuming this shows that all VLANs are tagged in each interface - which isn't correct.
 
Older switches (SG300 etc) used to use a Hex String per VLAN - which we then had to decode to work out which interfaces tagged on each particular VLAN. The OID for this was:
1.3.6.1.2.1.17.7.1.4.2.1.4.0
Sadly this doesn't produce accurate results for the newer-style switches (SG350, SG500, SG550).
 
I'm slowly heading down the path of programatically logging into the device using SSH, then parsing the results - but this feels wrong. 
 
Any help would be HUGELY appreciated.
 
Thanks!
Geoff
0 Replies 0