Skip to content

Commit

Permalink
IOS SHOW IP FLOW TOPTALKERS: Add new template (#373)
Browse files Browse the repository at this point in the history
  • Loading branch information
lscarmic authored and jmcgill298 committed Feb 23, 2019
1 parent b9339dd commit fef6939
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 1 deletion.
11 changes: 11 additions & 0 deletions templates/cisco_ios_show_ip_flow_toptalkers.template
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
3 changes: 2 additions & 1 deletion templates/index
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ brocade_netiron_show_span.template, .*, brocade_netiron, sh[[ow]] sp[[anning-tre
brocade_netiron_show_topo.template, .*, brocade_netiron, sh[[ow]] to[[pology-group]]

checkpoint_gaia_show_interfaces_all.template, .*, checkpoint_gaia, show interfaces all
checkpoint_gaia_show_ntp_servers.template, .*, checkpoint_gaia, show ntp servers
checkpoint_gaia_show_ntp_servers.template, .*, checkpoint_gaia, show ntp servers
checkpoint_gaia_show_version_all.template, .*, checkpoint_gaia, show version all
checkpoint_gaia_show_domainname.template, .*, checkpoint_gaia, show domainname
checkpoint_gaia_show_ipv6_route.template, .*, checkpoint_gaia, show ipv6 route
Expand Down Expand Up @@ -139,6 +139,7 @@ cisco_ios_show_lldp_neighbors_detail.template, .*, cisco_ios, sh[[ow]] lld[[p]]
cisco_ios_show_cdp_neighbors_detail.template, .*, cisco_ios, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]]
cisco_ios_show_ipv6_interface_brief.template, .*, cisco_ios, sh[[ow]] ipv[[6]] i[[nterface]] b[[rief]]
cisco_ios_show_ip_eigrp_neighbors.template, .*, cisco_ios, sh[[ow]] ip ei[[grp]] nei[[ghbors]]
cisco_ios_show_ip_flow_toptalkers.template, .*, cisco_ios, sh[[ow]] ip fl[[ow]] top[[-talkers]]
cisco_ios_show_ip_interface_brief.template, .*, cisco_ios, sh[[ow]] ip int[[erface]] br[[ief]]
cisco_ios_show_interfaces_status.template, .*, cisco_ios, sh[[ow]] int[[erfaces]] st[[atus]]
cisco_ios_show_ip_eigrp_topology.template, .*, cisco_ios, sh[[ow]] ip eigrp top[[ology]]
Expand Down
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'
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

0 comments on commit fef6939

Please sign in to comment.