cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1753
Views
7
Helpful
3
Replies

Changing Snmp community strings in 2955 Switch

josepss
Level 1
Level 1

Connected by telnet and having loged in with enable rights I am not able to change the community strings public ( for read-only) and private (for read-write). The message I get is this:

CIM_EGR_SW1>enable

Password:

CIM_EGR_SW1#set snmp community read-only example

^

% Invalid input detected at '^' marker.

CIM_EGR_SW1#

I think the sentence is right, and have repeated with other names. Also it is not possible to delete community public.

Could somebody help me?

Tanks!

3 Replies 3

Marvin Rhoads
Hall of Fame
Hall of Fame

The correct syntax is:

snmp-server community string [view view-name] [ro | rw] [access-list-number]

You must be in CONFIGURATION mode (conf t) to execute this command.

Also, from conf mode, to disable access for an SNMP community, set the community string for that community to the null string (do not enter a value for the community string).

Reference for this and more: http://www.cisco.com/univercd/cc/td/doc/product/lan/cat2950/12122ea5/2950scg/swsnmp.htm#wp1026674

Thanks for your fast answer!. Do you know any product (free license) to manage this messages or traps comming from the switches?. My network have 18 switches and there is a workgroup of workstations connected.

nhabib
Level 9
Level 9

conf t

snmp-server community blah ro

snmp-server community blahblah rw

no snmp-server community public ro

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:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco