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

Disable LLDP receive and transmit operation for an interface

Want to summarize with AI?

Log in

This topic describes how to override the default behavior of LLDP on a specific interface by disabling the LLDP receive operation, transmit operation, or both.


When you enable LLDP globally on the router, all supported interfaces are automatically enabled for LLDP receive and transmit operation. You can override this default by disabling these operations for a particular interface.

To disable LLDP receive and transmit operations for an interface, complete the following steps:

Procedure

1.

Enter global configuration mode.

Example:

Router#configure
2.

Enter the interface configuration mode and specify the Ethernet interface name. Use the rack/slot/module/port notation.

Example:

Router(config)#interface HundredGigE 0/2/0/0

Possible interface types for this procedure are:

  • HundredGigE

  • TenGigE

3.

(Optional) Enter the LLDP configuration mode for the specified interface.

Example:

Router(config-if)#lldp
4.

(Optional) Disable the LLDP receive operations on the interface.

Example:

Router(config-lldp)#receive disable
5.

(Optional) Disable the LLDP transmit operations on the interface.

Example:

Router(config-lldp)#transmit disable
6.

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.