How to use CLI to delete multiple IP addresses on a WAN interface settings?

Options
Zyxel_Jeff
Zyxel_Jeff Posts: 1,083  Zyxel Employee
First Anniversary 10 Comments Friend Collector First Answer

Question :

As the FAQ : How to use CLI to add multiple IP addresses on a WAN interface? mentioned, we can use the CLI to add multiple IP addresses on a WAN interface. But how do we delete this setting? This FAQ will guide you.

Answer :

If I want to delete the three static IPs, 61.222.75.15, 61.222.75.16, and 61.222.75.17, on the USG Flex 200HP GE2 interface, you can use the CLI to execute the following commands:

usgflex200hp> edit running

usgflex200hp running config# del vrf main interface ethernet ge2 ipv4 address 61.222.75.15
usgflex200hp running config# del vrf main interface ethernet ge2 ipv4 address 61.222.75.16
usgflex200hp running config# del vrf main interface ethernet ge2 ipv4 address 61.222.75.17

usgflex200hp running config# commit
Configuration committed.

Once it is done you can use show interface to check the CLI result and you will find those three static IP addresses were gone.

Tagged: