xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
377
config lldp ports mgt_addr
Purpose
Used to enable or disable port(s) specified for advertising indicated management address
instance.
Syntax
config lldp ports [<portlist> | all] mgt_addr [ipv4 <ipaddr> | ipv6 <ipv6addr>]
[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>
−
Use this parameter to define ports to be configured.
all
– Use this parameter to set all ports in the system.
ipv4
– The IP address of IPv4.
Ipv6
– The IP address of IPv6.
Restrictions
Only Administrator and Operator-level users can issue this command.
Usage Example:
To enable ports 1 to 2 to manage address entry:
D G S – 3 4 2 6 : 5 # c o n f i g l l d p p o r t s 1 - 2 m g t _ a d d r i p v 4 1 9 2 . 1 6 8 . 2 5 4 . 1 0 e n a b l e
C o m m a n d : c o n f i g c o n f i g l l d p p o r t s 1 - 2 m g t _ a d d r i p v 4 1 9 2 . 1 6 8 . 2 5 4 . 1 0 e n a b l e
S u c c e s s .
D G S – 3 4 2 6 : 5 #
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 of
LLDPDU TLV, chassis ID TLV, port ID TLV, and Time to Live TLV). The mandatory type
cannot 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 indicates that LLDP agent should transmit
'System Name TLV'. The default state is disabled.
system_description
– This TLV optional data type indicates that LLDP agent should
transmit 'System Description TLV'. The default state is disabled.
system_capabilities
– This TLV optional data type 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.
Usage Example:
To configure exclude the system name TLV from the outbound LLDP advertisements for all ports: