Quantcast
Channel: THWACK: Message List
Viewing all articles
Browse latest Browse all 20396

Re: Script needed to add to an existing config.

$
0
0

I am making a template.  I ended up putting the section in a bracket like a programming language and it validated.  I am going to test it soon.

 

script ACLChangeTemplate(  

                             NCM.Nodes @ContextNode,

                             string @SomeVariable1,

                             string @SomeVariable2    )

{

  //TODO - insert details of change template

 

 

  //Enter CLI commands

  CLI

  {

     config t

     access-list 97 permit 10.21.26.194

     access-list 97 permit 10.21.26.196

     access-list 97 permit 10.21.26.197

     end

     wr

  }


Viewing all articles
Browse latest Browse all 20396

Trending Articles



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