Reference Guide

switchport
Place an interface in Layer 2 mode.
S5000
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 the
no switchport command. If a switchport backup interface is configured, you
must first remove the backup configuration. To remove a switchport backup
interface, enter the no switchport backup interface {gigabit slot/
port | 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.
gigabit Enter the keyword gigabit if the backup port is a 1G port.
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 switch-unit and port number of the backup port.
Defaults Disabled (The interface is in Layer 3 mode.)
Command
Modes
INTERFACE
Command
History
Version 9.0(1.3) Introduced on the S5000.
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.
To use the switchport backup interface command on a port, you must first
enter the switchport command. For more information, refer to the “Configuring
Redundant Links” section in the “Layer 2” chapter of the Dell Networking OS
Configuration Guide.
560
Interfaces