ntc_templates/templates/cisco_s300_show_lldp_neighbors.textfsm
raw| 1 | Value NEIGHBOR (\S+) |
| 2 | Value LOCAL_INTERFACE (\S+) |
| 3 | Value NEIGHBOR_INTERFACE (\S+) |
| 4 | Value DEVICE_ID (([0-9a-f]{2}[:-]){5}([0-9a-f]{2})) |
| 5 | |
| 6 | Start |
| 7 | ^System\s+capability\s+legend |
| 8 | ^\S+\s*- |
| 9 | ^\s*Port\s+Device\s+ID\s+Port\s+ID\s+System\s+Name\s+Capabilities\s+TTL -> Begin |
| 10 | ^\s*$$ |
| 11 | ^. -> Error |
| 12 | |
| 13 | Begin |
| 14 | ^-+ |
| 15 | ^${LOCAL_INTERFACE}\s+${DEVICE_ID}\s+${NEIGHBOR_INTERFACE}\s+${NEIGHBOR}.+ -> Record |
| 16 | ^\s*$$ |
| 17 | ^. -> Error |