-
Notifications
You must be signed in to change notification settings - Fork 734
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IOS SHOW IP FLOW TOPTALKERS: Add new template (#373)
- Loading branch information
1 parent
b9339dd
commit fef6939
Showing
4 changed files
with
36 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Value SRC_INTF (\S+) | ||
Value SRC_IPADDR ([0-9A-Fa-f:\.]+) | ||
Value SRC_PORT ([A-Z0-9]+) | ||
Value DST_INTF (\S+) | ||
Value DST_IPADDR ([0-9A-Fa-f:\.]+) | ||
Value PROTO ([A-Z0-9]+) | ||
Value DST_PORT ([A-Z0-9]+) | ||
Value PKT ([0-9]+) | ||
|
||
Start | ||
^${SRC_INTF}\s+${SRC_IPADDR}\s+${DST_INTF}\s+${DST_IPADDR}\s+${PROTO}\s+${SRC_PORT}\s+${DST_PORT}\s+${PKT} -> Record |
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
20 changes: 20 additions & 0 deletions
20
tests/cisco_ios/show_ip_flow_toptalkers/cisco_ios_show_ip_flow_toptalkers.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,20 @@ | ||
--- | ||
parsed_sample: | ||
|
||
- src_port: '07C1' | ||
pkt: '414' | ||
proto: '11' | ||
src_intf: 'Gi0/2/0.30' | ||
dst_intf: 'Null' | ||
src_ipaddr: '10.2.100.83' | ||
dst_port: '07C1' | ||
dst_ipaddr: '224.0.0.2' | ||
|
||
- src_port: '07C1' | ||
pkt: '410' | ||
proto: '11' | ||
src_intf: 'Gi0/2/0.40' | ||
dst_intf: 'Null' | ||
src_ipaddr: '10.2.100.99' | ||
dst_port: '07C1' | ||
dst_ipaddr: '224.0.0.2' |
3 changes: 3 additions & 0 deletions
3
tests/cisco_ios/show_ip_flow_toptalkers/cisco_ios_show_ip_flow_toptalkers.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,3 @@ | ||
SrcIf SrcIPaddress DstIf DstIPaddress Pr SrcP DstP Pkts | ||
Gi0/2/0.30 10.2.100.83 Null 224.0.0.2 11 07C1 07C1 414 | ||
Gi0/2/0.40 10.2.100.99 Null 224.0.0.2 11 07C1 07C1 410 |