01-17-2005 11:36 AM
Is there a list of valid snmp community string characters. My string of "test" returns the mac-address-table for vlan1, but "test@shro@vlan-id" timesout. Is the @ symbold valid
ANI Discovery Troubleshooting for User Tracking Tool
http://www.cisco.com/en/US/products/sw/cscowork/ps563/products_tech_note09186a0080094949.shtml#ts2a
jaarons@bnasv4801}$> sudo snmpwalk -c test@shro 10.16.112.43 1.3.6.1.2.1.17.4.3.1.1
dot1dBridge.dot1dTp.dot1dTpFdbTable.dot1dTpFdbEntry.dot1dTpFdbAddress.0.11.95.60.160.22 : OCTET STRING- (hex): length = 6
0: 00 0b 5f 3c a0 16 -- -- -- -- -- -- -- -- -- -- .._<............
{jaarons@bnasv4801}$> sudo snmpwalk -c test@shro@6 10.16.112.43 1.3.6.1.2.1.17.4.3.1.1
snmpwalk: No response arrived before timeout.
{jaarons@bnasv4801}$>
{jaarons@bnasv4801}$> sudo snmpwalk -c fcg1s@shro@6 10.16.112.43 1.3.6.1.2.1.17.4.3.1.1 | grep "00 11 43 9e 27 6a"
{jaarons@bnasv4801}$>
01-17-2005 12:16 PM
For CatOS, @ is normally used for community string indexing: ftp://ftp-sj.cisco.com/pub/mibs/supportlists/wsc6000/wsc6000-communityIndexing.html
01-18-2005 09:10 AM
Would I be safe changing my @ to !
old string = test@company
new string = test!company
01-19-2005 04:11 AM
Be careful with the @ sign. Some Cisco devices like Cat3750 have several implementations of the bridge MIB and manage access to them by appending the vlan-id to the ordinary community string. So, if you normally used "public" you would need "public@
01-27-2005 03:03 PM
It looks like in RFC 1443 section 2, Textual Conventions for version 2 of the Simple Network Management Protocol (SNMPv2) strings can have any NVT ASCII character. You could use the @ symbol, however many command line utils use the @ to parse between the community string and the IP address of the device you are trying to poll, which would cause problems. I think you would be alright with the !
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide