-
Notifications
You must be signed in to change notification settings - Fork 742
/
Copy pathcisco_ios_show_vlan.textfsm
143 lines (140 loc) · 6.19 KB
/
cisco_ios_show_vlan.textfsm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
Value Required VLAN_ID (\d+)
Value VLAN_NAME (\S+)
Value STATUS (\S+)
Value List INTERFACES ([\w\./]+)
Start
^\s*$$
^\w+\s+[NnAaMmEe]{4}.*$$ -> VLANS
# Capture time-stamp if vty line has command time-stamping turned on
^Load\s+for\s+
^Time\s+source\s+is
VLANS
^\d+ -> Continue.Record
^${VLAN_ID}\s+${VLAN_NAME}\s+${STATUS}\s*$$
^${VLAN_ID}\s+${VLAN_NAME}\s+${STATUS}\s+${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){3}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){4}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){5}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){6}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){7}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){8}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){9}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){10}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){11}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){12}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){13}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){14}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){15}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){16}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){17}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){18}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){19}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){20}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){21}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){22}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){23}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){24}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){25}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){26}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){27}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){28}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){29}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){30}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){31}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){32}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){33}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){34}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){35}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){36}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){37}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){38}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){39}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){40}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){41}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){42}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){43}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){44}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){45}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){46}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){47}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){48}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){49}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){50}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){51}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){52}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){53}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){54}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){55}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){56}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){57}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){58}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){59}${INTERFACES},* -> Continue
^\d+\s+(?:\S+\s+){60}${INTERFACES},* -> Continue
^\s+${INTERFACES},* -> Continue
^\s+\S+\s+${INTERFACES},* -> Continue
^\s+(?:\S+\s+){2}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){3}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){4}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){5}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){6}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){7}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){8}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){9}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){10}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){11}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){12}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){13}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){14}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){15}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){16}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){17}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){18}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){19}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){20}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){21}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){22}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){23}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){24}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){25}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){26}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){27}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){28}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){29}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){30}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){31}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){32}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){33}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){34}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){35}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){36}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){37}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){38}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){39}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){40}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){41}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){42}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){43}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){44}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){45}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){46}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){47}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){48}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){49}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){50}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){51}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){52}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){53}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){54}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){55}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){56}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){57}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){58}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){59}${INTERFACES},* -> Continue
^\s+(?:\S+\s+){60}${INTERFACES},* -> Continue
^\d+
^\s+
^-+
^\S+\s+[TtYyPpEe]{4} -> Done
^.+ -> Error
Done
^.*