Debian Codegraph @

ntc_templates/templates/checkpoint_gaia_show_ipv6_route.textfsm

raw
1 Value PROTOCOL (C|S|R|B|O|A|K|H|P|U|i)
2 Value NETWORK ([0-9a-f:]*)
3 Value MASK (\d{1,3})
4 Value NEXTHOPIP ([0-9a-f:]*)
5 Value INTERFACE (\S+)
6 Value COMMENT (\S.*)
7
8
9 Start
10 ^\S\s -> Continue.Record
11 # Match regular routes
12 ^${PROTOCOL}\s+${NETWORK}/${MASK}\s+via\s${NEXTHOPIP},\s${INTERFACE},
13 # Match directly connected routes
14 ^${PROTOCOL}\s+${NETWORK}/${MASK}\s+is directly connected,\s${INTERFACE}
15 # Match optional comment, ignore trailing whitespace
16 ^\s{39}${COMMENT}\s*$$