xStack® DES-3200 Series Layer 2 Ethernet Managed Switch CLI Reference Guide
344
config lldp ports 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> - Specify a range of ports to be configured.
all - To set all ports in the system, 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-level users can issue this command.
Example usage
To configure the port’s transmit and receive mode:
DES-3200-28:4# config lldp ports 1-5 admin_status tx_and_rx
Command: config lldp ports 1-5 admin_status tx_and_rx
Success.
DES-3200-28:4#
config lldp ports mgt_addr
Purpose
Used to enable or disable the port(s) which have been specified for
advertising the indicated management address instances.
Syntax
config lldp ports [<portlist>|all] mgt_addr ipv4 <ipaddr> [enable | disable]
Description
This command is used to specify whether the system’s IP address needs
to be advertised from the specified port. For layer 3 devices, each
managed address can be individually specified. The management
addresses that are added in the list will be advertised in the LLDP from
the specified interface associated with each management address. The
interface for that management address will be also advertised in the if-
index form.
Parameters
<portlist> - Specify a range of ports to be configured.
all - To set all ports in the system, use the “all” parameter.
ipv4 - IP address of IPV4.
Restrictions
Only Administrator-level users can issue this command.
Example usage
To enable port 1 to port 2 to manage address entries: