Debian Codegraph @

ntc_templates/templates/cisco_ios_show_switch_detail_stack_ports.textfsm

raw
1 Value Key SWITCH (\d+)
2 Value STATUS1 (\w+)
3 Value STATUS2 (\w+)
4 Value NEIGHBOR1 (\w+)
5 Value NEIGHBOR2 (\w+)
6
7
8 Start
9 ^\s*Stack\s+Port\s+Status\s+Neighbors\s*$$ -> Stack
10
11 Stack
12 ^\s*Switch#\s+Port\s+1\s+Port\s+2\s+Port\s+1\s+Port\s+2\s*$$
13 ^-+$$
14 ^\s*${SWITCH}\s+${STATUS1}\s+${STATUS2}\s+${NEIGHBOR1}\s+${NEIGHBOR2}\s*$$ -> Record
15 ^\s*$$
16 ^. -> Error