1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Value INTERFACE (\S+)
Value PACKETS_TOTAL (\d+)
Value PACKETS_BROADCAST (\d+)
Value PACKETS_MULTICAST (\d+)
Value PACKETS_ERROR (\d+)
Start
^\s*$$
^Interface\s+Total\s+\(pkts\)\s+Broadcast\s+\(pkts\)\s+Multicast\s+\(pkts\)\s+Err\s+\(pkts\) -> InterfaceTable
^. -> Error
InterfaceTable
^${INTERFACE}\s+${PACKETS_TOTAL}\s+${PACKETS_BROADCAST}\s+${PACKETS_MULTICAST}\s+${PACKETS_ERROR} -> Record
^\s*$$
^\s*Overflow -> InterfaceTableFooter
^. -> Error
InterfaceTableFooter
# ignore the footer's content
|