Configuring 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 4/4 Switch:1(config-if)#lldp status txAndRx
Switch:1>enable Switch:1#configure terminal Switch:1(config)#interface GigabitEthernet 4/4 Switch:1(config-if)#default lldp status
Switch:1>enable Switch:1#configure terminal Switch:1(config)#interface GigabitEthernet 4/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]] [,...]}  | 
 Identifies the slot and port in one of the following formats: a single slot and port (slot/port), a range of slots and ports (slot/port-slot/port), or a series of slots and ports (slot/port,slot/port,slot/port). If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.  | 
| 
 status <txAndRx>  | 
 Configures the LLDP Data Unit (LLDP PDU) transmit and receive status on the port(s). 
  | 
