Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Brocade fastiron show arp #289

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions templates/brocade_fastiron_show_arp.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Value PROTOCOL (\S+)
Value Required IP_ADDRESS ([A-Fa-f0-9:\.]+)
Value AGE (\S+)
Value Required MAC_ADDRESS ([A-Fa-f0-9\.]{14})
Value TYPE (\S+)
Value Required PORT (\S+)

Start
^Protocol\s+Address\s+Age \(min\)\s+Hardware Addr\s+Type\s+Interface
^${PROTOCOL}\s+${IP_ADDRESS}\s+${AGE}\s+${MAC_ADDRESS}\s+${TYPE}\s+${PORT} -> Record
^\s*$$
^. -> Error
jmcgill298 marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 1 addition & 1 deletion templates/index
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ avaya_ers_show_mlt.template, .*, avaya_ers, sh[[ow]] ml[[t]]

avaya_vsp_show_software.template, .*, avaya_vsp, sho[[w]] so[[ftware]]


brocade_fastiron_show_lldp_neighbors_detail.template, .*, brocade_fastiron, sh[[ow]] ll[[dp]] n[[eighbors]] d[[etail]]
brocade_fastiron_show_running-config_vlan.template, .*, brocade_fastiron, sh[[ow]] ru[[nning-config]] v[[lan]]
brocade_fastiron_show_interfaces_brief.template, .*, brocade_fastiron, sh[[ow]] in[[terfaces]] b[[rief]]
Expand All @@ -71,6 +70,7 @@ brocade_fastiron_show_metro.template, .*, brocade_fastiron, sh[[ow]] met[[ro-rin
brocade_fastiron_show_trunk.template, .*, brocade_fastiron, sh[[ow]] tru[[nk]]
brocade_fastiron_show_span.template, .*, brocade_fastiron, sh[[ow]] sp[[an]]
brocade_fastiron_show_topo.template, .*, brocade_fastiron, sh[[ow]] to[[pology-group]]
brocade_fastiron_show_arp.template, .*, brocade_fastiron, sh[[ow]] a[[rp]]

brocade_netiron_show_running-config_interface_ve.template, .*, brocade_netiron, sh[[ow]] ru[[nning-config]] i[[nterface]] v[[e]]
brocade_netiron_show_lldp_neighbors_detail.template, .*, brocade_netiron, sh[[ow]] ll[[dp]] n[[eighbors]] d[[etail]]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
parsed_sample:
- protocol: "Internet"
ip_address: "10.51.250.70"
age: "94"
mac_address: "64f6.9d1e.a4bf"
type: "ARPA"
port: "Vlan10"
- protocol: "Internet"
ip_address: "10.51.250.120"
age: "-"
mac_address: "fc5b.394a.5a7f"
type: "ARPA"
port: "Vlan10"
- protocol: "Internet"
ip_address: "10.51.250.1"
age: "0"
mac_address: "0010.dbff.1002"
type: "ARPA"
port: "Vlan10"
- protocol: "Internet"
ip_address: "10.51.250.7"
age: "81"
mac_address: "046c.9d67.7746"
type: "ARPA"
port: "Vlan10"
- protocol: "Internet"
ip_address: "10.51.250.8"
age: "67"
mac_address: "9c57.ad1e.4b46"
type: "ARPA"
port: "Vlan10"
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Protocol Address Age (min) Hardware Addr Type Interface
Internet 10.51.250.70 94 64f6.9d1e.a4bf ARPA Vlan10
Internet 10.51.250.120 - fc5b.394a.5a7f ARPA Vlan10
Internet 10.51.250.1 0 0010.dbff.1002 ARPA Vlan10
Internet 10.51.250.7 81 046c.9d67.7746 ARPA Vlan10
Internet 10.51.250.8 67 9c57.ad1e.4b46 ARPA Vlan10