-
Notifications
You must be signed in to change notification settings - Fork 726
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New template: paloalto_panos_show_arp_all
- Loading branch information
1 parent
61cf56c
commit f42ff25
Showing
4 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Value INTERFACE (\S+) | ||
Value IP (\S+) | ||
Value MAC ([0-9a-fA-F:]+) | ||
Value PORT (\S+) | ||
Value STATUS (\S+) | ||
Value TTL (\d+) | ||
|
||
Start | ||
^\s*--- -> Start_record | ||
|
||
Start_record | ||
^${INTERFACE}\s+${IP}\s+${MAC}\s+${PORT}\s+${STATUS}\s+${TTL} -> Record | ||
^\s*$$ | ||
^. -> Error |
21 changes: 21 additions & 0 deletions
21
tests/paloalto_panos/show_arp_all/paloalto_panos_show_arp_all.parsed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
parsed_sample: | ||
|
||
- interface: ethernet1/1 | ||
ip: 172.25.1.254 | ||
mac: '08:30:6b:26:43:30' | ||
port: ethernet1/1 | ||
status: c | ||
ttl: '627' | ||
- interface: vlan.1 | ||
ip: 172.25.2.195 | ||
mac: '00:50:00:00:07:00' | ||
port: ethernet1/2.110 | ||
status: c | ||
ttl: '1012' | ||
- interface: vlan.1 | ||
ip: 172.25.2.196 | ||
mac: '00:50:00:00:08:00' | ||
port: ethernet1/2.111 | ||
status: c | ||
ttl: '1016' |
12 changes: 12 additions & 0 deletions
12
tests/paloalto_panos/show_arp_all/paloalto_panos_show_arp_all.raw
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
|
||
maximum of entries supported : 1500 | ||
default timeout: 1800 seconds | ||
total ARP entries in table : 5 | ||
total ARP entries shown : 5 | ||
status: s - static, c - complete, e - expiring, i - incomplete | ||
|
||
interface ip address hw address port status ttl | ||
-------------------------------------------------------------------------------- | ||
ethernet1/1 172.25.1.254 08:30:6b:26:43:30 ethernet1/1 c 627 | ||
vlan.1 172.25.2.195 00:50:00:00:07:00 ethernet1/2.110 c 1012 | ||
vlan.1 172.25.2.196 00:50:00:00:08:00 ethernet1/2.111 c 1016 |