Dell Force10 S55T Quick Start Guide - Page 25

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

Page 25 highlights

Create a Port-based VLAN The Default VLAN as 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. 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. CONFIGURATION NOTE: After you create a VLAN, you must assign interfaces in Layer 2 mode to the VLAN to activate the VLAN. Use the show vlan command in the EXEC privilege mode to view the configured VLANs. Assign Interfaces to a VLAN To view just the interfaces that are in Layer 2 mode, enter the show interfaces switchport command in the EXEC privilege mode or EXEC mode. To tag frames leaving an interface in Layer 2 mode, you must assign that interface to a port-based VLAN to tag it with that VLAN ID. To tag interfaces, use these commands in the following sequence: Step Task Command Syntax 1 Access the interface vlan vlan-id INTERFACE VLAN mode of the VLAN to which you want to assign the interface. 2 Enable an interface to tagged interface include the IEEE 802.1Q tag header. Command Mode CONFIGURATION INTERFACE Installing the Software 23

  • 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

Installing the Software
23
Create a Port-based VLAN
The Default VLAN as 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.
NOTE:
After you create a VLAN, you must assign interfaces in Layer 2 mode to
the VLAN to activate the VLAN.
Use the
show vlan
command in the EXEC privilege mode to view the
configured VLANs.
Assign Interfaces to a VLAN
To view just the interfaces that are in Layer 2 mode, enter the
show
interfaces
switchport
command in the EXEC privilege mode or EXEC mode.
To tag frames leaving an interface in Layer 2 mode, you must assign that
interface to a port-based VLAN to tag it with that VLAN ID. To tag interfaces,
use these commands in the following sequence:
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.
interface vlan
vlan-id
CONFIGURATION
Step
Task
Command Syntax
Command Mode
1
Access the
INTERFACE VLAN
mode of the VLAN to
which you want to
assign the interface.
interface vlan
vlan-id
CONFIGURATION
2
Enable an interface to
include the IEEE
802.1Q tag header.
tagged
interface
INTERFACE