lldp enable snmp med-topo-change-notifications

Enables SNMP notifications and syslog messages for LLDP-MED topology changes.
Syntax
lldp enable snmp med-topo-change-notifications ports { all | [ ethernet unit/slot/port [ to unit/slot/port ] ... ] }
no lldp enable snmp med-topo-change-notifications ports { all | [ ethernet unit/slot/port [ to unit/slot/port ] ... ] }
Command Default

SNMP notifications and corresponding syslog messages are disabled.

Parameters
ports
Enables LLDP-MED SNMP notifications and syslog messages for ports.
all
Enables LLDP-MED SNMP notifications and syslog messages for all LLDP-capable ports.
ethernet unit/slot/port
Enables LLDP-MED SNMP notifications and syslog messages for a specific Ethernet port.
to unit/slot/port
Enables LLDP-MED SNMP notifications and syslog messages for a range of Ethernet ports.
Modes

Global configuration mode

Usage Guidelines

When you enable LLDP-MED SNMP notifications, corresponding syslog messages are enabled as well. When you enable LLDP-MED SNMP notifications, the device sends traps and syslog messages when an LLDP-MED endpoint neighbor entry is added or removed.

You can specify a list of ports, separated by a space, or a range of ports, or you can combine lists and ranges.

The command cannot support LAG virtual interfaces. Attempting to configure them will have no effect.

The no form of the command disables LLDP-MED SNMP notifications and syslog messages.

Examples

The following example enables LLDP-MED SNMP notifications and syslog messages for a range of ports.

device(config)# lldp enable snmp med-topo-change-notifications ports ethernet 1/1/4 to 1/1/6