I was recently configuring a Dell Force10 S Series S55 1/10GbE top-of-rack (ToR) switch and received the error message “Dell FTOS % Error: Port is in Layer-2 mode” when attempting to remove Hybrid Mode.
The Dell Knowledge Base Article How to configure interfaces in Layer 2 mode on Dell Networking Force10 Switches has a note at the very bottom that states, “Before hybrid mode can be removed from an interface all layer 2 configurations have to be removed. Including any VLANs as tagged or untagged.” Unfortunately it doesn’t provide any details on how to remove the existing configuration.
You are already connected to the switch if you are receiving the error message in the title – so no “How-to connect to the switch” instructions are being provided.
To remove an existing Layer 2 configuration the first step is to look at the current configuration of the port. You can do this by typing show running-config or simply show run
Once you have reviewed the current configuration disable the current Layer 2 mode (in my example, Hybrid Mode) enter configuration mode by typing config and typing the commands below. Undo from the bottom up.
First I connected to the interface by typing the following:
interface gigabitethernet 0/4
Next I shutdown the port, this is important since we will also be disabling spanning-tree. It is a Best Practice to shutdown the port during configuration.
Now we are ready to undo the existing Layer 2 configuration type in the following commands:
no spanning-tree 0 portfast
no portmode hybrid
If you are done configuring the port don’t forget to re-enable it by typing:
The last step is to save the configuration, type:
copy running-config startup-config
Here is what it looks like from the console