Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Changing Snmp community strings in 2955 Switch

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
Hall of Fame Super Silver

Re: Changing Snmp community strings in 2955 Switch

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

New Member

Re: Changing Snmp community strings in 2955 Switch

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.

Red

Re: Changing Snmp community strings in 2955 Switch

conf t

snmp-server community blah ro

snmp-server community blahblah rw

no snmp-server community public ro

124
Views
7
Helpful
3
Replies