Skip to content

Commit 9e26cc0

Browse files
authored
Update cisco_ios_show_ip_interface_brief (#1958)
1 parent 33f4faa commit 9e26cc0

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

ntc_templates/templates/cisco_ios_show_ip_interface_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|deleted)
44
Value PROTO (up|down)
55

66
Start

tests/cisco_ios/show_ip_interface_brief/cisco_ios_show_ip_interface_brief.raw

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
Interface IP-Address OK? Method Status Protocol
22
Ethernet0/0 unassigned YES NVRAM up up
33
Ethernet0/0.11 10.0.1.38 YES NVRAM up up
4+
Ethernet0/0.100 unassigned YES NVRAM deleted down
45
Ethernet0/1 1.1.1.1 YES NVRAM up up
56
Ethernet0/2 unassigned YES NVRAM administratively down down
67
Ethernet0/3 unassigned YES NVRAM administratively down down

tests/cisco_ios/show_ip_interface_brief/cisco_ios_show_ip_interface_brief.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ parsed_sample:
88
ip_address: "10.0.1.38"
99
proto: "up"
1010
status: "up"
11+
- interface: "Ethernet0/0.100"
12+
ip_address: "unassigned"
13+
proto: "down"
14+
status: "deleted"
1115
- interface: "Ethernet0/1"
1216
ip_address: "1.1.1.1"
1317
proto: "up"

0 commit comments

Comments
 (0)