Page 416 / 757 Scroll up to view Page 411 - 415
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
412
54
LINK LAYER DISCOVERY PROTOCOL (LLDP) COMMANDS
The Link Layer Discovery Protocol (LLDP) commands in the Command Line Interface (CLI) are listed (along with the
appropriate parameters) in the following table.
The Link Layer Discovery Protocol (LLDP) specified in this standard allows stations attached to an 802 LAN to advertise
to other stations attached to the same 802 LAN the connectivity and management information necessary to identify to
those management entities the station's point of attachment to the 802 LAN. The information distributed via this protocol
is stored by its recipients in a standard management information base (MIB), making it possible for the information to be
accessed by a network management system (NMS) using a management protocol such as the Simple Network
Management Protocol (SNMP)
Page 417 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
413
Command
Parameters
enable lldp
disable lldp
config lldp
message_tx_interval <sec 5-32768>
config lldp
message_tx_hold_multiplier <int 2–10>
config lldp
tx_delay <sec 1-8192>
config lldp
reinit_delay <sec 1-10>
config lldp
notification_interval <sec 5-3600>
config lldp ports
[<portlist>|all] notification [enable | disable]
config lldp ports
[<portlist>|all] admin_status [tx_only | rx_only | tx_and_rx | disable]
config lldp ports
[<portlist>|all] mgt_addr [ipv4 <ipaddr> | ipv6 <ipv6addr>] [enable | disable]
config lldp ports
[<portlist>|all] basic_tlvs [all | {port_description | system_name |
system_description | system_capabilities}] [enable | disable]
config lldp ports
[<portlist>|all] dot1_tlv_pvid [enable | disable]
config lldp ports
[<portlist>|all] dot1_tlv_protocol_vid [vlan [all | <vlan_name 32> ] | vlanid <vidlist> ]
[enable | disable]
config lldp ports
[<portlist>|all] dot1_tlv_vlan_name [vlan [all | <vlan_name 32> ] | vlanid <vidlist> ]
[enable | disable]
config lldp ports
[<portlist>|all] dot1_tlv_ protocol_identity[all | { eapol | lacp | gvrp | stp}] [enable |
disable]
config lldp ports
[<portlist>|all] dot3_tlvs [all | {mac_phy_configuration_status | link aggregation |
maximum_frame_size}] [enable | disable]
config lldp
forward_message [enable | disable]
show lldp
show lldp mgt_addr
{[ipv4 <ipaddr> | ipv6 <ipv6addr>]}
show lldp ports
{<portlist>}
show lldp local_ports
{<portlist>} {mode [brief | normal | detailed]}
show lldp remote_ports
{<portlist>} {mode [brief | normal | detailed]}
show lldp statistics
show lldp statistics ports
{<portlist>}
Each command is listed, in detail, in the following sections.
Page 418 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
414
enable lldp
Purpose
Used to enable LLDP operation on the Switch.
Syntax
enable lldp
Description
This is a global control for the LLDP function. When this function is enabled, the switch can
start to transmit LLDP packets and receive and process the LLDP packets. The specific
function of each port will depend on the per port LLDP setting. For the advertisement of
LLDP packets, the switch announces the information to its neighbor through ports. For the
receiving of LLDP packets, the switch will learn the information from the LLDP packets
advertised from the neighbor in the Neighbor’s table. The default state for LLDP is disabled.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable LLDP:
DGS-3627:admin# enable lldp
Command: enable lldp
Success.
DGS-3627:admin#
disable lldp
Purpose
Used to disable LLDP operation on the Switch.
Syntax
disable lldp
Description
This command will stop the sending and receiving of LLDP advertisement packets on the
Switch.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To disable LLDP:
DGS-3627:admin# disable lldp
Command: disable lldp
Success.
DGS-3627:admin#
Page 419 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
415
config lldp message_tx_interval
Purpose
Used to change the packet transmission interval.
Syntax
config lldp message_tx_interval <sec 5 – 32768>
Description
This interval controls how often active ports retransmit advertisements to their neighbors.
Parameters
message_tx_interval
– Changes the interval between consecutive transmissions of LLDP
advertisements on any given port. The range is from
5
seconds to
32768
seconds. The
default setting is
30
seconds.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To show the packet transmission interval:
DGS-3627:admin# config lldp message_tx_interval 30
Command: config lldp message_tx_interval 30
Success.
DGS-3627:admin#
config lldp message_tx_hold_multiplier
Purpose
Used to configure the message hold multiplier.
Syntax
config lldp message_tx_hold_multiplier <int 2-10 >
Description
This parameter is a multiplier on the msgTxInterval that is used to compute the TTL value of
txTTL in an LLDPDU. TheTTL will be carried in the LLDPDU packet. The lifetime will be the
minimum of 65535 and (message_tx_interval * message_tx_hold_multiplier). At the partner
switch, when the tme-to-Live for a given advertisement expires, the advertised data is
deleted from the neighbor switch’s MIB
Parameters
message_hold_multiplier
– The range is from
2
to
10
. The default setting is
4
.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To change the multiplier value:
DGS-3627:admin# config lldp message_tx_hold_multiplier 3
Command: config lldp message_tx_ hold_multiplier 3
Success.
DGS-3627:admin#
Page 420 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
416
config lldp tx_delay
Purpose
Used to change the minimum time (delay-interval) LLDP ports will delay in advertising
successive LLDP advertisements due to a change in LLDP MIB content. The tx_delay
defines the minimum interval between sending of LLDP messages due to constantly change
of MIB content.
Syntax
config lldp tx_delay < sec 1–8192 >
Description
The LLDP message_tx_interval (transmit interval) must be greater than or equal to (4 x
tx_delay interval).
Parameters
tx_delay
– The range is from
1
second to
8192
seconds. The default setting is
2
seconds.
NOTE:
txDelay should be less than or equal to 0.25 * msgTxInterval
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the delay interval:
DGS-3627:admin# config lldp tx_delay 8
Command: config lldp tx_delay 8
Success.
DGS-3627:admin#
config lldp reinit_delay
Purpose
Change the minimum time of the reinitialization delay interval.
Syntax
config lldp reinit_delay <sec 1 - 10>
Description
A re-enabled LLDP port will wait for reinit_delay after last disable command before
reinitializing.
Parameters
reinit_delay
– The range is from
1
second to
10
seconds. The default setting is
2
seconds.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To changes the re-initialization delay interval to five seconds:
DGS-3627:admin# config lldp reinit_delay 5
Command: config lldp reinit_delay 5
Success.
DGS-3627:admin#

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top