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

Zyxel_Jeff
Zyxel_Jeff Posts: 1,284  Zyxel Employee
100 Answers 500 Comments Friend Collector Fourth Anniversary
edited February 2024 in Maintenance

Question:

If I need to set multiple static WAN IP addresses on a WAN interface how to execute it?

Answer :

You can use CLI to add multiple IP addresses on a WAN interface, we set 61.222.75.15, 61.222.75.16, and 61.222.75.17 those three static IPs on USG Flex 200HP GE2 interface shown as below:

usgflex200hp> edit running

usgflex200hp running config# vrf main interface ethernet ge2 ipv4 address 61.222.75.15
usgflex200hp running config# vrf main interface ethernet ge2 ipv4 address 61.222.75.16
usgflex200hp running config# 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.


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

Tagged: