cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1149
Views
0
Helpful
2
Replies

Prime Access list template

bahaeddin
Level 1
Level 1

Hello All ,,

 

I'm trying to use Prime Infrastructure to change an access list that exist only on some devices. now I don't know exactly what are those devices. 

 

What I want to do, is make a template that checks for the access list, if it exists do certain commands, if it doesn't then just quit. 

 

I know how to make an if statement and I know how to make a for each loop. the question is, how do I get the list of available access lists on the devices. 

 

thanks in advance for your replies

 

Regards

2 Replies 2

Hello,

 I can help you. I don't understand however how do you intended to do this using Prime?

 You mean the Prime operating system?

 Please, give me more detail about your approach and then I will give you some tips in terms of coding. 

Hello

 

I was caught uo in work I didn't get a chance to reply

 

what I want to do using prime infrastructre templates:

- read the names of all the access lists

- if a certain access list exist, do some commands

- else stop or do something else

 

I tried to do it wil prime, I can use the if function and the for loop, but how can I read and iterate with the Access list names ?

 

I hope this makes the question clearer ?

 

Thanks and regards

Review Cisco Networking for a $25 gift card