본문으로 건너뛰기

lldp command

Use this command to display and set lldp.

Use the lldp command to display and configure link layer discovery protocol (LLDP). The following table shows the arguments for the options

Syntax:
led [-options]
Table 1. led options
OptionDescriptionValues
-enEnable or disable LLDP transmit.
Note
If the machine has two network ports, enable/disable will operate on both ports simultaneously, and local port and peer information will also display information for multiple ports separately.
enable, disable
Example:
system> lldp
-en: disabled

system> lldp -en enabled
ok
system> lldp
-en: enabled

Local Port: eth1
Local Addresses: MAC: c4:c6:e6:80:49:fc; IPv4: 10.240.218.128; IPv6: fe80::c6c6:e6ff:fe80:49fc

Peer Discover:
System Name: LNSHx11-ConvSw45-1.lenovo.com
Chassis Id:
Management Address: 10.240.192.19
System Description: Cisco IOS Software, IOS-XE Software, Catalyst 4500 L3 Switch Soft-ware (cat4500es8-UNIVERSAL-M), Version 03.03.01.XO RELEASE SOFTWARE (fc1).Technical Sup-port: http://www.cisco.com/techsupport.Copyright (c) 1986-2014 by Cisco Systems, Inc..Compiled Wed 30-A
Port Description: GigabitEthernet2/29

Local Port: eth2.1
Local Addresses: MAC: c4:c6:e6:80:49:ff; IPv4: 192.168.70.126; IPv6: fe80::c6c6:e6ff:fe80:49ff

Peer Discover:
System Name:
Chassis Id:
Management Address:
System Description:
Port Description: