Configure LLDP Status on Ports
About this task
Use this procedure to configure LLDP and configure the status to transmit and receive on a port, or ports, on your switch.
Procedure
Example
Configure LLDP on your switch and set the status for transmit and receive on a port:
Switch:1>enable Switch:1#configure terminal Switch:1(config)#interface GigabitEthernet 1/4 Switch:1(config-if)#lldp status txAndRx
Switch:1>enable Switch:1#configure terminal Switch:1(config)#interface GigabitEthernet 1/4 Switch:1(config-if)#default lldp status
Switch:1>enable Switch:1#configure terminal Switch:1(config)#interface GigabitEthernet 1/4 Switch:1(config-if)#no lldp status
Variable Definitions
The following table defines parameters for the lldp port command.
Variable |
Value |
---|---|
{slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]} |
Identifies the
slot and port in one of the following formats:
|
status <txAndRx> |
Configures the LLDP Data Unit (LLDP PDU) transmit and receive status on the port(s).
|