Developer

 View Only
last person joined: 35 minutes ago 

Expand all | Collapse all

Rest API : lldp/remote-device/{port}

This thread has been viewed 14 times
  • 1.  Rest API : lldp/remote-device/{port}

    Posted Oct 06, 2023 07:08 AM

    Hi,

    I'm trying to retrieve the "port_type" value with "lldp/remote-device" URI on a particular port.

    But I get a "Request has failed due to non-existent resource" error when I try to specify a port outside the first member of the stack.

    Here is an example on a stack of 3 switches 2930F (Rest API v7 or 8, firmware 16.11.0013) :

    "lldp/remote-device/1/11" works fine :

     "uri":"/lldp/remote-device/1/11",
             "local_port":"1/11",
             "chassis_type":"RCT_MAC_ADDRESS",
             "chassis_id":"14 17 ea ac 5f 99",
             "port_type":"LPT_MAC_ADDRESS",
             ...

    "lldp/remote-device/3/11" does not work (and everything after 1/52).

    How does it work for you?

    Thanks for your help.



  • 2.  RE: Rest API : lldp/remote-device/{port}

    MVP GURU
    Posted Oct 24, 2023 04:20 PM

    Do you have open an issue to TAC/support ?



    ------------------------------
    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
    ------------------------------