Debian Codegraph @

ntc_templates/templates/cisco_ios_show_archive.textfsm

raw
1 Value STATE (\w+\s\w+)
2 Value NEXT_FILENAME (\S+)
3 Value List FILENAMES (\S+)
4 Value CURRENT_INDEX (\d+)
5
6 Start
7 ^The\s+maximum\s+archive\s+configurations\s+allowed\s+is\s+\d+.
8 ^There\s+(are|is)\s+currently\s+\d+\s+archive\s+configuration(s|)\s+saved.
9 ^The\s+next\s+archive\s+file\s+will\s+be\s+named\s+${NEXT_FILENAME}
10 ^\s+Archive\s+#\s+Name
11 ^\s+${CURRENT_INDEX}\s+${FILENAMES}\s+<-\s+Most\s+Recent
12 ^\s+\d+\s+${FILENAMES}
13 ^\s+\d+ -> Record
14 ^\sArchive feature ${STATE} -> Record
15 # Capture time-stamp if vty line has command time-stamping turned on
16 ^Load\s+for\s+
17 ^Time\s+source\s+is
18 ^. -> Error