You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to get LLDP neighbor details especially LLDP neighbor system description of a Cisco Catalyst switch. The playbook works without error, but it seemed the LLDP neighbor "system_description" is missing in the parsed output.
This is the output from Cisco switch:
UCBJSO_ASW01#show lldp nei detail
------------------------------------------------
Local Intf: Gi1/0/48
Chassis id: ec1d.8b2e.3700
Port id: Gi2/0/48
Port Description: GigabitEthernet2/0/48
System Name: UCBJSO_CSW02
System Description:
Cisco IOS Software, IOS-XE Software, Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 03.06.06E RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2016 by Cisco Systems, Inc.
Compiled Sat 17-Dec-16
Time remaining: 107 seconds
System Capabilities: B,R
Enabled Capabilities: B,R
Management Addresses:
IP: 10.33.32.1
Auto Negotiation - supported, enabled
Physical media capabilities:
1000baseT(FD)
100base-TX(FD)
100base-TX(HD)
10base-T(FD)
10base-T(HD)
Media Attachment Unit type: 30
Vlan ID: 1
Total entries displayed: 1
I have a feeling that the regex parser that they have built is not matching on the CLI output from your device, and therefore does not appear in the output.
I want to get LLDP neighbor details especially LLDP neighbor system description of a Cisco Catalyst switch. The playbook works without error, but it seemed the LLDP neighbor "system_description" is missing in the parsed output.
This is the output from Cisco switch:
This is the parsed output:
My ansible version:
The playbook look like this:
The text was updated successfully, but these errors were encountered: