P_LLDP_INDICES

code: 506

# get
<module-index>/<port-index> P_LLDP_INDICES ?

# set
<module-index>/<port-index> P_LLDP_INDICES <lldp_agent_indices>

Description

Create multiple LLDP agents or query the existing LLDP agents on the port.

Actions

set, get

Parameters

  1. lldp_agent_indices: integer list, the list of indices. The integers do not have to consecutive. If the list is empty, the port will remove all its LLDP agents, , e.g. 0/1 P_LLDP_INDICES. Elements in the list range from 0 to 7.

Example

Create multiple LLDP agents

# set
input:  0/1 P_LLDP_INDICES 0 3 4 6
output: <OK>

# get
input:  0/1 P_LLDP_INDICES ?
output: 0/1 P_LLDP_INDICES 0 3 4 6

Remove all LLDP agents

# set
input:  0/1 P_LLDP_INDICES
output: <OK>

# get
input:  0/1 P_LLDP_INDICES ?
output: 0/1 P_LLDP_INDICES