Hi, To change the static IP of a device and in many cases I'm also changing the host name do I need to delete the original static IP and then add it back? What are the commands especially if I need to remove the static first. Here is how I added it originally:
set service dhcp-server shared-network-name LAN2 subnet 10.1.8.0/24 static-mapping a313 ip-address 10.1.11.213
set service dhcp-server shared-network-name LAN2 subnet 10.1.8.0/24 static-mapping a313 mac-address 'AA:BB:CCD:EE:FF'
Would it be:
configure
delete service dhcp-server shared-network-name LAN2 subnet 10.1.8.0/24 static-mapping a313 ip-address 10.1.11.213
delete service dhcp-server shared-network-name LAN2 subnet 10.1.8.0/24 static-mapping a313 mac-address 'AA:BB:CCD:EE:FF'
set service dhcp-server shared-network-name LAN2 subnet 10.1.8.0/24 static-mapping new313 ip-address 10.1.11.213
set service dhcp-server shared-network-name LAN2 subnet 10.1.8.0/24 static-mapping new313 mac-address 'AA:BB:CCD:EE:FF'
commit