193
The lldp admin-status command is used to configure the port’s LLDP operating
mode. To return to the default configuration, please use no lldp admin-status
command.
Syntax
lldp admin-status {disable | tx | rx | txrx }
no lldp admin-status
Parameter
disable —— Neither transmit nor receive LLDP frames.
tx —— Only transmit LLDP frames.
rx —— Only receive LLDP frames without sending.
txrx —— Transmit and receive LLDP frames. By default, the LLDP operating
mode of all ports is “txrx”.
Command Mode
Interface Configuration Mode(interface ethernet / interface range ethernet)
Example
Configure the LLDP operating mode as “tx” for port 6:
TP-LINK(config)# interface ethernet 6
TP-LINK(config-if)# lldp admin-status tx
lldp snmp-trap
Description
The lldp snmp-trap command is used to enable the ports' SNMP notification. If
enabled, the port will notify the trap event to network management system. To
disable the ports' SNMP notification, please use no lldp snmp-trap command.
Syntax
lldp snmp-trap
no lldp snmp-trap
Command Mode
Interface Configuration Mode(interface ethernet / interface range ethernet)
Example
Enable the ports' SNMP notification for port8:
TP-LINK(config)# interface ethernet 8
TP-LINK(config-if)# lldp snmp-trap