Debian Codegraph @

ntc_templates/templates/broadcom_icos_show_isdp_neighbors.textfsm

raw
1 Value ID (\S+)
2 Value INTERFACE (\S+)
3 Value HOLDTIME (\S+)
4 Value CAPABILITY ([\w]{1}(?:\s[\w]){0,2})
5 Value PLATFORM ((\S+\s\S+)|(\S+))
6 Value PORT (.+)
7
8 Start
9 # Captures show isdp neighbors for:
10 # Accton AS4610-54P, Accton AS5610-52X, Quanta LY2R, Quanta LB9, DNI AG3448P-R
11 # Raw data is the same in the case of all those devices
12 ^Capability\sCodes:
13 ^\s+\S+\s+-
14 ^\s*Device\s+ID\s+Intf\s+Holdtime\s+Capability\s+Platform\s+Port\s+ID$$
15 ^-+
16 ^\s*${ID}\s+${INTERFACE}\s+${HOLDTIME}\s+${CAPABILITY}\s+${PLATFORM}\s+${PORT} -> Record
17 ^\s*$$
18 ^. -> Error