Reference Guide
658 | Interfaces
www.dell.com | support.dell.com
switchport
c e s
Place an interface in Layer 2 mode.
Syntax
switchport [backup interface {gigabit slot/port | tengigabit slot/port | fortyGigE slot/port |
port-channel
number}]
To remove an interface from Layer 2 mode and place it in Layer 3 mode, enter
no switchport.
If a switchport backup interface is configured, you must first remove the backup
configuration. To remove a switchport backup interface, enter
no switchport backup interface
{gigabit slot/port | tengigabit slot/port | fortyGigE slot/port | port-channel number}.
Parameters
Defaults
Disabled (The interface is in Layer 3 mode.)
Command Modes
INTERFACE
Command
History
Usage
Information
If an IP address or VRRP group is assigned to the interface, you cannot use the switchport
command on the interface. To use the
switchport command on an interface, only the no ip
address
and no shutdown statements must be listed in the show config output.
When you enter the
switchport command, the interface is automatically added to the default
VLAN.
backup
interface
Use this option to configure a redundant Layer 2 link without using Spanning
Tree. This keyword configures a backup port so that if the primary port fails the
backup port changes to the up state. If the primary later comes up, it becomes
the backup.
gigabit Enter this keyword if the backup port is a 1G port.
tengigabit Enter this keyword if the backup port is a 10G port.
fortyGigE Enter this keyword if the backup port is a 40G port.
port-channel Enter this keyword if the backup port is a static or dynamic port channel.
slot/port
Specify the line card and port number of the backup port.
Version 8.3.19.0 Introduced on S4820T
Version 8.5.1.0 Added support for 4-port 40G line cards on ExaScale.
Version 8.4.1.0 Added support for port-channel interfaces (port-channel number
option).
Version 8.3.7.0 Introduced on S4810
Version 8.1.1.0 Introduced on E-Series ExaScale
Version 7.7.1.0 Added backup interface option.
Version 7.6.1.0 Introduced on S-Series
Version 7.5.1.0 Introduced on C-Series
pre-Version 6.2.1.0 Introduced for E-Series










