This article explains how to remove IP address from VLAN 1 in N1100/N1500/N2000/N2100-ON series switches.
By default the N1100/N1500/N2000/N2100-ON switches tries to get IP address from DHCP in VLAN 1. If we remove an existing IP address from the VLAN by using "no IP address" command, it sets the IP address method to DHCP.
Use "ip address none". The IP address none command clears the currently assigned IPv4 address and sets the IP address configuration method to none.
Command | Parameters |
console#configure | Enter the configure mode |
console(config)#interface vlan 1 | Configure VLAN 1 |
console(config-if-vlan1)#no ip address | Remove IP and sets the IP address configuration method to the default |
console(config-if-vlan1)#ip address none | Sets the IP address configuration method to none |
console#configure
console(config)#interface vlan 1
console(config-if-vlan1)#no ip address
console(config-if-vlan1)#ip address none
To verify the configuration use the below commands
console#show ip interface
Default Gateway................................ 0.0.0.0
L3 MAC Address................................. xxxx.xxxx.xxxx
Routing Interfaces:
Interface State IP Address IP Mask Method
---------- ----- --------------- --------------- -------
Vl1 Down 0.0.0.0 0.0.0.0 None