Debian Codegraph @

examples/cisco_bgp_summary_template

raw
1 # Carry down the local end information so that it is present on each row item.
2 Value Filldown RouterID (\S+)
3 Value Filldown LocalAS (\d+)
4 Value RemoteAS (\d+)
5 Value Required RemoteIP (\d+(\.\d+){3})
6 Value Uptime (\d+\S+)
7 Value Received_V4 (\d+)
8 Value Status (\D.*)
9
10 Start
11 ^BGP router identifier ${RouterID}, local AS number ${LocalAS}
12 ^${RemoteIP}\s+\d+\s+${RemoteAS}(\s+\S+){5}\s+${Uptime}\s+${Received_V4} -> Record
13 ^${RemoteIP}\s+\d+\s+${RemoteAS}(\s+\S+){5}\s+${Uptime}\s+${Status} -> Record
14
15 # Last record is already recorded then skip doing so here.
16 EOF