Skip to content

Commit f8573fe

Browse files
committed
Added cisco_ios_show_sdwan_bfd_sessions_table
1 parent f65f2c0 commit f8573fe

File tree

4 files changed

+210
-0
lines changed

4 files changed

+210
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Value SRC_IP (\S+)
2+
Value DST_IP (\S+)
3+
Value PROTO (\S+)
4+
Value SRC_PORT (\d+)
5+
Value DST_PORT (\d+)
6+
Value SYSTEM_IP (\S+)
7+
Value SITE_ID (\d+)
8+
Value LOCAL_COLOR (\S+)
9+
Value REMOTE_COLOR (\S+)
10+
Value STATE (\S+)
11+
Value DETECT_MULTIPLIER (\d+)
12+
Value TX_INTERVAL (\d+)
13+
Value UPTIME (\S+)
14+
Value TRANSITIONS (\d+)
15+
16+
Start
17+
# Skip headers and separators
18+
^\s*SRC\s+DST\s+SITE\s+LOCAL\s+DETECT\s+TX
19+
^\s*SRC\s+IP\s+DST\s+IP\s+PROTO\s+PORT\s+PORT\s+SYSTEM\s+IP\s+ID\s+COLOR\s+COLOR\s+STATE\s+MULTIPLIER\s+INTERVAL\s+UPTIME\s+TRANSITIONS
20+
^\s*--+$$
21+
# Match data rows
22+
^${SRC_IP}\s+${DST_IP}\s+${PROTO}\s+${SRC_PORT}\s+${DST_PORT}\s+${SYSTEM_IP}\s+${SITE_ID}\s+${LOCAL_COLOR}\s+${REMOTE_COLOR}\s+${STATE}\s+${DETECT_MULTIPLIER}\s+${TX_INTERVAL}\s+${UPTIME}\s+${TRANSITIONS} -> Record
23+
^\s*$$
24+
^. -> Error

