xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
388
config lldp_med log state
Syntax
config lldp_med log state [enable | disable]
Description
This command is used to configure the log state of LLDP-MED events.
Parameters
enable
- Enable the log state for LLDP-MED events.
disable
- Disable the log state for LLDP-MED events. The default is disabled.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable the log state of LLDP-MED events:
DGS-3450:admin#config lldp_med log state enable
Command: config lldp_med log state enable
Success.
DGS-3450:admin#
config lldp_med notification topo_change ports
Purpose
Used to enable or disable each port for sending topology change notification to configured
SNMP trap receiver(s) if an endpoint device is removed or moved to another port.
Syntax
config lldp_med notification topo_change ports [<portlist>|all] state [enable | disable]
Description
This command is used to enable or disable each port for sending topology change
notification to configured SNMP trap receiver(s) if an endpoint device is removed or moved to
another port.
Parameters
<portlist>
- Specify a range of ports to be configured.
all
- Specify to set all ports in the system.
state
- Enable or disable the SNMP trap notification of topology change detected state.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable topology change notification on ports 1:1 to 1:2:
DGS-3450:admin#config lldp_med notification topo_change ports 1:1-1:2 state enable
Command: config lldp_med notification topo_change ports 1:1-1:2 state enable
Success.
DGS-3450:admin#
config lldp_med ports
Purpose
Used to enable or disable transmitting LLDP-MED TLVs.
Syntax
config lldp_med ports [<portlist> | all] med_transmit_capabilities [all | {capabilities |
network_policy | power_pse | inventory}] state [enable | disable]
Description
It effectively disables LLDP-MED on a per-port basis by disabling transmission of TLV
capabilities. In this case, the remote table’s objects in the LLDP-MED MIB corresponding to
the respective port will not be populated.
Parameters
all
- Specify to set all ports in the system.