![D-Link xStack DGS-3400 Series Cli Manual Download Page 380](http://html.mh-extra.com/html/d-link/xstack-dgs-3400-series/xstack-dgs-3400-series_cli-manual_77433380.webp)
xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
376
config lldp ports notification
Purpose
Used to configure each port for sending notification to configured SNMP trap receiver(s).
Syntax
config lldp ports [<portlist> | all] notification [enable | disable]
Description
This command is used to enable or disable each port for sending changes notification to
configured SNMP trap receiver(s) if an LLDP data change is detected in an
advertisement received on the port from an LLDP neighbor. The definition of change
includes new available information, information timeout, information update. And the
changed type includes any data update /insert/remove.
Parameters
<portlist>
−
Use this parameter to define ports to be configured.
all
– Use this parameter to set all ports in the system.
notification
−
Enables or disables the SNMP trap notification of LLDP data changes
detected on advertisements received from neighbor devices. The default notification state
is disabled.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To change the SNMP notification state of ports 1 to 5 to enable:
D G S – 3 4 2 6 : 5 # c o n f i g l l d p p o r t s 1 - 5 n o t i f i c a t i o n e n a b l e
C o m m a n d : c o n f i g l l d p p o r t s 1 - 5 n o t i f i c a t i o n e n a b l e
S u c c e s s .
D G S – 3 4 2 6 : 5 #
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
This command is used 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>
−
Use this parameter to define ports to be configured.
all
– Use this parameter to set all ports in the system.
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 and Operator-level users can issue this command.
Example usage:
To configure ports 1 to 5 to transmit and receive:
D G S – 3 4 2 6 : 5 # c o n f i g l l d p p o r t s 1 - 5 a d m i n _ s t a t u s r x _ a n d _ t x
C o m m a n d : c o n f i g l l d p p o r t s 1 - 5 a d m i n _ s t a t u s r x _ a n d _ t x
S u c c e s s .
D G S – 3 4 2 6 : 5 #