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