Quantcast
Viewing all articles
Browse latest Browse all 20518

NCM Template question / example

Hello All,

 

Does anyone have a sample template / script that finds and parse's out an ip address.

I would like to define an acl list based on the IP address of one of the interfaces, or the hostname (which has the address scheme in it)

 

Hostname Location1234

 

 

ip access-list extended Security1

permit udp any any eq 1234

permit udp any any eq 5678

 

permit tcp any eq 903 host 10.12.34.14.1 <---------------------------------------------------------The 12.34 are in the host name (and the 10.12.34.x) part of the address can be found in IP of the E0

interface

 

 

permit icmp any any

 

ANYONE have anything like this ?


Viewing all articles
Browse latest Browse all 20518

Trending Articles