set port lldp

Last Updated : Aug 19, 2020 |

Changes the administrative lldp port status.

Syntax:

set port lldp module/port disable|rx-only|tx-only|rx-and-tx

Parameters

Parameter

Description

Possible Values

Default Value

module

Number of module

1-10

port

Number of ports

disable

Keyword specifying that the LLDP agent will not transmit nor receive LLDP frames on this port

tx-only

Keyword specifying that the LLDP agent will transmit LLDP frames on this port but it will not store any information about the remote systems connected

rx-only

Keyword specifying that the LLDP agent will receive, but it will not transmit, LLDP frames on this port

rx-and-tx

Keyword specifying that the LLDP agent will transmit and receive LLDP frames on this port (default)

User level

read-write

Context

general

Example

To set the LLDP status of port 10/3 to transmit and receive LLDP frames:

Gxxx-001(super)# set port lldp 10/3 rx-and-tx