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
- 415 Beta Program
- 2.5K Nebula
- 154 Nebula Ideas
- 103 Nebula Status and Incidents
- 5.9K Security
- 307 USG FLEX H Series
- 284 Security Ideas
- 1.5K Switch
- 78 Switch Ideas
- 1.1K Wireless
- 42 Wireless Ideas
- 6.5K Consumer Product
- 256 Service & License
- 397 News and Release
- 85 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.7K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 87 About Community
- 77 Security Highlight