Configuring A Port In Access Mode - Dell PowerEdge M420 Configuration Manual

Dell powerconnect m8024-k user's configuration guide
Hide thumbs Also See for PowerEdge M420:
Table of Contents

Advertisement

Configuring a Port in Access Mode

Beginning in Privileged EXEC mode, use the following commands to
configure an untagged layer 2 VLAN interface and assign the interface to a
VLAN. When a port is in access mode, it can only be a member of one
untagged VLAN. When you configure the interface as a VLAN member, the
interface is automatically removed from its previous VLAN membership. You
can configure each interface separately, or you can configure a range of
interfaces with the same settings.
Command
configure
interface
interface
switchport mode access
switchport access vlan
vlan-id
CTRL + Z
show interfaces
interface
switchport
Purpose
Enter global configuration mode.
Enter interface configuration mode for the specified
interface
interface. The
and number, for example gigabitethernet 1/0/3.
You can also specify a range of interfaces with the interface
range command, for example, interface range
gigabitethernet 1/0/8-12 configures interfaces 8, 9, 10, 11,
and 12.
Configure the interface as an untagged layer 2 VLAN
interface.
Configure the interface as a member of the specified
VLAN.
vlan-id
— A valid VLAN ID of the VLAN to which the port
is configured. (Range: 1–4093)
Exit to Privileged EXEC mode.
Display information about the VLAN settings configured
for the specified interface.
variable includes the interface type
Configuring VLANs
607

Advertisement

Table of Contents
loading

Table of Contents