12-20-2022 04:15 AM
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
12-20-2022 09:54 AM