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






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.
Categories
- All Categories
- 430 Beta Program
- 2.6K Nebula
- 163 Nebula Ideas
- 112 Nebula Status and Incidents
- 6K Security
- 353 USG FLEX H Series
- 291 Security Ideas
- 1.5K Switch
- 78 Switch Ideas
- 1.2K Wireless
- 42 Wireless Ideas
- 6.6K Consumer Product
- 261 Service & License
- 407 News and Release
- 87 Security Advisories
- 31 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.9K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 82 Security Highlight