Hello All,
I've posted something similar to this a ways back, but I was never able to complete my testing, so I am starting over.
I am looking for some assitance in parsting out part of a cisco config (hostname) and taking that an putting it into a command for an access list.
Here's what I am targeting/ my example
I have a hostname lets say
Hostname is HOST1234 (the 1234 are actually the second and third octet of an IP address)
I simply want to create a script in NCM (that will not prompt for input) that will create a configuration similar to :
Below.. is an example of the hostname.. and xxx in in the ip address is a constant. the 12.34 comes from the hostname.
HOST1234
config t
access-list 1 permit xxx.12.34.xxx any eq nnnnnn
Does anyone have a similar template ?