Delete public SNMP comunity

Hello all,

This is my first post in this forum.

I have a RB951G-2HnD and I want to configure a SMTP community for it.

I create a new one this way:

/snmp community add name=MyCommunity read-access=yes write-access=no
/snmp set contact="Josu" location="MyTown" trap-community="MyCommunity" trap-version="2" enabled="yes"

It works well, I can have lots of info with snmpwalk, but the problem is that the public one is still there:

/snmp community print value-list
                       name: public    MyCommunity
                  addresses: 0.0.0.0/0 0.0.0.0/0
                   security: none      none
                read-access: yes       yes
               write-access: no        no
    authentication-protocol: MD5       MD5
        encryption-protocol: DES       DES
    authentication-password:           
        encryption-password:

How could I delete the “public” one? Is this the correct way to create a new community?

Thanks for your help, best regards.

Do not create new community, just rename the public…

Thanks for the reply,

I try it but it doesn’t work. How could I change it?

Regards.

I did it hundreds times. What problem you have with it?