User Manual

Table Of Contents
4.23 LLDP
4.23.1 Enable LLDP function
[Syntax]
lldp run
no lldp run
[Initial value]
none
[Input mode]
global configuration mode
[Description]
Enable the LLDP function for the entire system.
If this command is executed with the "no" syntax, disable the LLDP function for the entire system.
[Note]
In order to enable the LLDP function for a port, the following command must be set.
Set the set lldp enable command's type (LLDP agent mode) to "txrx", "txonly", or "rxonly" as necessary.
lldp run (global configuration mode)
lldp-agent
(interface mode)
set lldp enable type (LLDP agent mode)
[Example]
Enable LLDP function transmission and reception for LAN port #1.
SWP2#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
SWP2(config)#lldp run
SWP2(config)#interface port1.1
SWP2(config-if)#lldp-agent
SWP2(lldp-agent)#set lldp enable txrx
4.23.2 Set system description
[Syntax]
lldp system-description line
no lldp system-description
[Parameter]
line : System description text string (255 characters or less)
[Initial value]
no lldp system-description
[Input mode]
global configuration mode
[Description]
Sets the system description used by the LLDP function.
If this command is executed with the "no" syntax, the setting returns to the default.
By default, this is "model name + firmware revision".
[Example]
Set the system description to SWITCH1_POINT_A.
SWP2(config)#lldp system-description SWITCH1_POINT_A
104 | Command Reference | Maintenance and operation functions