beautypg.com

3 lldp mode, 4 lldp tx-interval, Lldp mode – PLANET XGS3-24040 User Manual

Page 136: Lldp tx, Interval

background image

8-2

Switch(Config-if-ethernet 1/5)#lldp disable

8.3 lldp mode

Command: l

ldp mode <send|receive|both|disable>

Function:

Configure the operating state of LLDP function of the port.

Parameters:

send: Configure the LLDP function as only being able to send messages.

receive: Configure the LLDP function as only being able to receive messages.

both: Configure the LLDP function as being able to both send and receive messages.

disable: Configure the LLDP function as not being able to send or receive messages.

Default:

The operating state of the port is “both”.

Command Mode:

Port Configuration Mode.

Usage Guide:

Choose the operating state of the lldp Agent on the port.

Example:

Configure the state of port ethernet 1/5 of the switch as “receive”.

Switch(config)#in ethernet 1/5

Switch(Config-if-Ethernet 1/5)#lldp mode receive

8.4 lldp tx-interval

Command:

lldp tx-interval

no lldp tx-interval

Function:

Set the interval of sending update messages on all the ports with LLDP function enabled, the value

of which ranges from 5 to 32768 seconds and is 30 seconds by default.

Parameters:

<seconds>is the interval of sending updating messages, ranging from 5 to 32768 seconds.

Default:

30 seconds.

Command Settings:

Global Mode.

Usage Guide:

After configuring the interval of sending messages, LLDP messages can only be received after a