Skip to content

Commit

Permalink
Create cisco_asa_show_running-config_access-group (#1962)
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Bear <[email protected]>
  • Loading branch information
wollmannbruno and mjbear authored Jan 7, 2025
1 parent d747be0 commit 2b8a265
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Value ACCESS_LIST (\S+)
Value INTERFACE (\S+)

Start
^access-group\s+${ACCESS_LIST}\s+in\s+interface\s+${INTERFACE}\s*$$ -> Record
^. -> Error "Did not match any entries"
1 change: 1 addition & 0 deletions ntc_templates/templates/index
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ cisco_asa_show_module.textfsm:cisco_asa_show_module_details.textfsm:cisco_asa_sh
cisco_asa_show_running-config_all_crypto_map.textfsm, .*, cisco_asa, sh[[ow]] ru[[nning-config]] all cr[[ypto]] m[[ap]]
cisco_asa_show_running-config_object_network.textfsm, .*, cisco_asa, sh[[ow]] ru[[nning-config]] o[[bject]] n[[etwork]]
cisco_asa_show_asp_table_vpn-context_detail.textfsm, .*, cisco_asa, sh[[ow]] asp t[[able]] vpn-co[[ntext]] d[[etail]]
cisco_asa_show_running-config_access-group.textfsm, .*, cisco_asa, sh[[ow]] ru[[nning-config]] access-gr[[oup]]
cisco_asa_show_running-config_crypto_ikev1.textfsm, .*, cisco_asa, sh[[ow]] ru[[nning-config]] cr[[ypto]] ikev1
cisco_asa_show_running-config_tunnel-group.textfsm, .*, cisco_asa, sh[[ow]] ru[[nning-config]] tu[[nnel-group]]
cisco_asa_show_running-config_crypto_map.textfsm, .*, cisco_asa, sh[[ow]] ru[[nning-config]] cr[[ypto]] m[[ap]]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
access-group INSIDE_acl in interface inside
access-group dmz1_acl in interface dmz1
access-group dmz2_acl in interface dmz2
access-group dmz3_acl in interface dmz3
access-group dmz4 in interface dmz4
access-group dmz5 in interface dmz5
access-group OUTSIDE_acl in interface outside
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
parsed_sample:
- access_list: "INSIDE_acl"
interface: "inside"
- access_list: "dmz1_acl"
interface: "dmz1"
- access_list: "dmz2_acl"
interface: "dmz2"
- access_list: "dmz3_acl"
interface: "dmz3"
- access_list: "dmz4"
interface: "dmz4"
- access_list: "dmz5"
interface: "dmz5"
- access_list: "OUTSIDE_acl"
interface: "outside"

0 comments on commit 2b8a265

Please sign in to comment.