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

Re: Interface configurations?

$
0
0

I created a Config Change Template, selected the nodes I wanted to remove/add IP Helper to, selected the interfaces on the nodes and executed.  See Below

 

script AddIPHelperAddress (

NCM.Nodes @ContextNode, NCM.Interfaces[] @Interfaces, string @NewIPHelper, string @OldIPHelper)

{

CLI

{

}

foreach (@itf in @Interfaces)

{

CLI

{

config t

interface @itf.InterfaceDescription

no ip helper-address @OldIPHelper

ip helper-address @NewIPHelper

quit

}

}

CLI {quit}

}


Viewing all articles
Browse latest Browse all 20958

Trending Articles