Debian Codegraph @

ntc_templates/templates/cisco_s300_show_mac_address-table.textfsm

raw
1 Value DESTINATION_ADDRESS ((\w\w:){5}\w\w)
2 Value TYPE (dynamic|self)
3 Value VLAN (\w+)
4 Value DESTINATION_PORT (\S+)
5
6 Start
7 ^Flags
8 ^Aging
9 ^\s+Vlan\s+Mac\s+Address\s+Port\s+Type -> Begin
10 ^\s*$$
11 ^. -> Error
12
13 Begin
14 ^-+
15 ^\s+${VLAN}\s+${DESTINATION_ADDRESS}\s+${DESTINATION_PORT}\s+${TYPE} -> Record
16 ^\s*$$
17 ^. -> Error