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

New Template Updates: #1

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
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