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

Enable LLDP per interface

Want to summarize with AI?

Log in

This topics describes how to enable LLDP on a specific interface so that LLDP transmit and receive operations run only on the interfaces where you have activated LLDP explicitly.


When you enable LLDP globally, all interfaces that support LLDP are automatically enabled for both transmit and receive operations. However, if you want to enable LLDP per interface, perform the following configuration steps.

Procedure

1.

Enter interface configuration mode for the target Ethernet interface and bring it up.

Example:

Router(config)# int HundredGigE 0/2/0/0
Router(config-if)# no sh
Router(config-if)# commit
2.

Enable LLDP on the interface with the lldp enable command and commit the configuration.

Example:

Router(config-if)# lldp ?
Router(config-if)# lldp enable
Router(config-if)# commit
3.

Use show running-config command to check the running configuration.

Router#sh running-config
Wed Jun 27 12:40:21.274 IST
Building configuration...
!! IOS XR Configuration 0.0.0
!! Last configuration change at Wed Jun 27 00:59:29 2018 by UNKNOWN
!
interface HundredGigE0/0/0/0
 shutdown
!
interface HundredGigE0/0/0/1
 shutdown
!
interface HundredGigE0/0/0/2
 shutdown
!
interface HundredGigE0/0/0/3
 Shutdown
!
interface HundredGigE0/0/0/4
 shutdown
!
interface HundredGigE0/0/0/5
 shutdown
!
end