Workaround for VLAN Management IP Address Assignment
Updated:August 6, 2019
When the switch is configured with an IP address on any VLAN, the ‘fallback’ IP address on VLAN1 (192.168.1.254)
will be released.To preserve connectivity, prior to assigning an IP address to any VLAN
interface, ensure the management VLAN has an IP address assigned first. The IP address can be obtained
via a DHCP server or
statically assigned to the VLAN interface. This article provides you
with a workaround for VLAN IP assignment.
250 series Switches
Enabling SSH and Confirming Switch Status
If this is not your first time booting up the Switch, skip to Step 3.
Step 1. Power up the new switch and log in to the switch via the web browser by
using the default username and password.
Note: The default username and password upon first boot is cisco / cisco.
Step 2. Change the default username and password. Click Apply.
Step 3. Once the main menu has opened, click Security > TCP/UDP Services. Once this page
loads enableSSH on the switch. Click Apply.
Step 4. Log in to the switch via SSH, we chose to use Putty.
Note: To learn how to access an SMB switch through SSH or Telnet, click here.
Step 5. To display details of the firmware and to confirm whether the Switch is updated to the latest available
firmware version or not, enter the following command.
Note: It is recommended to use the latest firmware on the Switch. To download the latest
firmware, please click here.
Step 6. To display information about VLAN settings of the switch, enter the following command:
Step 7. To display information about IP interface, enter the following:
switch20abd3#show IP interface
By using the above mentioned command, you can see the current IP address settings on the interfaces and decide
about assigning a new IP on the new VLAN interface.
Example: Creating the VLAN and Assigning the IP
Note: The below is an example of the steps SSH session loss. When you enter the last command,
you will lose access to the switch because VLAN1 will not have an IP address and all switch ports are still
assigned to VLAN1.
To skip directly to the workaround steps, click here.
Step 8. From the Privileged EXEC mode of the switch, enter the Global Configuration mode by entering the
Step 9. To configure the VLAN 2 on the Switch, enter the following:
switch201bd3 (config) #vlan 2
Step 10. To manage the VLAN 2 interface, enter the following:
switch201bd3 (config) #interface vlan 2
Step 11. To configure the IP on VLAN 2 interface, enter the following:
Note: In the example above, if you were connected to the switch via gi2 then you would lose
Step 3. (Optional) You can now verify the VLAN & IP address of the switch by using the following
Switch20abd3#show ip interface
You have now successfully assigned an IP on another VLAN interface without losing connection to VLAN1. It
helpful to assign a static IP on the VLAN 1 interface of the Switch for management purpose.