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

Valid snmp string (using the @ symbol allowed?)

jason.aarons
Level 1
Level 1

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}$>

4 Replies 4

rmushtaq
Level 8
Level 8

For CatOS, @ is normally used for community string indexing: ftp://ftp-sj.cisco.com/pub/mibs/supportlists/wsc6000/wsc6000-communityIndexing.html

Would I be safe changing my @ to !

old string = test@company

new string = test!company

georg.tresselt
Level 1
Level 1

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@".

cspeidel
Level 1
Level 1

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 !

Review Cisco Networking for a $25 gift card