Skip to content

Commit c22240d

Browse files
icarus747Kyle Phillipsonmjbear
authored
Issue #1923 Optional Flag values ignored (#1928)
Co-authored-by: Kyle Phillipson <phillik747@gmail.com> Co-authored-by: Michael Bear <38406045+mjbear@users.noreply.github.com>
1 parent aee4973 commit c22240d

3 files changed

Lines changed: 52 additions & 1 deletion

File tree

ntc_templates/templates/cisco_nxos_show_ip_arp_detail.textfsm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ Start
1313
^. -> Error
1414

1515
Data
16-
^${IP_ADDRESS}\s+${AGE}\s+${MAC_ADDRESS}\s+${INTERFACE}\s+${PHYSICAL_INTERFACE}\s*$$ -> Record
16+
^${IP_ADDRESS}\s+${AGE}\s+${MAC_ADDRESS}\s+${INTERFACE}\s+${PHYSICAL_INTERFACE}(?:\s+[#*+])?\s*$$ -> Record
1717
^. -> Error
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Flags: * - Adjacencies learnt on non-active FHRP router
2+
+ - Adjacencies synced via CFSoE
3+
# - Adjacencies Throttled for Glean
4+
5+
IP ARP Table for context default
6+
Total number of entries: 1725
7+
Address Age MAC Address Interface Physical Interface
8+
10.10.10.194 00:03:10 aaaa.bbbb.cccc Ethernet1/9 Ethernet1/9
9+
10.10.10.190 00:03:18 aaaa.bbbb.cccc Ethernet2/9 Ethernet2/9
10+
10.10.10.81 00:02:14 aaaa.bbbb.cccc Ethernet2/12 Ethernet2/12
11+
192.168.1.1 00:02:06 aaaa.bbbb.cccc Ethernet7/47 Ethernet7/47
12+
10.10.11.2 00:03:12 aaaa.bbbb.cccc Vlan11 port-channel1 *
13+
10.10.11.20 00:00:18 aaaa.bbbb.cccc Vlan11 port-channel3 +
14+
10.10.11.21 00:00:06 aaaa.bbbb.cccc Vlan11 port-channel3 #
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
parsed_sample:
3+
- age: "00:03:10"
4+
interface: "Ethernet1/9"
5+
ip_address: "10.10.10.194"
6+
mac_address: "aaaa.bbbb.cccc"
7+
physical_interface: "Ethernet1/9"
8+
- age: "00:03:18"
9+
interface: "Ethernet2/9"
10+
ip_address: "10.10.10.190"
11+
mac_address: "aaaa.bbbb.cccc"
12+
physical_interface: "Ethernet2/9"
13+
- age: "00:02:14"
14+
interface: "Ethernet2/12"
15+
ip_address: "10.10.10.81"
16+
mac_address: "aaaa.bbbb.cccc"
17+
physical_interface: "Ethernet2/12"
18+
- age: "00:02:06"
19+
interface: "Ethernet7/47"
20+
ip_address: "192.168.1.1"
21+
mac_address: "aaaa.bbbb.cccc"
22+
physical_interface: "Ethernet7/47"
23+
- age: "00:03:12"
24+
interface: "Vlan11"
25+
ip_address: "10.10.11.2"
26+
mac_address: "aaaa.bbbb.cccc"
27+
physical_interface: "port-channel1"
28+
- age: "00:00:18"
29+
interface: "Vlan11"
30+
ip_address: "10.10.11.20"
31+
mac_address: "aaaa.bbbb.cccc"
32+
physical_interface: "port-channel3"
33+
- age: "00:00:06"
34+
interface: "Vlan11"
35+
ip_address: "10.10.11.21"
36+
mac_address: "aaaa.bbbb.cccc"
37+
physical_interface: "port-channel3"

0 commit comments

Comments
 (0)