LLDP configuration
lldp enable
This command enables LLDP protocol support on the router.
The use of a negative form (no) of the command disables LLDP protocol support.
Syntax
[no] lldp enable
Parameters
The command does not contain parameters.
Default value
Disabled.
Required privilege level
15
Command mode
CONFIG
Example
esr(config)# lldp enable
lldp hold-multiplier
This command sets the number of lldp-timer periods during which the router stores information received via the LLDP protocol.
The use of a negative form (no) of the command sets the specified parameter to the default value.
Syntax
lldp hold-multiplier <SEC>
no lldp hold-multiplier
Parameters
<SEC> – time interval in seconds, takes values of [1..10].
Default value
4
Required privilege level
10
Command mode
CONFIG
Example
esr(config)# lldp hold-multiplier 5
lldp management-address
This command sets the IP address that will be sent to the LLDP TLV as the management-address.
The use of a negative form (no) of the command sets the default value for the LLDP TLV management-address field.
Syntax
lldp management-address <ADDR>
no lldp management-address
Parameters
<ADDR> – IP address, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255]. The specified IP address must be assigned on any interface/tunnel of the router.
Default value
One of the existing.
Required privilege level
15
Command mode
CONFIG
Example
esr(config)# lldp management-address 192.168.54.42
lldp med fast-start enable
This command enables the sending of LLDP-MED messages on interfaces with a configured network policy (see section lldp network-policy).
The use of a negative form (no) of the command disables LLDP-MED broadcasting of messages on interfaces with a configured network policy.
Syntax
[no] lldp med fast-start enable
Parameters
None.
Default value
LLDP-MED messaging is disabled.
Required privilege level
15
Command mode
CONFIG
Example
esr(config)# lldp med fast-start enable
lldp med fast-start tx-interval
This command configures the period of sending of LLDP-MED messages on interfaces with a configured network policy (see section lldp network-policy).
The use of a negative form (no) sets the default value for the distribution period of LLDP-MED messages on interfaces with a configured network policy.
Syntax
lldp med fast-start tx-interval <SEC>
[no] lldp med fast-start tx-interval
Parameters
<SEC> – time interval, takes values of [1..32768] seconds.
Default value
1 second
Required privilege level
10
Command mode
CONFIG
Example
esr(config)# lldp med fast-start tx-interval 20
lldp receive
This command enables LLDPDU processing on the physical interface.
The use of a negative form (no) of the command disables LLDPDU processing on the physical interface.
Syntax
[no] lldp receive
Parameters
The command does not contain parameters.
Default value
LLDP packets receiving disabled.
Required privilege level
15
Command mode
CONFIG-IF-GI
CONFIG-IF-TE
Example
esr(config-if-gi)# lldp receive
lldp system-description
This command sets the field that will be sent to the LLDP TLV as the system-description.
The use of a negative form (no) of the command sets the default value for the LLDP TLV system-description field.
Syntax
lldp system-description <DESCRIPTION>
no lldp system-description
Parameters
<DESCRIPTION> – system description identifier, set by the string of up to 255 characters.
Default value
Contains information about the model and firmware version of the router.
Required privilege level
15
Command mode
CONFIG
Example
esr(config)# lldp system-description esr-1000-1.3.0
lldp system-name
This command sets the field that will be sent to the LLDP TLV as the system-name.
The use of a negative form (no) of the command.
Syntax
lldp system-name <NAME>
no lldp system-name
Parameters
<NAME> – system name identifier, set by the string of up to 255 characters.
Default value
Same as hostname.
Required privilege level
15
Command mode
CONFIG
Example
esr(config)# lldp system-name esr-100-branch-12
lldp timer
This command sets the LLDPDU send period.
The use of a negative form (no) of the command sets the default LLDPDU send period value.
Syntax
lldp timer <SEC>
no lldp timer
Parameters
<SEC> – time interval in seconds, takes values of [1..32768].
Default value
30
Required privilege level
10
Command mode
CONFIG
Example
esr(config)# lldp timer 3
lldp transmit
This command enables LLDPDU sending on the physical interface.
The use of a negative form (no) of the command disables LLDPDU sending on the physical interface.
Syntax
[no] lldp transmit
Parameters
The command does not contain parameters.
Default value
LLDP packets sending disabled.
Required privilege level
15
Command mode
CONFI-IF-GI
CONFI -IF-TE
Example
esr(config-if-gi)# lldp transmit
show lldp neighbors
This command displays information about the connected devices from which information is received via the LLDP protocol.
Syntax
show lldp neighbors <IF>
Parameters
<IF> – name of physical interface or a group of physical interfaces is specified in the form described in Section Types and naming order of router interfaces.
It is permissible to use only physical interfaces (gigabitethernet or tengigabitethernet). Without an interface, information about all devices detected by the LLDP is displayed.
Required privilege level
10
Command mode
ROOT
Example
esr# show lldp neighbors
LLDP Neighbor Information:
Local Information:
Index: 0
Local Interface: gi1/0/4
Neighbour Information:
Chassis type: mac
Chassis ID: a8:f9:4b:aa:8c:90
Management ip: 192.168.1.5
Management ip: fe80::2052:e5ff:fe36:226f
Port type: local
Port ID: gi1/0/8
Port description: esr200-lldp-test
Time to live: 120
System name: esr-200-test
System Description: Eltex Router ESR-200 1.3.0 build 79 (date 14/08/2017 time 10:19:13)
System capabilities:
Bridge: false
Router: true
Station: true
Wlan: false
show lldp statistics
This command displays the statistics of the LLDP protocol operation on the interfaces on which the LLDP protocol is enabled.
Syntax
show lldp statistics <IF>
Parameters
<IF> – name of an interface or a group of interfaces is specified in the form described in Section Types and naming order of router interfaces; It is permissible to use only physical interfaces (gigabitethernet or tengigabitethernet). Without an interface, information about all devices detected by the LLDP is displayed.
Required privilege level
1
Command mode
ROOT
Example
esr# show lldp statistics
Interface Transmitted Received Discarded Unrecognized Ageout Inserted Deleted
--------- ----------- -------- --------- ----------- ------ -------- -------
gi1/0/1 1 0 0 0 0 0 0