How to change the WAN interface from static IP to DHCP in the serial console?

Zyxel_Cooldia
Zyxel_Cooldia Posts: 1,518  Zyxel Employee
Zyxel Certified Network Administrator - Security Zyxel Certified Sales Associate 100 Answers 1000 Comments

Question
How to change the WAN interface from static IP to DHCP in the serial console?

Answer
Refer to the CLI below to modify the firewall WAN interface from static IP to DHCP IP:

usgflex100h> edit running
usgflex100h running config# vrf main interface ethernet ge1
usgflex100h running ethernet ge1# del ipv4 address
usgflex100h running ethernet ge1# ipv4 dhcp enabled true
usgflex100h running ethernet ge1# commit
usgflex100h running ethernet ge1# copy running startup
Overwrite startup configuration? [y/N] y
usgflex100h running ethernet ge1# exit
usgflex100h>

This sequence of commands will change the WAN interface from a static IP to a DHCP IP.

Tagged: