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

Re: Help with Config Change Script

$
0
0

Well, got it to work.

 

 

script CreateLoopbackInterface (NCM.Nodes @ContextNode, string @LoopbackSubnet)

{

{

string @ThirdOctet

string @LoopbackIP

string @ip

@ip = @ContextNode.AgentIP

@ThirdOctet = GetOctet(@ip, 3)

@LoopbackIP = SetOctet(@LoopbackSubnet, 4, @ThirdOctet)

}

  // Enter configuration mode configure a new loopback interface.

CLI

  {

configure

set interfaces lo0 unit 0 family inet address @LoopbackIP

commit

exit

}

}


Viewing all articles
Browse latest Browse all 8827

Trending Articles



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