Debian Codegraph @

ntc_templates/templates/cisco_ios_show_vrf.textfsm

raw
1 Value Required NAME (\S+)
2 Value DEFAULT_RD ((\d+|\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}):\d+|<not set>)
3 Value PROTOCOLS (\S+)
4 Value List INTERFACES (\S+)
5
6 Start
7 ^\s*Name\s+Default RD\s+Protocols\s+Interfaces -> Start_record
8 # Capture time-stamp if vty line has command time-stamping turned on
9 ^Load\s+for\s+
10 ^Time\s+source\s+is
11 ^. -> Error
12
13 Start_record
14 ^\s{2}\S+ -> Continue.Record
15 ^\s{60}\s+${INTERFACES}
16 ^\s+${NAME}\s+${DEFAULT_RD}\s+${PROTOCOLS}\s+${INTERFACES}
17 ^\s+${NAME}\s+${DEFAULT_RD}\s+${PROTOCOLS}
18 ^. -> Error