Wired Intelligent Edge

 View Only
last person joined: 2 days ago 

Bring performance and reliability to your network with the Aruba Core, Aggregation, and Access layer switches. Discuss the latest features and functionality of the ArubaOS-Switch and ArubaOS-CX devices, and find ways to improve security across your network to bring together a mobile first solution.
Expand all | Collapse all

Aruba 8400 - Community 'public' can't be deleted

Jump to Best Answer
This thread has been viewed 28 times
  • 1.  Aruba 8400 - Community 'public' can't be deleted

    Posted Dec 30, 2021 01:19 PM
    Hello all,

    I tried to delete public snmp community but it did not work.
    I saw this post but it does not anwer to my issue.

    Airheads Community
    Airheads Community remove preview
    Airheads Community
    Hidden page that shows all messages in a thread
    View this on Airheads Community >

    So when I tried to delete, I have the same error :

    Aruba-8400(config)# no snmp-server community public
    Community 'public' can't be deleted, as it is linked with another configuration.

    I saw in "AOS-CX 10.07 SNMP/MIB Guide" that when we create a private snmp community, it deletes public snmp communicty. So I tried (my 8400 is in 10.07 version) :

    Aruba-8400# sh run | i snmp
    [...]
    snmp-server community myprivateSNMP
    snmp-server community public
    Aruba-8400(config)# no snmp-server community myprivateSNMP
    Aruba-8400(config)# snmp-server community myprivateSNMP
    Aruba-8400(config-community)# end
    Aruba-8400# sh run | i snmp
    [...]
    snmp-server community myprivateSNMP
    snmp-server community public

    But it does not work.

    In the post I linked, the best answer tells to delete snmpv3-context. But i have no snmpv3-context.

    Can someone help me ?

    Thank you in advance.

    Matthew

    ------------------------------
    Matthieu Geffroy
    ------------------------------


  • 2.  RE: Aruba 8400 - Community 'public' can't be deleted

    EMPLOYEE
    Posted Jan 04, 2022 12:56 PM
    Matthew, which CX version are you running on your 8400?

    ------------------------------
    Charlie Clemmer
    ------------------------------



  • 3.  RE: Aruba 8400 - Community 'public' can't be deleted

    MVP GURU
    Posted Jan 05, 2022 02:44 AM
    if you try to remove the public after create your own community ?

    ------------------------------
    PowerArubaSW : Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP...

    PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...)

    PowerArubaCL: Powershell Module to use Aruba Central

    PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)..

    ACEP / ACMX #107 / ACDX #1281
    ------------------------------



  • 4.  RE: Aruba 8400 - Community 'public' can't be deleted

    EMPLOYEE
    Posted Jan 05, 2022 04:47 AM
    yes, first create additional community, then remove public one.

    ------------------------------
    Vincent Giles
    ------------------------------



  • 5.  RE: Aruba 8400 - Community 'public' can't be deleted

    Posted Jan 11, 2022 06:55 AM

    Hello all and best wishes for the new year,

    Sorry for the delay, but I was out of office.

    My CX version is 10.07.
    Here what I tried :

    8400(config)# no snmp-server community myprivateSNMP
    8400(config)# snmp-server community myprivateSNMP
    8400(config)# no snmp-server community public
    Community 'public' can't be deleted, as it is linked with another configuration.

    So it seems not working.

    Thank you for your answers and your help.

    Best regards,

    Matthew



    ------------------------------
    Matthieu Geffroy
    ------------------------------



  • 6.  RE: Aruba 8400 - Community 'public' can't be deleted
    Best Answer

    EMPLOYEE
    Posted Jan 11, 2022 11:06 AM
    Matthew,

    Do you have any snmp traps configured that are still using public?

    I just tested the same in my lab with 10.07 with no problem. I can for can force the error you listed when trying to delete a community that is referenced by a trap destination.

    ------------------------------
    Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or Aruba Networks.
    ------------------------------



  • 7.  RE: Aruba 8400 - Community 'public' can't be deleted

    Posted Jan 12, 2022 02:48 AM

    Hello cclemmer,

    This is it ! 
    I deleted this command :

    snmp-server host x.x.x.x trap version v2c

    Then I could delete community public !

    Thank you very much for your help.

    Have a good day.

    Best regards,

    Matthew



    ------------------------------
    Matthieu Geffroy
    ------------------------------