Debian Codegraph @

ntc_templates/templates/zyxel_os_cfg_static_dhcp_get.textfsm

raw
1 Value INDEX (\d+)
2 Value STATUS (0|1)
3 Value MAC_ADDRESS (([0-9a-fA-F]{2}:){5}[0-9a-fA-F]{2})
4 Value IP ((\d+\.){3}\d+)
5
6 Start
7 ^Index\s+Status\s+Mac\sAddress\s+IP\sAddress\s*$$ -> DHCPTable
8 ^\s*$$
9 ^. -> Error
10
11 DHCPTable
12 ^${INDEX}\s+${STATUS}\s+${MAC_ADDRESS}\s+${IP}\s*$$ -> Record
13 ^Command\sSuccessful.\s*$$
14 ^\s*$$
15 ^. -> Error