Skip to content

Commit

Permalink
Merge pull request #1 from jmcgill298/cisco_ios_show_ip_interface
Browse files Browse the repository at this point in the history
New Template Updates:
  • Loading branch information
vladola authored Jan 7, 2019
2 parents 947e382 + abb4a8f commit 6996f2f
Show file tree
Hide file tree
Showing 2 changed files with 273 additions and 70 deletions.
43 changes: 36 additions & 7 deletions templates/cisco_ios_show_ip_interface.template
Original file line number Diff line number Diff line change
@@ -1,11 +1,40 @@
Value INTF (\S+)
Value Required IPADDR (\S+)
Value LINK_STATUS (.+?)
Value PROTOCOL_STATUS (.+?)
Value Required IPADDR (\S+?)
Value MASK (\d*)
Value VRF (\S+)

Start
^${INTF} is .* ->
^\s+Internet address is ${IPADDR} ->
^\s+VPN Routing/Forwarding "${VRF}" ->
^\s+IP multicast.* -> Record

EOF
^\S -> Continue.Record
^${INTF}\s+is\s+${LINK_STATUS},\s+line\s+protocol\s+is\s+${PROTOCOL_STATUS}\s*$$
^\s+Internet\s+address\s+is\s+${IPADDR}/*${MASK}\s*$$
^.+VPN\s+Routing/Forwarding\s+"${VRF}"
^\s+Internet\s+protocol
^\s+Broadcast
^\s+Multicast
^\s+Address\s+determined
^\s+MTU
^\s+Helper
^\s+Directed
^\s+Outgoing
^\s+Inbound
^\s+.*Proxy
^\s+Security
^\s+Split
^\s+ICMP
^\s+IP\s+(?:fast|Flow|CEF|Null|multicast|route|output|access)
^\s+Associated
^\s+Topology
^\s+Router
^\s+TCP
^\s+RTP
^\s+Probe
^\s+Policy
^\s+Network\s+address\s+
^\s+BGP
^\s+Input
^\s+IPv4\s+WCCP
^\s+Output
^\s*$$
^. -> Error
Loading

0 comments on commit 6996f2f

Please sign in to comment.