© Copyright IBM Corp. 2011 Chapter 26. Link Layer Discovery Protocol 317
Time-to-Live for Received Information
Each remote device LLDP packet includes an expiration time. If the switch port does
not receive an LLDP update from the remote device before the time-to-live clock
expires, the switch will consider the remote information to be invalid, and will
remove all associated information from the MIB.
Remote devices can also intentionally set their LLDP time-to-live to 0, indicating to
the switch that the LLDP information is invalid and must be immediately removed.
LLDP Example Configuration
1. Turn LLDP on globally.
2. Set the global LLDP timer features.
3. Set LLDP options for each port.
4. Enable syslog reporting.
5. Verify the configuration settings:
6. View remote device information as needed.
RS G8000(config)# lldp enable
RS G8000(config)# lldp transmission-delay 30
(Transmit each 30 seconds)
RS G8000(config)# lldp transmission-delay 2(No more often than 2 sec.)
RS G8000(config)# lldp holdtime-multiplier 4(Remote hold 4 intervals)
RS G8000(config)# lldp reinit-delay 2 (Wait 2 sec. after reinit.)
RS G8000(config)# lldp trap-notification-interval 5(Minimum 5 sec.
between)
RS G8000(config)# interface port <n> (Select a switch port)
RS G8000(config-if)# lldp admin-status tx_rx(Transmit and receive LLDP)
RS G8000(config-if)# lldp trap-notification(Enable SNMP trap
notifications)
RS G8000(config-if)# lldp tlv all (Transmit all optional information)
RS G8000(config-if)# exit
RS G8000(config)# logging log lldp
RS G8000(config)# show lldp
RS G8000(config)# show lldp remote-device
or
RS G8000(config)# show lldp remote-device <index number>