Skip to content

Commit

Permalink
Merge pull request #1 from jmcgill298/hilash-cisco-ios
Browse files Browse the repository at this point in the history
Hilash cisco ios
  • Loading branch information
hilash authored Jul 16, 2018
2 parents e9ff78e + 919fcd7 commit 2af5754
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
10 changes: 9 additions & 1 deletion templates/cisco_ios_show_ip_device_tracking_all.template
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,12 @@ Value Required STATE (\S+)
Value Required SOURCE (\S+)

Start
^${IP}\s+${MAC}\s+${VLAN}\s+${INTERFACE}\s+${PROBE_TIMEOUT}\s+${STATE}\s+${SOURCE} -> Record
^${IP}\s+${MAC}\s+${VLAN}\s+${INTERFACE}\s+${PROBE_TIMEOUT}\s+${STATE}\s+${SOURCE} -> Record
^Global
^Total
^Enabled\s+interfaces
^\s+(?:\S+(?:,\s*|))+$$
^\s*-+
^\s+IP Address\s+MAC\s+Address\s+Vlan\s+Interface\s+Probe-Timeout\s+State\s+Source
^\s*$$
^.* -> Error
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ parsed_sample:
interface: "GigabitEthernet1/0/1"
probe_timeout: "30"
state: "ACTIVE"
source: "ARP"
source: "ARP"
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ parsed_sample:
lease: "591457"
type: "dhcp-snooping"
vlan: "1"
interface: "GigabitEthernet1/0/9"
interface: "GigabitEthernet1/0/9"
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ parsed_sample:
system_description: 'ArubaOS (MODEL: 225), Version 6.4.2.6-4.1.1.6 (50009)'
capabilities: 'W'
management_ip: '192.168.1.40'
vlan: ''
vlan: ''

0 comments on commit 2af5754

Please sign in to comment.