Switches, Hubs, and Modems
1753511 Members
5327 Online
108795 Solutions
New Discussion юеВ

Re: delete snmp communtiy

 
Mayz
New Member

delete snmp communtiy

Hello, i have a procure switch 2650, i want to delete snmpv3 community .

ProCurve Switch 2650(config)# show snmpv3 community
COMMUNITY-NAME-STR Show a specific community entry.


snmpCommunityTable [rfc2576]

Index Name Community Name Security Name
------------------------- ------------------------- -------------------------
1 public CommunityManagerReadWrite
2 XXX-X-XX CommunityOperatorReadOnly
3 B CommunityOperatorReadOnly

So when i do :

ProCurve Switch 2650(config)# no snmpv3 community index 3

i get:

Community index '3' is invalid.

how to delete community with index 2 and 3 ??
2 REPLIES 2
Jarret Workman
HPE Pro

Re: delete snmp communtiy

Hello Mayz,

I tested on one of our 2650's, and even though those 3 snmp communities show up under the show snmpv3 community information, I believe they are snmpv1/v2 communities based on the information.

I had the same error when trying to delete these via the index number, but was able to remove them using the snmp-server context.

So try:

procurve2650(config)# no snmp-server community XXX-X-XX

procurve2650(config)# no snmp-server community B

Once you do another show snmpv3 community command, index 2 and index 3 should no longer show up.

Hope that helps.

Jarret

Accept or Kudo

Mayz
New Member

Re: delete snmp communtiy

Thanks, it worked :)