- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- Aruba & ProVision-based
- >
- Can't get rid of a community string
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2012 05:51 PM
08-21-2012 05:51 PM
Can't get rid of a community string
I am having the following problem with a switch. Someone before me decided to activate snmp-server on it. They also decided to give it a blank community name. The host that they setup is no longer being used and I would like to remove it. Here is what I have right now:
snmp-server community "Public"
snmp-server host 10.xxx.xxx.xxx community ""
snmp-server contact " " location " "
I get this when I try to remove the snmp-server host 10.xxx.xxx.xxx
Swith1(config)# no snmp-server host 10.xxx.xxx.xxx community ""
Invalid input: ""
No matter what I try...I have tried typing the community name as blanks, <>, {}, [] and even typed in null. I just can't get rid of this. Anyone have any input?
Thank you.
Teresa
- Tags:
- snmp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2012 06:26 PM
08-21-2012 06:26 PM
Re: Can't get rid of a community string
snmp-server host 10.xxx.xxx.xxx community public
no snmp-server host 10.xxx.xxx.xxx community public
But my guess is that this won't work.
As a last resort you could pull the config off the switch with SFTP, then edit it, and put it back on. On some models this forcibly reboots the switch, so make sure you schedule downtime beforehand.
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2012 06:53 AM
08-22-2012 06:53 AM
Re: Can't get rid of a community string
Thanks...yes...I had tried that already...all it did was add an additional community name which I then was able to remove. I was hoping I wouldn't have to do what you suggested but might have to...switch isn't in production yet. It was used somewhere else and has been on the shelf since the last network guy left.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2012 02:00 PM
08-22-2012 02:00 PM
Re: Can't get rid of a community string
Yeah - it's a bit weird. I couldn't even get my switch to add a zero-length community string. Does it perhaps contain some unprintable Unicode character or something like that?
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2012 06:36 AM
08-23-2012 06:36 AM
Re: Can't get rid of a community string
Hi Mystic
If it's been previously shelved I have a suggestion. First of all restore factory defaults (press Reset and Clear together, release Reset, and when Self Test starts to blink, release Clear). That should take care of it. After that get current SW version from http://h17007.www1.hp.com/us/en/support/converter/index.aspx.
HTH,
Arimo
HPE Networking Engineer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2012 10:06 PM
08-23-2012 10:06 PM
Re: Can't get rid of a community string
Hi,
have you tried:
no snmp-server host 10.xxx.xxx.xxx community
?
i can't even create a snmp server host with
snmp-server host 10.xxx.xxx.xxx community ""
it only works:
snmp-server host 10.xxx.xxx.xxx community
with community beeing the community..!
snmp-server host 10.xxx.xxx.xxx public
would work also.
there is no field community <communityname> in the command..!
hth
alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2012 10:18 AM
08-24-2012 10:18 AM
Re: Can't get rid of a community string
I got the same issue. Only way to fix it is to backup the config, edit the backupfile and restore it to the switch.