diff --git a/templates/cisco_ios_show_access-session.textfsm b/templates/cisco_ios_show_access-session.textfsm new file mode 100644 index 0000000000..d518db4922 --- /dev/null +++ b/templates/cisco_ios_show_access-session.textfsm @@ -0,0 +1,17 @@ +Value INTERFACE (.+?) +Value MAC (.+?) +Value METHOD (.+?) +Value DOMAIN (.+?) +Value STATUS (.+?) +Value SESSION (\w+?) + +Start + ^Interface\s+MAC Address\s+Method\s+Domain -> Catch + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is + +Catch + ^-+$$ + ^${INTERFACE}\s+${MAC}\s+${METHOD}\s+${DOMAIN}\s+${STATUS}\s+${SESSION}$$ -> Record + ^.* -> Start diff --git a/templates/cisco_ios_show_lldp_neighbors.textfsm b/templates/cisco_ios_show_lldp_neighbors.textfsm index f397e703fe..f2b8010053 100644 --- a/templates/cisco_ios_show_lldp_neighbors.textfsm +++ b/templates/cisco_ios_show_lldp_neighbors.textfsm @@ -1,4 +1,4 @@ -Value Required NEIGHBOR (\S{0,20}) +Value Required NEIGHBOR (.{0,20}(?