Administrator Guide

switchport
Place an interface in Layer 2 mode.
C9000 Series
Syntax
switchport [backup interface {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 the no switchport
command. If a switchport backup interface is configured, first remove the backup configuration. To
remove a switchport backup interface, enter the no switchport backup interface
{tengigabit slot/port | fortyGigE slot/port | port-channel number} command.
Parameters
backup interface Use this option to configure a redundant Layer 2 link without using Spanning Tree.
The keywords backup interface 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.
tengigabit Enter the keyword tengigabit if the backup port is a 10G port.
fortyGigE Enter the keyword fortyGigE if the backup port is a 40G port.
port-channel Enter the keywords port-channel if the backup port is a static or dynamic port
channel.
slot/port
Specify the line card and port number of the backup port.
Defaults Disabled (The interface is in Layer 3 mode.)
Command Modes INTERFACE
Command
History
This guide is platform-specific. For command information about other platforms, see the relevant Dell
Networking OS Command Line Reference Guide.
The following is a list of the Dell Networking OS version history for this command.
Version Description
9.9(0.0) Introduced on the C9010.
9.2(1.0) Introduced on the Z9500.
8.3.19.0 Introduced on the S4820T.
8.3.11.1 Introduced on the Z9000.
8.5.1.0 Added support for 4-port 40G line cards on ExaScale.
8.4.1.0 Added support for port-channel interfaces (the port-channel number option).
8.3.7.0 Introduced on the S4810.
8.1.1.0 Introduced on the E-Series ExaScale.
7.7.1.0 Added the backup interface option.
7.6.1.0 Introduced on the S-Series.
7.5.1.0 Introduced on the C-Series.
6.2.1.0 Introduced on the E-Series.
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.
Interfaces 783