cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
603
Views
3
Helpful
2
Replies

Monitoring VLANs with SNMP

jonhill
Level 1
Level 1

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

David Stanford
Cisco Employee
Cisco Employee

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

View solution in original post

2 Replies 2

gpulos
Level 8
Level 8

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

David Stanford
Cisco Employee
Cisco Employee

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: