02-22-2024 05:21 AM - last edited on 02-22-2024 10:03 PM by Translator
we have NCS540 cisco we wan enable the command
LLDP RUN
but don't work
RP/0/RP0/CPU0:NCS540-RAS-JBEL#conf terminal
Thu Feb 22 12:46:44.923 UTC
RP/0/RP0/CPU0:NCS540-RAS-JBEL(config)#lldp ?
extended-show-width Configure Extended Show LLDP Neighbor Width
holdtime Specify the holdtime (in sec) to be sent in packets
management Configure LLDP over Management interface
priorityaddr Configure Priority to advertise Management interface addr
ess first
reinit Delay (in sec) for LLDP initialization on any interface
subinterfaces Configure LLDP over Sub-interfaces
timer Specify the rate at which LLDP packets are sent (in sec)
tlv-select Selection of LLDP TLVs to disable
<cr>
RP/0/RP0/CPU0:NCS540-RAS-JBEL(config)#lldp run ?
^
% Invalid input detected at '^' marker.
how i can enable the command LLDP RUN in the NCS540 cisco IOSXR ?
NCS540-DAHMANI# show version
Thu Feb 22 13:05:44.925 UTC
Cisco IOS XR Software, Version 7.7.2 LNT
Copyright (c) 2013-2022 by Cisco Systems, Inc.
Build Information:
Built By : ingunawa
Built On : Wed Oct 26 17:22:02 UTC 2022
Build Host : iox-ucs-002
Workspace : /auto/srcarchive14/prod/7.7.2/ncs540l/ws
Version : 7.7.2
Label : 7.7.2
cisco NCS540L (C3508 @ 1.60GHz)
cisco N540-12Z20G-SYS-D (C3508 @ 1.60GHz) processor with 8GB of memory
NCS540-DAHMANI uptime is 16 weeks, 1 day, 1 hour, 22 minutes
Thanks
Solved! Go to Solution.
02-22-2024 06:23 AM
02-22-2024 06:38 AM - last edited on 02-22-2024 10:07 PM by Translator
To enable LLDP globally, complete the following steps:
RP/0/RP0/CPU0:router # configure
RP/0/RP0/CPU0:router(config) #lldp
end or commit
Running configuration
RP/0/RP0/CPU0:router-5#show run lldp
Fri Dec 15 20:36:49.132 UTC
lldp
!
02-24-2024 07:54 AM - edited 02-24-2024 07:57 AM
Hello @dhikra-marghli8
See if you can configure LLDP per interfaces.
Do LLDP ? under an interface to see options.
Check if enable key is available. If yes, enter lldp enable under interface configuration.
Verification:
#show lldp interface
02-24-2024 11:18 PM - edited 02-24-2024 11:19 PM
other hand you can also use per interface base :
When LLDP is enabled globally, all interfaces that support LLDP are automatically enabled for both transmit and receive operations. However, if you want to enable LLDP per interface, use lldp enable
command in interface configuration mode.
RP/0/RSP0/CPU0:ios(config)# int gigabitEthernet 0/2/0/0
RP/0/RSP0/CPU0:ios(config-if)# no sh
RP/0/RSP0/CPU0:ios(config-if)#commit
RP/0/RSP0/CPU0:ios(config-if)#lldp ?
RP/0/RSP0/CPU0:ios(config-if)#lldp enable
RP/0/RSP0/CPU0:ios(config-if)#commit
02-22-2024 06:08 AM
I wait a reply
thanks
02-22-2024 06:23 AM
02-22-2024 06:38 AM - last edited on 02-22-2024 10:07 PM by Translator
To enable LLDP globally, complete the following steps:
RP/0/RP0/CPU0:router # configure
RP/0/RP0/CPU0:router(config) #lldp
end or commit
Running configuration
RP/0/RP0/CPU0:router-5#show run lldp
Fri Dec 15 20:36:49.132 UTC
lldp
!
02-22-2024 05:24 AM - last edited on 02-22-2024 10:00 PM by Translator
we have NCS540 cisco we wan enable the command
LLDP RUN
but don't work
RP/0/RP0/CPU0:NCS540-RAS-JBEL#conf terminal
Thu Feb 22 12:46:44.923 UTC
RP/0/RP0/CPU0:NCS540-RAS-JBEL(config)#lldp ?
extended-show-width Configure Extended Show LLDP Neighbor Width
holdtime Specify the holdtime (in sec) to be sent in packets
management Configure LLDP over Management interface
priorityaddr Configure Priority to advertise Management interface addr
ess first
reinit Delay (in sec) for LLDP initialization on any interface
subinterfaces Configure LLDP over Sub-interfaces
timer Specify the rate at which LLDP packets are sent (in sec)
tlv-select Selection of LLDP TLVs to disable
<cr>
RP/0/RP0/CPU0:NCS540-RAS-JBEL(config)#lldp run ?
^
% Invalid input detected at '^' marker.
how i can enable the command
LLDP RUN
in the NCS540 cisco IOSXR ?
NCS540-DAHMANI# show version
Thu Feb 22 13:05:44.925 UTC
Cisco IOS XR Software, Version 7.7.2 LNT
Copyright (c) 2013-2022 by Cisco Systems, Inc.
Build Information:
Built By : ingunawa
Built On : Wed Oct 26 17:22:02 UTC 2022
Build Host : iox-ucs-002
Workspace : /auto/srcarchive14/prod/7.7.2/ncs540l/ws
Version : 7.7.2
Label : 7.7.2
cisco NCS540L (C3508 @ 1.60GHz)
cisco N540-12Z20G-SYS-D (C3508 @ 1.60GHz) processor with 8GB of memory
NCS540-DAHMANI uptime is 16 weeks, 1 day, 1 hour, 22 minutes
Thanks
02-22-2024 08:45 AM
In IOSXR, LLDP is enabled by just entering the "lldp" configuration context, no need for the 'run' argument.
#sh run lldp
lldp
!
02-22-2024 08:30 PM - last edited on 02-22-2024 10:02 PM by Translator
the problem when you write : LLDP only ==> it is not accpettable
RP/0/RP0/CPU0:NCS540-RAS-JBEL(config)#lldp ?
extended-show-width Configure Extended Show LLDP Neighbor Width
holdtime Specify the holdtime (in sec) to be sent in packets
management Configure LLDP over Management interface
priorityaddr Configure Priority to advertise Management interface addr
ess first
reinit Delay (in sec) for LLDP initialization on any interface
subinterfaces Configure LLDP over Sub-interfaces
timer Specify the rate at which LLDP packets are sent (in sec)
tlv-select Selection of LLDP TLVs to disable
<cr>
you must choose one of the options !!
02-24-2024 11:18 PM - edited 02-24-2024 11:19 PM
other hand you can also use per interface base :
When LLDP is enabled globally, all interfaces that support LLDP are automatically enabled for both transmit and receive operations. However, if you want to enable LLDP per interface, use lldp enable
command in interface configuration mode.
RP/0/RSP0/CPU0:ios(config)# int gigabitEthernet 0/2/0/0
RP/0/RSP0/CPU0:ios(config-if)# no sh
RP/0/RSP0/CPU0:ios(config-if)#commit
RP/0/RSP0/CPU0:ios(config-if)#lldp ?
RP/0/RSP0/CPU0:ios(config-if)#lldp enable
RP/0/RSP0/CPU0:ios(config-if)#commit
02-24-2024 07:54 AM - edited 02-24-2024 07:57 AM
Hello @dhikra-marghli8
See if you can configure LLDP per interfaces.
Do LLDP ? under an interface to see options.
Check if enable key is available. If yes, enter lldp enable under interface configuration.
Verification:
#show lldp interface
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide