Interfaces and Hardware Component Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

PDF

Interfaces and Hardware Component Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

Configure global LLDP operational characteristics

Want to summarize with AI?

Log in

This topic describes how to modify the default global LLDP operational characteristics on the router, such as the LLDP neighbor information holdtime, the LLDP initialization delay for an interface, and the LLDP packet rate.


When you enable LLDP globally on the router using the lldp command, these defaults are used for the protocol.

Use these steps to modify the global LLDP operational characteristics such as the LLDP neighbor information holdtime, initialization delay, or packet rate,.

Procedure

1.

Enter the global configuration mode.

Example:

Router# configure 
2.

(Optional) Use the lldp holdtime seconds command to specify the length of time that information from an LLDP packet should be held by the receiving device before aging and removing it.

Example:

Router(config)#lldp holdtime 60
3.

(Optional) Use the lldp reinit seconds command to specify the length of time to delay initialization of LLDP on an interface.

Example:

Router(config)# lldp reinit 4
4.

(Optional) Use the lldp timer seconds command to specify the LLDP packet rate.

Example:

Router(config)#lldp reinit 60
5.

Save the configuration changes.

Example:

Router(config)# end 

or

Router(config)# commit 
  • When you issue the end command, the system prompts you to commit changes:

    Uncommitted changes found, commit them before exiting(yes/no/cancel)?
    [cancel]:
  • Entering yes saves configuration changes to the running configuration file, exits the configuration session, and returns the router to EXEC mode.

  • Entering no exits the configuration session and returns the router to EXEC mode without committing the configuration changes.

  • Entering cancel leaves the router in the current configuration session without exiting or committing the configuration changes.

  • Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.