Friday, September 28, 2012

Cisco SG300 or SF300 Procedure to Change from Layer2 to Layer3

This process will default any configurations you already have on the switch so you want to take a copy of the config first.

Connect with the serial cable to the Console port.

Set your serial port speed to 115200




The above are default values.

Run the following command at the prompt:


This will bring up the Switch Main Menu

Select -> System Mode -> Edit ->Hit Spacebar to toggle mode from Layer 2 to Layer 3 -> Save

*sometimes, depending on your terminal emulation, you may not be able to get to the 'Save' option. Hit Esc, when you are at the top most parameter.

Your switch will reboot after another prompt to which you answer yes.

There will be no IP address when the switch boots up. 

Configure an IP address on the default VLAN 1 so you can http to the switch as follows:

Same process as above to bring up the menu, then

System Configuration Menu -> Ip Configuration -> IPv4 Address Configuration ->IPv4 Address Settings -> Edit ->

Enter the IP address for the switch


IPv4 Address:

Subnet Mask:


Now you can connect to any of the ethernet ports and then


  1. Hi
    when the switch reboots, it looses communication as it doesn't have an ip address. How can you assign ip address to vlan 1 again?

  2. You will need to configure the IP address on VLAN1 through the console connection first. Thereafter you can hit it with http. Refer to the last part of the blog for details. All the best!