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

Zyxel_Jeff
Zyxel_Jeff Posts: 1,284  Zyxel Employee
100 Answers 500 Comments Friend Collector Fourth Anniversary

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.


See how you've made an impact in Zyxel Community this year! https://bit.ly/Your2024Moments_Community

Tagged: