Skip to content

Commit 201d8f5

Browse files
authored
Update extreme_exos_show_iparp to support output format change (#1926)
1 parent 4001d14 commit 201d8f5

3 files changed

Lines changed: 50 additions & 1 deletion

File tree

ntc_templates/templates/extreme_exos_show_iparp.textfsm

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,19 @@ Start
1414
Start_record
1515
^\s*---
1616
^${VR}\s+${DESTINATION}\s+\(*${MAC_ADDRESS}\)*\s+${AGE}\s+${STATIC}\s+${VLAN}\s+${VID}(\s+${PORT})?\s*$$ -> Record
17-
^(\S+\s*){1,4}:
17+
^\s*(Dynamic|Pending)\s+Entries\s*:
18+
^\s*(In|Out|Failed)\s+Requests?\s*:
19+
^\s*Proxy\s+Answered\s*:
20+
^\s*Rx\s+Error\s*:
21+
^\s*Rejected\s+(Count|Port)\s*:
22+
^\s*Max\s+((ARP|Pending|Proxy)\s+)?[Ee]ntries\s*:
23+
^\s*ARP\s+address\s+check\s*:
24+
^\s*Timeout\s*:
25+
^\s*Distributed\s+mode\s*:
26+
^\s*ARP\s+Sender-Mac\s+Learning\s*:
27+
^\s*Locktime\s*:
28+
^\s*(Retransmit|Reachable)\s+Time\s*:
29+
^\s*Fast\s+Convergence\s*:
30+
^\s*ARP\s+Global\s+Settings\s*$$
1831
^\s*$$
1932
^. -> Error
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
VR Destination Mac Age Static VLAN VID Port
2+
VR-Default 10.128.32.4 00:d0:59:17:74:83 20 NO bluered 4092 1:25
3+
VR-Default 10.128.32.8 00:01:30:ba:6a:a0 7 NO Default 4095
4+
5+
Dynamic Entries : 4 Static Entries : 0
6+
Pending Entries : 0
7+
8+
ARP address check: Enabled ARP refresh : Enabled
9+
Timeout : 20 minutes ARP Sender-Mac Learning : Disabled
10+
Locktime : 1000 milliseconds
11+
Retransmit Time : 1000 milliseconds
12+
Reachable Time : 900000 milliseconds (Auto)
13+
Fast Convergence : Off
14+
15+
ARP Global Settings
16+
Max Entries : 12288
17+
Max Pending Entries : 256
18+
Max Proxy Entries : 256
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
parsed_sample:
3+
- age: "20"
4+
destination: "10.128.32.4"
5+
mac_address: "00:d0:59:17:74:83"
6+
port: "1:25"
7+
static: "NO"
8+
vid: "4092"
9+
vlan: "bluered"
10+
vr: "VR-Default"
11+
- age: "7"
12+
destination: "10.128.32.8"
13+
mac_address: "00:01:30:ba:6a:a0"
14+
port: ""
15+
static: "NO"
16+
vid: "4095"
17+
vlan: "Default"
18+
vr: "VR-Default"

0 commit comments

Comments
 (0)