Skip to content

Commit 9c0015d

Browse files
committed
Fix for FPR running ASA to cover admin down
1 parent 81dc3b1 commit 9c0015d

File tree

3 files changed

+64
-1
lines changed

3 files changed

+64
-1
lines changed

ntc_templates/templates/cisco_asa_show_interface_ip_brief.textfsm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Value INTERFACE (\S+)
22
Value IP_ADDRESS (\S+)
3-
Value STATUS (up|down|administratively down)
3+
Value STATUS (up|down|administratively down|admin down)
44
Value PROTO (up|down)
55

66
Start
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Interface IP-Address OK? Method Status Protocol
2+
Internal-Data0/0 unassigned YES unset up up
3+
Vlan1 unassigned YES unset down down
4+
Ethernet1/1 10.9.224.41 YES CONFIG up up
5+
Ethernet1/2 unassigned YES unset admin down down
6+
Ethernet1/3 unassigned YES unset admin down down
7+
Ethernet1/4 unassigned YES unset admin down down
8+
Ethernet1/5 unassigned YES unset admin down down
9+
Ethernet1/6 unassigned YES unset admin down down
10+
Ethernet1/7 10.9.224.49 YES CONFIG up up
11+
Ethernet1/8 10.9.224.51 YES CONFIG up up
12+
Internal-Data1/1 169.254.1.1 YES unset up up
13+
Management1/1 10.9.227.2 YES CONFIG up up
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
parsed_sample:
3+
- interface: "Internal-Data0/0"
4+
ip_address: "unassigned"
5+
proto: "up"
6+
status: "up"
7+
- interface: "Vlan1"
8+
ip_address: "unassigned"
9+
proto: "down"
10+
status: "down"
11+
- interface: "Ethernet1/1"
12+
ip_address: "10.9.224.41"
13+
proto: "up"
14+
status: "up"
15+
- interface: "Ethernet1/2"
16+
ip_address: "unassigned"
17+
proto: "down"
18+
status: "admin down"
19+
- interface: "Ethernet1/3"
20+
ip_address: "unassigned"
21+
proto: "down"
22+
status: "admin down"
23+
- interface: "Ethernet1/4"
24+
ip_address: "unassigned"
25+
proto: "down"
26+
status: "admin down"
27+
- interface: "Ethernet1/5"
28+
ip_address: "unassigned"
29+
proto: "down"
30+
status: "admin down"
31+
- interface: "Ethernet1/6"
32+
ip_address: "unassigned"
33+
proto: "down"
34+
status: "admin down"
35+
- interface: "Ethernet1/7"
36+
ip_address: "10.9.224.49"
37+
proto: "up"
38+
status: "up"
39+
- interface: "Ethernet1/8"
40+
ip_address: "10.9.224.51"
41+
proto: "up"
42+
status: "up"
43+
- interface: "Internal-Data1/1"
44+
ip_address: "169.254.1.1"
45+
proto: "up"
46+
status: "up"
47+
- interface: "Management1/1"
48+
ip_address: "10.9.227.2"
49+
proto: "up"
50+
status: "up"

0 commit comments

Comments
 (0)