Debian Codegraph @

ntc_templates/templates/hp_procurve_show_port-security.textfsm

raw
1 Value PORT (\S+)
2 Value LEARN_MODE (\S+)
3 Value ACTION (None|Send\s+Alarm|Send\s+Alarm\S+\s+Disable\s+Port)
4 Value EAVESDROP_PREVENTION (Enabled|Disabled)
5
6 Start
7 ^\s+Port\s+Security\s*
8 ^\s*$$
9 ^\s+Port\s+Learn\s+Mode\s+\|\s+Action\s+Eavesdrop\s+Prevention\s*$$
10 ^\s*-+(?:\s|-|\+)+$$ -> Show_Port_Security
11 ^. -> Error
12
13 Show_Port_Security
14 ^\s+${PORT}\s+${LEARN_MODE}\s+\|\s+${ACTION}\s+${EAVESDROP_PREVENTION}\s*$$ -> Record
15 ^\s*$$
16 ^. -> Error