Wired

last person joined: yesterday 

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

2530 - REST API equivalent to CLI

Jump to Best Answer
  • 1.  2530 - REST API equivalent to CLI

    Posted Feb 14, 2020 03:56 AM

    Hey,

    for monitoring reasons I need to know if a switch is runnig an unsaved config.

     

    Hardware is for instance a HPE Aruba 2530-24G-PoE+ (J9773A)
    with Firmware YA.16.08.0001 (REST API V6.0)


    On the CLI I can use the command:

     

    2530-24G-PoE(config)# show config status

     

    And get the response:

     

    The running configuration matches the saved configuration.

     

    or

     

    The running configuration has been modified and not yet saved.

     


    Is there a REST API equivalent to the CLI command?

     

    Thanks.



  • 2.  RE: 2530 - REST API equivalent to CLI
    Best Answer

    Posted Feb 14, 2020 04:23 AM

    Hi,

     

    I think, no... but you can try using AnyCLI ?



  • 3.  RE: 2530 - REST API equivalent to CLI

    Posted Feb 17, 2020 01:03 AM

    Hey,

    I hope this will be added as a direct REST API call in the future.

     

    As REST API seems to be the thing these days and I want to keep it clean and simple I don't want wo switch between techniques.

     

    Thanks.



  • 4.  RE: 2530 - REST API equivalent to CLI

    Posted Feb 17, 2020 03:53 AM