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
Value Required NEIGHBOR (\S+)
Value Required LOCAL_INTERFACE (\S+)
Value Required NEIGHBOR_INTERFACE (\S+)
Start
^Device.*ID -> LLDP
LLDP
^${NEIGHBOR}\s+${LOCAL_INTERFACE}\s+\d+\s+(\S+)*\s+${NEIGHBOR_INTERFACE} -> Record
^${NEIGHBOR}
^\s+${LOCAL_INTERFACE}\s+\d+\s+(\S+)*\s+${NEIGHBOR_INTERFACE} -> Record
SAMPLE COMMAND OUTPUT
#show lldp neigh
Capability codes:
(R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device
(W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other
Device ID Local Intf Hold-time Capability Port ID
long_name_swt.josh-vGi0/2 120 R Gi0/0
Total entries displayed: 1
SUMMARY
When the hostname + domain name gets long the lldp neighbor output truncates at 20 characters. The result is no record being created and getting a blank completion.
Sample output of NTC Templates with network engine as is:
Fix template not accounting for neighbor name running into interface name.
TEMPLATE UPDATES:
- Limit `NEIGHBOR` capture group to first 20 non-space characters.
- Change space capture from being required to being allowed
TEST UPDATES:
- Add new raw/parsed files to account for additional output
Fix template not accounting for neighbor name running into interface name.
TEMPLATE UPDATES:
- Limit `NEIGHBOR` capture group to first 20 non-space characters.
- Change space capture from being required to being allowed
TEST UPDATES:
- Add new raw/parsed files to account for additional output
ISSUE TYPE
TEMPLATE USING
cisco_ios_show_lldp_neighbors
SAMPLE COMMAND OUTPUT
SUMMARY
When the hostname + domain name gets long the lldp neighbor output truncates at 20 characters. The result is no record being created and getting a blank completion.
Sample output of NTC Templates with network engine as is:
STEPS TO REPRODUCE
EXPECTED RESULTS
I expect to see a neighbor in the output
ACTUAL RESULTS
I got a blank facts set as shown above.
The text was updated successfully, but these errors were encountered: