Dell Force10 S4820T Getting Started Guide - Page 36

Create a Port-based VLAN, Assign Interfaces to a VLAN

Page 36 highlights

To configure the enable secret password, follow this step: Task Command Syntax Create a password to enable [password | secret] [level level] access EXEC [encryption-type] password Privilege mode. Command Mode CONFIGURATION Create a Port-based VLAN The Default VLAN (VLAN 1) is part of the system startup configuration and does not require configuration. To configure a port-based VLAN, you must create the VLAN and then add physical interfaces or port channel (LAG) interfaces to the VLAN. To create a port-based VLAN, follow this step: Task Command Syntax Command Mode Configure a port-based VLAN (if the interface vlan vlan-id vlan-id is different from the Default VLAN ID) and enter INTERFACE VLAN mode. After you create a VLAN, you must assign interfaces in Layer 2 mode to the VLAN to activate the VLAN. CONFIGURATION To view the configured VLANs, use the show vlan command in EXEC Privilege mode. Assign Interfaces to a VLAN You can only assign interfaces in Layer 2 mode to a VLAN using the tagged and untagged commands. To place an interface in Layer 2 mode, use the switchport command. You can designate Layer 2 interfaces as tagged or untagged. When you place an interface in Layer 2 mode using the switchport command, the interface is automatically designated untagged and placed in the Default VLAN. 30 Performing the Initial Configuration

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39

30
Performing the Initial Configuration
To configure the enable secret password, follow this step:
Create a Port-based VLAN
The Default VLAN (VLAN 1) is part of the system startup configuration and
does not require configuration. To configure a port-based VLAN, you must
create the VLAN and then add physical interfaces or port channel (LAG)
interfaces to the VLAN.
To create a port-based VLAN, follow this step:
To view the configured VLANs, use the
show vlan
command in EXEC
Privilege mode.
Assign Interfaces to a VLAN
You can only assign interfaces in Layer 2 mode to a VLAN using the
tagged
and
untagged
commands. To place an interface in Layer 2 mode, use the
switchport
command.
You can designate Layer 2 interfaces as tagged or untagged. When you place an
interface in Layer 2 mode using the
switchport
command, the interface is
automatically designated untagged and placed in the Default VLAN.
Task
Command Syntax
Command Mode
Create a password to
access EXEC
Privilege mode.
enable [password | secret] [level
level
]
[
encryption-type
]
password
CONFIGURATION
Task
Command Syntax
Command Mode
Configure a port-based VLAN (if the
vlan-id
is different from the Default
VLAN ID) and enter INTERFACE
VLAN mode. After you create a
VLAN, you must assign interfaces in
Layer 2 mode to the VLAN to activate
the VLAN.
interface vlan
vlan-id
CONFIGURATION