ntc_templates/templates/index

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ cisco_ios_show_ip_eigrp_interfaces_detail.textfsm, .*, cisco_ios, sh[[ow]] ip ei
266266
cisco_ios_show_ip_eigrp_neighbors_detail.textfsm, .*, cisco_ios, sh[[ow]] ip ei[[grp]] nei[[ghbors]] de[[tail]]
267267
cisco_ios_show_ip_dhcp_snooping_binding.textfsm, .*, cisco_ios, sh[[ow]] ip dhcp sn[[ooping]] bi[[nding]]
268268
cisco_ios_show_ip_ospf_database_network.textfsm, .*, cisco_ios, sh[[ow]] ip ospf data[[base]] ne[[twork]]
269+
cisco_ios_show_sdwan_bfd_sessions_table.textfsm, .*, cisco_ios, sh[[ow]] sdw[[an]] bf[[d]] ses[[sions]] ta[[ble]]
269270
cisco_ios_show_authentication_sessions.textfsm, .*, cisco_ios, show authen[[tication]] ses[[sions]]
270271
cisco_ios_show_crypto_pki_certificates.textfsm, .*, cisco_ios, sh[[ow]] cry[[pto]] p[[ki]] ce[[rtificates]]
271272
cisco_ios_show_environment_temperature.textfsm, .*, cisco_ios, sh[[ow]] envi[[ronment]] t[[emperature]]
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
SRC DST SITE LOCAL DETECT TX
2+
SRC IP DST IP PROTO PORT PORT SYSTEM IP ID COLOR COLOR STATE MULTIPLIER INTERVAL UPTIME TRANSITIONS
3+
----------------------------------------------------------------------------------------------------------------------------------------------------
4+
10.11.22.4 44.117.23.0 ipsec 12346 12346 10.9.255.1 65222 gold gold up 7 1000 17:00:15:23 4
5+
10.11.22.36 10.2.242.36 ipsec 12346 12346 10.9.255.1 65222 private6 private6 up 7 1000 2:06:48:29 64
6+
10.11.22.4 30.114.33.32 ipsec 12346 12346 10.9.255.6 65222 gold silver up 7 1000 17:00:15:23 5
7+
10.11.22.36 10.2.242.37 ipsec 12346 12346 10.9.255.6 65222 private6 private6 up 7 1000 17:00:15:23 2
8+
10.11.22.4 25.117.111.208 ipsec 12346 12346 10.66.255.1 65211 gold gold up 7 1000 17:00:15:23 2
9+
10.11.22.36 10.51.242.36 ipsec 12346 12346 10.66.255.1 65211 private6 private6 down 7 1000 NA 0
10+
10.11.22.4 51.142.56.212 ipsec 12346 12386 10.94.2.247 145 gold gold up 7 1000 17:00:15:23 1
11+
10.11.22.4 17.69.229.192 ipsec 12346 12386 10.94.3.247 305 gold gold up 7 1000 17:00:15:23 1
12+
10.11.22.4 242.135.190.254 ipsec 12346 12386 172.47.255.1 65003 gold silver up 7 1000 17:00:15:23 24
13+
10.11.22.4 237.111.137.218 ipsec 12346 12346 172.47.255.1 65003 gold gold up 7 1000 17:00:15:23 10
14+
10.11.22.4 84.169.24.206 ipsec 12346 12386 172.47.255.6 65003 gold gold up 7 1000 17:00:15:23 6
15+
10.11.22.4 242.105.174.58 ipsec 12346 12386 172.47.255.6 65003 gold silver up 7 1000 17:00:15:23 2
Lines changed: 170 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,170 @@
1+
---
2+
parsed_sample:
3+
- detect_multiplier: "7"
4+
dst_ip: "44.117.23.0"
5+
dst_port: "12346"
6+
local_color: "gold"
7+
proto: "ipsec"
8+
remote_color: "gold"
9+
site_id: "65222"
10+
src_ip: "10.11.22.4"
11+
src_port: "12346"
12+
state: "up"
13+
system_ip: "10.9.255.1"
14+
transitions: "4"
15+
tx_interval: "1000"
16+
uptime: "17:00:15:23"
17+
- detect_multiplier: "7"
18+
dst_ip: "10.2.242.36"
19+
dst_port: "12346"
20+
local_color: "private6"
21+
proto: "ipsec"
22+
remote_color: "private6"
23+
site_id: "65222"
24+
src_ip: "10.11.22.36"
25+
src_port: "12346"
26+
state: "up"
27+
system_ip: "10.9.255.1"
28+
transitions: "64"
29+
tx_interval: "1000"
30+
uptime: "2:06:48:29"
31+
- detect_multiplier: "7"
32+
dst_ip: "30.114.33.32"
33+
dst_port: "12346"
34+
local_color: "gold"
35+
proto: "ipsec"
36+
remote_color: "silver"
37+
site_id: "65222"
38+
src_ip: "10.11.22.4"
39+
src_port: "12346"
40+
state: "up"
41+
system_ip: "10.9.255.6"
42+
transitions: "5"
43+
tx_interval: "1000"
44+
uptime: "17:00:15:23"
45+
- detect_multiplier: "7"
46+
dst_ip: "10.2.242.37"
47+
dst_port: "12346"
48+
local_color: "private6"
49+
proto: "ipsec"
50+
remote_color: "private6"
51+
site_id: "65222"
52+
src_ip: "10.11.22.36"
53+
src_port: "12346"
54+
state: "up"
55+
system_ip: "10.9.255.6"
56+
transitions: "2"
57+
tx_interval: "1000"
58+
uptime: "17:00:15:23"
59+
- detect_multiplier: "7"
60+
dst_ip: "25.117.111.208"
61+
dst_port: "12346"
62+
local_color: "gold"
63+
proto: "ipsec"
64+
remote_color: "gold"
65+
site_id: "65211"
66+
src_ip: "10.11.22.4"
67+
src_port: "12346"
68+
state: "up"
69+
system_ip: "10.66.255.1"
70+
transitions: "2"
71+
tx_interval: "1000"
72+
uptime: "17:00:15:23"
73+
- detect_multiplier: "7"
74+
dst_ip: "10.51.242.36"
75+
dst_port: "12346"
76+
local_color: "private6"
77+
proto: "ipsec"
78+
remote_color: "private6"
79+
site_id: "65211"
80+
src_ip: "10.11.22.36"
81+
src_port: "12346"
82+
state: "down"
83+
system_ip: "10.66.255.1"
84+
transitions: "0"
85+
tx_interval: "1000"
86+
uptime: "NA"
87+
- detect_multiplier: "7"
88+
dst_ip: "51.142.56.212"
89+
dst_port: "12386"
90+
local_color: "gold"
91+
proto: "ipsec"
92+
remote_color: "gold"
93+
site_id: "145"
94+
src_ip: "10.11.22.4"
95+
src_port: "12346"
96+
state: "up"
97+
system_ip: "10.94.2.247"
98+
transitions: "1"
99+
tx_interval: "1000"
100+
uptime: "17:00:15:23"
101+
- detect_multiplier: "7"
102+
dst_ip: "17.69.229.192"
103+
dst_port: "12386"
104+
local_color: "gold"
105+
proto: "ipsec"
106+
remote_color: "gold"
107+
site_id: "305"
108+
src_ip: "10.11.22.4"
109+
src_port: "12346"
110+
state: "up"
111+
system_ip: "10.94.3.247"
112+
transitions: "1"
113+
tx_interval: "1000"
114+
uptime: "17:00:15:23"
115+
- detect_multiplier: "7"
116+
dst_ip: "242.135.190.254"
117+
dst_port: "12386"
118+
local_color: "gold"
119+
proto: "ipsec"
120+
remote_color: "silver"
121+
site_id: "65003"
122+
src_ip: "10.11.22.4"
123+
src_port: "12346"
124+
state: "up"
125+
system_ip: "172.47.255.1"
126+
transitions: "24"
127+
tx_interval: "1000"
128+
uptime: "17:00:15:23"
129+
- detect_multiplier: "7"
130+
dst_ip: "237.111.137.218"
131+
dst_port: "12346"
132+
local_color: "gold"
133+
proto: "ipsec"
134+
remote_color: "gold"
135+
site_id: "65003"
136+
src_ip: "10.11.22.4"
137+
src_port: "12346"
138+
state: "up"
139+
system_ip: "172.47.255.1"
140+
transitions: "10"
141+
tx_interval: "1000"
142+
uptime: "17:00:15:23"
143+
- detect_multiplier: "7"
144+
dst_ip: "84.169.24.206"
145+
dst_port: "12386"
146+
local_color: "gold"
147+
proto: "ipsec"
148+
remote_color: "gold"
149+
site_id: "65003"
150+
src_ip: "10.11.22.4"
151+
src_port: "12346"
152+
state: "up"
153+
system_ip: "172.47.255.6"
154+
transitions: "6"
155+
tx_interval: "1000"
156+
uptime: "17:00:15:23"
157+
- detect_multiplier: "7"
158+
dst_ip: "242.105.174.58"
159+
dst_port: "12386"
160+
local_color: "gold"
161+
proto: "ipsec"
162+
remote_color: "silver"
163+
site_id: "65003"
164+
src_ip: "10.11.22.4"
165+
src_port: "12346"
166+
state: "up"
167+
system_ip: "172.47.255.6"
168+
transitions: "2"
169+
tx_interval: "1000"
170+
uptime: "17:00:15:23"

0 commit comments

Comments
 (0)