The method of S series switches to modify interface IP

S series switches (except S1700) delete or modify the interface IP address as follows:
- To delete an IP address of an interface, you can execute the command in interface-view:undo ip address[ip-address{mask|mask-length}]�?e.g.�?[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 modify an IP address or mask of an interface, you can execute the command again in interface-view:ip address[ip-address{mask|mask-length}]�?e.g.�?[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
#

Scroll to top