xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
378
DGS-3450:admin# config lldp ports 1:1-1:2 mgt_addr ipv4 192.168.254.10 enable
Command: config lldp ports 1:1-1:2 mgt_addr ipv4 192.168.254.10 enable
Success.
DGS-3450:admin#
config lldp ports basic_tlvs
Purpose
Used to configure an individual port or group of ports to exclude one or more optional TLV
data types from outbound LLDP advertisements.
Syntax
config lldp ports [<portlist>|all] basic_tlvs
[all | {port_description | system_name |
system_description | system_capabilities}]
[enable | disable]
Description
An active LLDP port on the switch always includes the mandatory data in its outbound
advertisements. And there are four optional data that can be configured for an individual port
or group of ports to exclude one or more of these data types from outbound LLDP
advertisements. The mandatory data type include four basic types of information (end f
LLDPDU TLV, chassis ID TLV, port ID TLV, and Time to Live TLV). The mandatory type can
not be disabled. There are also four data types which can be optionally selected. They are
port_description
,
system_name
,
system_description
, and
system_capability
.
Parameters
<portlist>
–
Use this parameter to define ports to be configured.
all
– Use this parameter to set all ports in the system.
port_description
– This TLV optional data type indicates that LLDP agent should transmit
'Port Description TLV on the port. The default state is disabled.
system_name
– This TLV optional data type includes indicates that LLDP agent should
transmit 'System Name TLV'. The default state is disabled.
system_description
– This TLV optional data type includes indicates that LLDP agent should
transmit 'System Description TLV'. The default state is disabled.
system_capabilities
– This TLV optional data type includes indicates that LLDP agent should
transmit 'System Capabilities TLV'. The system capability will indicate whether the device
provides repeater, bridge, or router function, and whether the provided functions are
currently enabled. The default state is disabled.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure exclude the system name TLV from the outbound LLDP advertisements for all ports:
DGS-3450:admin# config lldp ports all basic_tlvs system_name enable
Command: config lldp ports all basic_tlvs system_name enable
Success.
DGS-3450:admin#