Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes 374 - Adds example of Other/unknown media on LLDP for a device … #377

Merged
merged 3 commits into from
Jul 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion templates/cisco_ios_show_lldp_neighbors_detail.template
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ Start
^.*IP:\s+${MANAGEMENT_IP}
^Auto\s+Negotiation
^Physical\s+media
^\s+.+\(\S+\)\s*$$
# Removed \(\s+\) from the template - The line 'Other/unknown' would not be captured
# Now looks for any text beginning with any space
^\s+.+\s*$$
^Media\s+Attachment
^\s+Inventory
^\s+Capabilities
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,14 @@ parsed_sample:
capabilities: 'T'
management_ip: ''
vlan: ''

- local_interface: 'Te1/1/1'
chassis_id: '2c33.1100.a6c0'
neighbor_port_id: 'Te1/2/13'
neighbor_interface: 'asw22'
neighbor: 'dsw01'
system_description: 'Cisco IOS Software, s6t64 Software (s6t64-ADVENTERPRISEK9-M), Version 15.4(1)SY3, RELEASE SOFTWARE (fc4)'
capabilities: 'B,R'
management_ip: '172.16.0.10'
vlan: '1'

Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,29 @@ MED Information:
PD device, Power source: PSE, Power Priority: High, Wattage: 4.0
Location - not advertised

------------------------------------------------
Local Intf: Te1/1/1
Chassis id: 2c33.1100.a6c0
Port id: Te1/2/13
Port Description: asw22
System Name: dsw01

System Description:
Cisco IOS Software, s6t64 Software (s6t64-ADVENTERPRISEK9-M), Version 15.4(1)SY3, RELEASE SOFTWARE (fc4)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2017 by Cisco Systems, Inc.
Compiled Fri 27-Oct-17 23:06 by prod_rel_team

Time remaining: 110 seconds
System Capabilities: B,R
Enabled Capabilities: B,R
Management Addresses:
IP: 172.16.0.10
Auto Negotiation - supported, enabled
Physical media capabilities:
Other/unknown
Media Attachment Unit type - not advertised
Vlan ID: 1


Total entries displayed: 1
Total entries displayed: 2