Does a switch support the binding of one interface and multiple IP addresses

A switch supports the binding of one interface and multiple IP addresses.
--If you need to bind discontinuous IP addresses to an interface, enter 1-10 IP addresses in the command. For example, bind IP addresses 10.1.1.2, 10.1.1.5 and 10.1.1.12 to GE0/0/1.
system-view
[HUAWEI] user-bind static ip-address 10.1.1.2 10.1.1.5 10.1.1.12 interface gigabitethernet 0/0/1
--If you need to bind continuous IP addresses to an interface, enter 1-10 IP address segments in the command. That entered IP address segments cannot overlap. For example, bind IP address segments 10.2.1.1-10.2.1.10 and 10.2.1.20-10.2.1.30 to GE0/0/1.
system-view
[HUAWEI] user-bind static ip-address 10.2.1.1 to 10.2.1.10 10.2.1.20 to 10.2.1.30 interface gigabitethernet 0/0/1

Scroll to top