Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Module 3C - VLANs
Objectives
What is a VLAN?
How VLANs got started
How tagging works
Define VLAN-aware Devices
Explain the native VLAN
Routing and VLANs
What is a VLAN Interface?
VLAN Interface Configuration
VLAN Verification
3C-2
Who is
10.10.10.2?
3C-3
SFD
MAC - Destination
If a frame is sent to F
must process it.
MAC - Source
Ethertype
Payload
3C-4
FCS
100.0.0.0 /24
200.0.0.0 /24
3C-5
SFD
FF:FF:FF:FF:FF:FF
MAC - Source
Ethertype
Payload
FCS
Pre
SFD
FF:FF:FF:FF:FF:FF
MAC - Source
Ethertype
Payload
FCS
SFD
MAC - Destination
MAC - Source
Pre
SFD
MAC - Destination
MAC - Source
TPID
Ethertype
Payload
TPID
Priority
Ethertype
CFI
FCS
Payload
FCS
VLAN ID
Field
Values
Description
8100
Priority
07
0 or 1
VLAN ID
0 4095
The Tag
0
1
2 4095
3C-7
The blue VLAN (100) is distinguished from the green VLAN (200)
Pre
SFD
FF:FF:FF:FF:FF:FF
MAC - Source
VLAN 100
Ethertype
Payload
FCS
Pre
SFD
FF:FF:FF:FF:FF:FF
MAC - Source
VLAN 200
Ethertype
Payload
FCS
3C-8
100 U
200 U
Gi 0/0
Gi 0/1
100 U
Gi 0/0
100 T
300 T
Gi 0/2
Gi 0/2
100 T
300 U
100 T
300 U
200 U
Gi 0/0
Gi 0/0
Gi 0/3
Gi 0/3
100 T
200 T
300 T
100 T
200 T
300 T
Gi 0/4
100 T
200 T
In this example, it is decided that BLUE (100) and YELLOW (200) and RED
(300) are needed
2. Which VLANs will each interface be a member of?
3.
For each interface will they be Tagged (T) or Untagged (U) members?
3C-9
Logically Diagrams:
C
VLAN 100
Gi 0/0
Gi 0/2
Gi 0/2
Gi 0/0
Gi 0/3
Gi 0/1
Gi 0/4
Gi 0/3
VLAN 200
Gi 0/0
Gi 0/0
VLAN 300
3C-10
Gi 0/2
Gi 0/2
G
Gi 0/3
Gi 0/3
Gi 0/3
Gi 0/3
Gi 0/4
not configured
Tagged 3
Tagged 3
Tagged 4
Untagged 4
For each VLAN on the Router above, what happens to the frames at the
Switch?
Only frames from the Red and
VLANs will be accepted by the switch
Note, however, that frames from the
VLAN will get assigned to
the Blue (Native) VLAN by the switch
3C-11
not configured
Tagged 3
Tagged 3
Tagged 4
Untagged 4
91.0.0.254
100.0.0.254
33.0.0.254
C:\WINDOWS>ipconfig
C:\WINDOWS>ipconfig
Windows IP Configuration
Windows IP Configuration
DNS
. .
. .
. .
Suffix
. . . .
. . . .
. . . .
.
.
.
.
:
:
:
:
force10.com
100.0.0.8
255.255.255.0
100.0.0.254
Connection-specific
IP Address. . . . .
Subnet Mask . . . .
Default Gateway . .
DNS
. .
. .
. .
Suffix
. . . .
. . . .
. . . .
.
.
.
.
:
:
:
:
force10.com
91.0.0.123
255.255.255.0
91.0.0.254
91.0.0.254
B
100.0.0.254
3C-13
Modes
Possible
Default
Mode
Require
Creation
Physical
1-Gigabit Ethernet, 10-Gigabit Ethernet
interfaces, and SONET interfaces
L2, L3
Unset
No
Shutdown
(disabled)
N/A
N/A
No
Shutdown
(disabled)
L3
L3
Yes
No Shutdown
(enabled)
N/A
N/A
No
Enabled
L2, L3
Unset
Yes
Shutdown
(disabled)
L2
Yes
(except
Default)
Management
Located on the RPM and provides
management access
Loopback
Virtual interface in which the software
emulates a physical interface
Null
Virtual interface that is always up, but no
traffic flows on this interface
Port Channel
Virtual interface that provides
redundancy by allowing the
aggregation of up to 16 physical
interfaces
VLAN
Logical interfaces to separate broadcast
domains
3C-14
L2, L3
Default State
Shutdown
(L2 Forwarding
enabled)
(L3 Forwarding
disabled)
VLAN Interfaces
VLANs insert an additional 4-bytes in
Ethernet frame for broadcast domain
segregation
This extra information contains a
VLAN ID#
VLAN interfaces are logical interfaces
and are in L2 mode by default
L2 traffic is forwarded out all ports
in the VLAN
L3 traffic is not forwarded via the
interface until the VLAN interface is
configured as no shutdown
FTOS supports up to 4094 plus one
Default (VLAN 1)
3C-15
3C-16
2
3
5
6
3C-17
3C-19
2.
3.
3C-20
Summary
3C-21