Quantcast
Channel: THWACK: Message List - Network Configuration Manager
Viewing all articles
Browse latest Browse all 8827

regex text block for Cisco access-lists

$
0
0

How would I set up the following VTYACL access list in NCM checking for blocks?  I want also want to make sure some other entry is not in there that I am not aware of.

 

 

ip access-list standard VTYACL

permit x.x.x.x

permit x.x.x.x

permit x.x.x.x

permit x.x.x.x

permit x.x.x.x 0.0.0.255

permit x.x.x.x 0.0.255.255

permit x.x.x.x 0.0.0.255

permit x.x.x.x 0.0.0.255

remark ##

 

 

 

Sometimes I may have an access list below it, other times I may just have a !

 

 

Here would be the larger config.  I want a NCM Policy for each of our access-lists

 

ip access-list extended UCM

permit ip any host x.x.x.x

permit ip any host x.x.x.x

permit ip any host x.x.x.x

remark ##

ip access-list standard VTYACL

permit x.x.x.x

permit x.x.x.x

permit x.x.x.x

permit x.x.x.x

permit x.x.x.x 0.0.0.255

permit x.x.x.x 0.0.255.255

permit x.x.x.x 0.0.0.255

permit x.x.x.x 0.0.0.255

remark ##

!

ip prefix-list BLOCK-REMOTE-GUESTS description Block Guest 10.30.X.0/24 subnet

ip prefix-list BLOCK-REMOTE-GUESTS seq 5 deny 10.30.0.0/16 ge 24 le 24

ip prefix-list BLOCK-REMOTE-GUESTS seq 10 permit 0.0.0.0/0 le 32


Viewing all articles
Browse latest Browse all 8827

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>