D-Link DES-3500Series Switch User Manual


 
DES-3500 Layer 2 Fast Ethernet Switch CLI Reference Manual
286
config lldp admin_status
Purpose Used to configure per-port transmit and receive modes.
Syntax
config lldp ports [<portlist>|all] admin_status [tx_only | rx_only |
tx_and_rx | disable]
Description These options enable the Switch to control which ports participate in
LLDP traffic and whether the participating ports allow LLDP traffic in only
one direction or in both directions.
Parameters
portlist - Specified a range of ports to be configured. (UnitID:port
number).
all - To set all ports in the system, you may use the “all” parameter.
admin_status
tx_only: Configure the specified port(s) to transmit LLDP packets,
but block inbound LLDP packets from neighbor devices.
rx_only: Configure the specified port(s) to receive LLDP packets
from neighbors, but block outbound packets to neighbors.
tx_and_rx: Configure the specified port(s) to both transmit and
receive LLDP packets.
disable: Disable LLDP packet transmit and receive on the specified
port(s).
The default per port state is tx_and_rx.
Restrictions Only Administrator or Operator – level users can issue this command.
Example usage:
To configure the port’s transmit and receive mode:
DES-3526:admin#config lldp ports 1-5 admin_status tx_and_rx
Command: config lldp ports 1-5 admin_status tx_and_rx
Success.
DES-3526:admin#