Dell C9000 Line Cards Networking C9010 Getting Started Guide - Page 52

Creating a VLAN, Assigning Interfaces to a VLAN

Page 52 highlights

CONFIGURATION mode Dell(conf)# linecard number port number portmode quad - linecard number port number specifies the line card and 40GbE port to be split. The line card range is 0 to 11; the port range is 0 to 20. - portmode quad configures a 40GbE port to operate in 4x10G mode. For example: Dell(conf)# linecard 0 port 5 portmode quad Creating a VLAN The default VLAN is VLAN 1 (by default) and is stored in the startup configuration. You can configure a different VLAN number as the default VLAN. You cannot delete or disable the default VLAN 1; you cannot assign it an IP address. Only untagged interfaces can belong to the default VLAN. When you configure an interface, the switchport command automatically places it in the default VLAN as an untagged interface. All switchport interfaces must belong to at least one VLAN. To remove a switchport from the default VLAN, configure it as a tagged or untagged member of another VLAN or remove the switchport configuration. • Create a VLAN CONFIGURATION mode Dell(conf)# interface vlan vlan-id • Display all VLANs. EXEC Privilege mode Dell# show vlan vlan-id Assigning 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. A port can be an untagged member of a single VLAN or a tagged member of multiple VLANs. When you place an interface in Layer 2 mode using the switchport command, the interface is automatically configured as untagged and placed in the default VLAN (VLAN 1). • Tagged ports append an 802.1Q tag to frames on egress and accept only tagged frames on ingress (untagged frames are dropped). You must connect tagged ports to VLAN-aware devices. • Untagged ports do not append an 802.1Q VLAN tag to frames on egress and do not accept tagged frames on ingress (tagged frames are dropped). You must connect untagged ports to VLAN-unaware devices. To remove an untagged port from the default VLAN, remove the switchport configuration. To assign an interface to a VLAN: 1. Enter the VLAN ID to enter configuration mode and assign an interface. CONFIGURATION mode Dell(conf)# interface vlan vlan-id The range of VLAN ID numbers is from 1 to 4094. 2. Assign a switchport interface to a VLAN as a tagged or untagged member. 52 Configuring the Software

  • 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
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56

CONFIGURATION mode
Dell(conf)# linecard
number
port
number
portmode quad
linecard
number
port
number
specifies the line card and 40GbE port to be split. The line
card range is 0 to 11; the port range is 0 to 20.
portmode quad
configures a 40GbE port to operate in 4x10G mode.
For example:
Dell(conf)# linecard 0 port 5 portmode quad
Creating a VLAN
The default VLAN is VLAN 1 (by default) and is stored in the startup configuration.
You can configure a different VLAN number as the default VLAN. You cannot delete or disable the default
VLAN 1; you cannot assign it an IP address. Only untagged interfaces can belong to the default VLAN.
When you configure an interface, the
switchport
command automatically places it in the default VLAN
as an untagged interface. All switchport interfaces must belong to at least one VLAN. To remove a
switchport from the default VLAN, configure it as a tagged or untagged member of another VLAN or
remove the switchport configuration.
Create a VLAN
CONFIGURATION mode
Dell(conf)# interface vlan
vlan-id
Display all VLANs.
EXEC Privilege mode
Dell# show vlan
vlan-id
Assigning 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. A port can be an untagged
member of a single VLAN or a tagged member of multiple VLANs. When you place an interface in Layer 2
mode using the
switchport
command, the interface is automatically configured as untagged and
placed in the default VLAN (VLAN 1).
Tagged ports append an 802.1Q tag to frames on egress and accept only tagged frames on ingress
(untagged frames are dropped). You must connect tagged ports to VLAN-aware devices.
Untagged ports do not append an 802.1Q VLAN tag to frames on egress and do not accept tagged
frames on ingress (tagged frames are dropped). You must connect untagged ports to VLAN-unaware
devices. To remove an untagged port from the default VLAN, remove the switchport configuration.
To assign an interface to a VLAN:
1.
Enter the VLAN ID to enter configuration mode and assign an interface.
CONFIGURATION mode
Dell(conf)# interface vlan
vlan-id
The range of VLAN ID numbers is from 1 to 4094.
2.
Assign a switchport interface to a VLAN as a tagged or untagged member.
52
Configuring the Software