Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Monitoring VLANs with SNMP

Can someone remind me how I can monitor a VLAN other than VLAN 1 with SNMP I think it's something along the lines of public@....

Any help would be much appreciated.

Thanks

Jon

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Monitoring VLANs with SNMP

The @ represents community string indexing. So if you wanted to get snmp output for VLAN 200 you would do something like this:

snmpwalk -Os -c public@200 -v 2c 10.1.1.1 dot1dTpFdbAddress

Keep in mind the flags I use above are from my specific snmpwalk utility (net-snmp) but you would add the @ to the comm string and then the value to collect the data

2 REPLIES
Blue

Re: Monitoring VLANs with SNMP

see the following link on how to get VLAN info from a catalyst using SNMP:

http://www.cisco.com/en/US/tech/tk648/tk362/technologies_configuration_example09186a008015773e.shtml

Cisco Employee

Re: Monitoring VLANs with SNMP

The @ represents community string indexing. So if you wanted to get snmp output for VLAN 200 you would do something like this:

snmpwalk -Os -c public@200 -v 2c 10.1.1.1 dot1dTpFdbAddress

Keep in mind the flags I use above are from my specific snmpwalk utility (net-snmp) but you would add the @ to the comm string and then the value to collect the data

184
Views
3
Helpful
2
Replies
CreatePlease to create content