36. LLDP Commands
36.LLDP Commands
LLDP (Link Layer Discovery Protocol) is a function to periodically collect
connected device information. If devices, such as an IP phone, printer, and
network camera, support LLDP, you can learn what devices are connected where.
This function also allows you to identify configuration errors based on collected
information and change the protocol settings or Switching Hub operations
according to the information.
enable lldp
disable lldp
config lldp [message_tx_interval <sec 5-32768> | message_tx_hold_multiplier <int 2-10> |
tx_delay <sec 1-8192> | reinit_delay <sec 1-10>]
show lldp
config lldp forward_message [enable | disable]
config lldp notification_interval <sec 5-3600>
config lldp ports [<portlist> | all] [notification [enable | disable] | admin_status [tx_only | rx_only |
tx_and_rx | disable] | mgt_addr [ipv4 <ipaddr> | ipv6 <ipv6addr>] [enable | disable] |
basic_tlvs [{all} | {port_description | system_name | system_description |
system_capabilities}] [enable | disable] | dot1_tlv_pvid [enable | disable] |
dot1_tlv_protocol_vid [vlan [all | <vlan_name 32>] | vlanid <vidlist>] [enable | disable] |
dot1_tlv_vlan_name [vlan [all | <vlan_name 32>] | vlanid <vidlist>] [enable | disable] |
dot1_tlv_protocol_identity [all | {eapol | lacp | gvrp | stp}] [enable | disable] | dot3_tlvs
[{all} | {mac_phy_configuration_status | link_aggregation | maximum_frame_size}] [enable
| disable]]
show lldp ports {<portlist>}
config lldp_med fast_start repeat_count <value 1-10>
config lldp_med log state [enable | disable]
config lldp_med notification topo_change ports [<portlist> | all] state [enable | disable]
Figure 36-1 LLDP overview
302