How to change an interface IP address on an S series switches

0

You can delete or change an interface IP address on an S series switches (except the S1700) as follows:
- To delete the IP address of an interface, run the undo ip address [ ip-address { mask | mask-length } ] command in the interface view.
For example:
[HUAWEI] interface Vlanif 100
[HUAWEI-Vlanif100] display this
#
interface Vlanif100
ip address 10.1.1.1 255.255.255.0
#
[HUAWEI-Vlanif100] undo ip address
[HUAWEI-Vlanif100] display this
#
interface Vlanif100
#
- To change the IP address or subnet mask of an interface, run the ip address ip-address { mask | mask-length } command in the interface view.
For example:
[HUAWEI] interface Vlanif 100
[HUAWEI-Vlanif100] display this
#
interface Vlanif100
ip address 10.1.1.1 255.255.255.0
#
[HUAWEI-Vlanif100] ip address 10.2.1.1 255.255.0.0
[HUAWEI-Vlanif100] display this
#
interface Vlanif100
ip address 10.2.1.1 255.255.0.0
#

Other related questions:
The method of S series switches to view the IP address of the interface
S series switches (except S1700) There are two ways to view the IP address of the specified interface: - Run the "display ip interface brief [interface-type [interface-number]]" command in any view to check the IP configuration information of the interface. - Run the "display this" command to check the IP address configured on the interface.

Changing the IP address of the interface on the USG6000
Choose Network > Interface on the web UI, click Edit in the row of the interface, and change the IP address.

Method to check IP addresses allocation on S series switches
For S series switches excluding the S1700, run the following commands as required to check IP addresses allocation: - If IP addresses are assigned based on the interface address pool, run the display ip pool [ interface interface-pool-name [ start-ip-address [ end-ip-address ] | all | conflict | expired | used ] ] command. - If IP addresses are assigned based on the global address pool, run the display ip pool [ name ip-pool-name [ start-ip-address [ end-ip-address ] | all | conflict | expired | used ] ] command. Note: - Specify all to check allocation of all the IP addresses. - Specify conflict to check conflicting IP addresses. - Specify expired to check expired IP addresses that are in idle state. - Specify used to check used IP addresses. - Specify start-ip-address [ end-ip-address ] to check allocation of an IP address or some IP addresses.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top