cancel
Showing results for 
Search instead for 
Did you mean: 

XMC script for ERS devices with device specific variable

XMC script for ERS devices with device specific variable

Luke_Roberts
New Contributor

I am trying to deploy a script to 100+ ERS devices which will change the IP dhcp-relay address to 2 new domain controllers, each device uses a different L3 IP address so a single command wont work.

Does anyone have a script file that could be used as a template which would take the variable of <VLAN 10 IP address> for each ERS device and use this in the commands....

 

no ip dhcp-relay fwd-path <VLAN 10 IP address> 172.x.x.180
no ip dhcp-relay fwd-path <VLAN 10 IP address> 172.x.x.180
ip dhcp-relay fwd-path <VLAN 10 IP address> 10.x.x.2
ip dhcp-relay fwd-path <VLAN 10 IP address> 10.x.x.4

Many Thanks

1 REPLY 1
GTM-P2G8KFN