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

add asa sh run crypto map #128

Merged
merged 1 commit into from
Jun 22, 2017
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
14 changes: 14 additions & 0 deletions templates/cisco_asa_show_run_crypto_map.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Value MAP (\S+)
Value SEQ (\d+)
Value PFS (group\d)
Value PEER (\S+)
Value IKE (\S+)
Value TRANSFORM (\S+)
Value SA (\d+)

Start
^crypto\smap\s${MAP}\s${SEQ}\sset\spfs\s${PFS}\s*
^crypto\smap\s\S+\s\d+\sset\speer\s${PEER}\s*
^crypto\smap\s\S+\s\d+\sset\s${IKE}\stransform-set\s${TRANSFORM}\s*
^crypto\smap\s\S+\s\d+\sset\ssecurity-association\slifetime\sseconds\s${SA}\s* -> Record

3 changes: 2 additions & 1 deletion templates/index
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,9 @@ brocade_netiron_show_metro.template, .*, brocade_netiron, sh[[ow]] met[[ro-ring]
brocade_netiron_show_span.template, .*, brocade_netiron, sh[[ow]] sp[[anning-tree]]
brocade_netiron_show_topo.template, .*, brocade_netiron, sh[[ow]] to[[pology-group]]

cisco_asa_show_run_crypto_map.template, .*, cisco_asa, sh[[ow]] ru[[nning-config]] cr[[ypto]] m[[ap]]
cisco_asa_show_version.template, .*, cisco_asa, sh[[ow]] ver[[sion]]
cisco_asa_dir.template, .*, cisco_asa, dir
cisco_asa_dir.template, .*, cisco_asa, dir

cisco_ios_show_capability_feature_routing.template, .*, cisco_ios, sh[[ow]] cap[[ability]] f[[eature]] r[[outing]]
cisco_ios_show_authentication_sessions.template, .*, cisco_ios, show authen[[tication]] ses[[sions]]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
parsed_sample:

- map: "Standard-1"
seq: "20"
pfs: "group5"
peer: "Peer-1"
ike: "ikev1"
transform: "Standard-Transform"
sa: "28800"

- map: "Standard-1"
seq: "25"
pfs: "group2"
peer: "Peer-2"
ike: "ikev1"
transform: "Standard-Transform"
sa: "28800"
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
crypto map Standard-1 20 set pfs group5
crypto map Standard-1 20 set peer Peer-1
crypto map Standard-1 20 set ikev1 transform-set Standard-Transform
crypto map Standard-1 20 set security-association lifetime seconds 28800
crypto map Standard-1 25 set pfs group2
crypto map Standard-1 25 set peer Peer-2
crypto map Standard-1 25 set ikev1 transform-set Standard-Transform
crypto map Standard-1 25 set security-association lifetime seconds 28800
crypto map Standard-1 interface outside