
1-13
Displaying and Maintaining LLDP
To do…
Use the command…
Remarks
Display the global LLDP
information or the information
contained in the LLDP TLVs to
be sent through a port
display lldp local-information
[
global
|
interface interface-type
interface-number
]
Available in any view
Display the information
contained in the LLDP TLVs
sent from neighboring devices
display lldp neighbor-information
[
brief
|
interface interface-type interface-number
[
brief
] |
list
[
system-name
system-name
] ]
Available in any view
Display LLDP statistics
display lldp statistics
[
global
|
interface interface-type
interface-number
]
Available in any view
Display LLDP status of a port
display lldp status
[
interface
interface-type interface-number
]
Available in any view
Display types of advertisable
optional LLDP TLVs
display lldp tlv-config
[
interface
interface-type interface-number
]
Available in any view
LLDP Configuration Examples
Basic LLDP Configuration Example
Network requirements
As shown in
, the NMS and Switch A are located in the same Ethernet. An MED device and
Switch B are connected to GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 of Switch A.
Enable LLDP on the ports of Switch A and Switch B to monitor the link between Switch A and Switch B
and the link between Switch A and the MED device on the NMS.
Figure 1-4
Network diagram for basic LLDP configuration
Configuration procedure
1) Configure Switch A.
# Enable LLDP globally.
<SwitchA> system-view
[SwitchA] lldp enable
# Enable LLDP on GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 (you can skip this step because
LLDP is enabled on ports by default), and set the LLDP operating mode to Rx.
Содержание S5120-EI Series
Страница 139: ...ii...
Страница 268: ...3 3 SwitchB system view SwitchB interface vlan interface 1 SwitchB Vlan interface1 ip address dhcp alloc...
Страница 328: ...i Table of Contents 1 Dual Stack Configuration 1 1 Dual Stack Overview 1 1 Configuring Dual Stack 1 1...
Страница 578: ...1 21 C...
Страница 739: ...1 12 Enable ARP detection based on 802 1X security entries SwitchB arp detection mode dot1x...
Страница 926: ...2 8...
Страница 942: ...ii Single Device Upgrade 3 4 IRF System Upgrade 3 5...
Страница 985: ...1 1...
Страница 1018: ...1 6...