CLI Reference Guide-R04

Table Of Contents
Chapter 26
| LLDP Commands
– 789 –
location is not known, 0 and 1 can be used, providing the client device is
physically close to the DHCP server or network element.
Example
The following example enables advertising location identification details.
Console(config)#interface ethernet 1/1
Console(config-if)#lldp med-location civic-addr
Console(config-if)#lldp med-location civic-addr 1 California
Console(config-if)#lldp med-location civic-addr 2 Orange
Console(config-if)#lldp med-location civic-addr 3 Irvine
Console(config-if)#lldp med-location civic-addr 4 West Irvine
Console(config-if)#lldp med-location civic-addr 6 Exchange
Console(config-if)#lldp med-location civic-addr 18 Avenue
Console(config-if)#lldp med-location civic-addr 19 320
Console(config-if)#lldp med-location civic-addr 27 5
Console(config-if)#lldp med-location civic-addr 28 509B
Console(config-if)#lldp med-location civic-addr country US
Console(config-if)#lldp med-location civic-addr what 2
Console(config-if)#
lldp med-notification This command enables the transmission of SNMP trap notifications about LLDP-
MED changes. Use the no form to disable LLDP-MED notifications.
Syntax
[no] lldp med-notification
Default Setting
Disabled
Command Mode
Interface Configuration (Ethernet, Port Channel)
Command Usage
This option sends out SNMP trap notifications to designated target stations at
the interval specified by the lldp notification-interval command. Trap
notifications include information about state changes in the LLDP MIB (IEEE
802.1AB), the LLDP-MED MIB (ANSI/TIA 1057), or organization-specific LLDP-
EXT-DOT1 and LLDP-EXT-DOT3 MIBs.
SNMP trap destinations are defined using the snmp-server host command.
Information about additional changes in LLDP neighbors that occur between
SNMP notifications is not transmitted. Only state changes that exist at the time
of a trap notification are included in the transmission. An SNMP agent should
therefore periodically check the value of lldpStatsRemTableLastChangeTime to
detect any lldpRemTablesChange notification-events missed due to throttling
or transmission loss.