Aruba CX icon

Aruba CX

Interact with Aruba CX Switch REST API

LLDP Neighbors → Get Neighbor

AI-generated

Summary

Fetch LLDP neighbors for a given interface on an Aruba CX switch, optionally filtering result depth and attributes.

Inputs

  • hostOverride — Optional hostname override for the switch credential.
  • domain (required) — API domain to target (currently only 'System').
  • interfaceId (required) — Interface identifier (e.g., 1/1/1) to query LLDP neighbors on.
  • neighborId (required) — LLDP neighbor identifier to locate a specific neighbor.
  • filters — Optional collection of filters such as depth, selector, and attributes.

Output shape

a list of LLDP neighbor records

Each record contains neighbor details like chassis_id, port_id, system_name; depth and attribute filters shape the returned fields.

Examples

Example 1: Get neighbors on interface 1/1/1 with depth 2 and selected attributes

Domain: System, Interface: 1/1/1, Filters: {depth: 2, selector: 'status,configuration', attributes: 'chassis_id,port_id,system_name'}

Example 2: Override host and query a specific neighbor

Host Override: 192.168.1.1, Domain: System, Interface: vlan10, Neighbor Id: 00:11:22:33:44:55, Filters: {}

Discussion