×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

Monitoring VLANs with SNMP

Answered Question
Aug 9th, 2006
User Badges:

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

Correct Answer by David Stanford about 11 years 1 week ago

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 [email protected] -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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (2 ratings)
Loading.
Correct Answer
David Stanford Wed, 08/09/2006 - 08:04
User Badges:
  • 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 [email protected] -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

Actions

This Discussion