Setting the LLDP operating mode

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter Layer 2/Layer 3 Ethernet interface view, management Ethernet interface view, Layer 2/Layer 3 aggregate interface view, synchronous/asynchronous serial interface view, standard POS interface view, or POS channel interface view.

interface interface-type interface-number

N/A

3. Set the LLDP operating mode.

  • In Layer 2/Layer 3 Ethernet interface view or management Ethernet interface view:lldp [ agent { nearest-customer | nearest-nontpmr } ] admin-status { disable | rx | tx | txrx }

  • In Layer 2/Layer 3 aggregate interface view:lldp agent { nearest-customer | nearest-nontpmr } admin-status { disable | rx | tx | txrx }

  • In synchronous/asynchronous serial interface view, standard POS interface view, or POS channel interface view:lldp admin-status { disable | rx | tx | txrx }

By default:

  • The nearest bridge agent operates in txrx mode.

  • The nearest customer bridge agent and nearest non-TPMR bridge agent operate in disable mode.

In Ethernet interface view, if you do not specify an agent type, the command sets the operating mode for nearest bridge agents.

In aggregate interface view, you can set the operating mode only for nearest customer bridge agents and nearest non-TPMR bridge agents.

In synchronous/asynchronous serial interface view, standard POS interface view, or POS channel interface view, you can set the operating mode only for nearest bridge agents.