1 Silvano Gai - 1998
1/6/99
An Engineering guide to IEEE 802.1Q and IEEE 802.1p Silvano Gai - - PowerPoint PPT Presentation
An Engineering guide to IEEE 802.1Q and IEEE 802.1p Silvano Gai 1/6/99 Silvano Gai - 1998 1 Agenda VLAN IEEE 802 committees IEEE 802.1p IEEE 802.1Q The Cisco solution 1/6/99 Silvano Gai - 1998 2 Compass VLAN N
1 Silvano Gai - 1998
1/6/99
2 Silvano Gai - 1998
1/6/99
3 Silvano Gai - 1998
1/6/99
N assigning frames to VLANs N tagging and baby giant frames N spanning tree(s) N access or independent VLANs N single/multiple filtering data base(s) N internetworking between VLANs
4 Silvano Gai - 1998
1/6/99
N static
I per port
N dynamic
I per MAC address I per protocol I per layer 3 address I per multicast address I “policy-based” (per application, per user,
etc.)
5 Silvano Gai - 1998
1/6/99
N no tag is added to the frame N easy in connection-oriented approaches N difficult for multicast/broadcast frames
N a tag is added to each frame N the tag carries the VLAN membership
information
N the tag may carry additional information
6 Silvano Gai - 1998
1/6/99
N 802.1 is persuading 802.3 to increase the
maximum frame size from 1518 to 1522 (4 extra bytes)
7 Silvano Gai - 1998
1/6/99
N One level tagging
I also called “Internal tagging”
N Two level tagging
I also called “External tagging”
8 Silvano Gai - 1998
1/6/99
N MAC SA and DA are unchanged N an exception: it may be a baby giant
9 Silvano Gai - 1998
1/6/99
LEN. LLC PDU PAD FCS PT DATA FCS Octets 7 1 6 6 4 2 from 46 to 1500 4
DA SA
DA SA IEEE 802.3 Ethernet v2.0 TAG TAG
New Field
10 Silvano Gai - 1998
1/6/99
N New SA, DA, (RIF), Ethertype, and VLAN-ID N It is possible to support giant frames
N two-level tagging is a tunnelling mechanism N it is unclear how source routing works in 1Q
11 Silvano Gai - 1998
1/6/99
ISL Header 26 bytes Encapsulated frame 1 ... 24.5 KBytes FCS 4 bytes
12 Silvano Gai - 1998
1/6/99
DA Type 01-00-0c-00-00 User SA LEN AAAA03 HSA VLAN BPDU INDEX RES
Destination MAC address
13 Silvano Gai - 1998
1/6/99
N Single spanning tree N Per VLAN spanning tree N Shared spanning tree
N multiple active topologies N load balancing
14 Silvano Gai - 1998
1/6/99
Red ST Green ST S1 S3 S2
15 Silvano Gai - 1998
1/6/99
N Access VLANs
I VLANs are a clever way to specify filters to
limit endstation-to-endstation connectivity
N Independent VLANs
I VLANs are a clever way to utilize one
physical plant to carry multiple, independent bridged LANs
16 Silvano Gai - 1998
1/6/99
N filtering helps in scaling somewhat larger
17 Silvano Gai - 1998
1/6/99
N Half-duplex conversations between different
VLANs
N Bridge 1 never sees F’s source on yellow or
blue, nor X’s or Y’s sources on green
N Filtering database must ignore “color”
F F X X Y Y
2 2 1 1
18 Silvano Gai - 1998
1/6/99
N if the scope of each VLAN is not global N routers plus bridged LANs are known to scale
well
N a single spanning tree N one spanning tree per VLAN N multiple VLANs in each of several spanning
trees
19 Silvano Gai - 1998
1/6/99
N DECNet phase IV routers and two-Ethernet
Sun workstations
N to route some protocols and bridge others
(Route IP) Bridge NetBEUI
Y X X Y
S2 S1
X Y
When R1 bridges some protocol between X and Y on different VLANs, S1 and S2 see duplicate MAC addresses for Y and X. R1
20 Silvano Gai - 1998
1/6/99
N Multiple Filtering Database - Single Entry N Natural solution for independent VLANs N Compatible with multiple spanning trees
N Single Filtering Database - Multiple Entry N Solution adopted in Access VLAN to try to
support duplicated MAC addresses
N Requires a single spanning tree
21 Silvano Gai - 1998
1/6/99
N classical approach N scale well
N switches create shortcuts between VLANs N limited scalability
22 Silvano Gai - 1998
1/6/99
N IEEE 802.1 N IEEE 802.3ac N standard tagging scheme
23 Silvano Gai - 1998
1/6/99
N 802.1: Higher Layer Interfaces (*)
I 802.1D (transparent bridging) I 802.1G (metro transparent bridging) I 802.1H (translation bridging) I 802.1D Reaffirmation I 802.1p Priorities/GARP/GMRP I 802.1Q VLANs/GVRP
N 802.3: CSMA/CD (Ethernet)
I 802.3ac
N 802.5: Token Ring N Others
(*) IEEE 802.1 started working on VLANs in late 1995 and it has still not finished
24 Silvano Gai - 1998
1/6/99
N Supplement to Carrier Sense Multiple Access
with Collision Detection (CSMA/CD) Access Method & Physical Layer Specification
I Frame Extension for Virtual Bridged Local
Area Networks (VLAN) Tagging on 802.3 Networks.
N Extend Maximum Frame size from 1518 to
1522 octets
25 Silvano Gai - 1998
1/6/99
Destination Address Source Address EtherType = TPID
Tag Control Information
MAC Length/Type MAC DATA PAD FCS 6 6 2
2
2 42
4 Used in:
IEEE 802.3ac IEEE 802.1Q IEEE 802.1p
user priority CFI VID (VLAN ID) - 12 bits 3 1
26 Silvano Gai - 1998
1/6/99
27 Silvano Gai - 1998
1/6/99
Dest Src Data Len/Etype p/Q Label Etype FCS Priority VLAN-ID Token-Ring Encapsulation Flag VLAN-ID and T-R Encaps Flag are .1Q, not .1p Recompute FCS 6 6 2 2 2 4 ... Dest Src FCS Data Len/Etype
28 Silvano Gai - 1998
1/6/99
N Expedited traffic capabilities N Bridge architecture N GARP, GMRP
29 Silvano Gai - 1998
1/6/99
N Supplement to Media Access Control (MAC)
bridges: Traffic Class Expediting and Dynamic Multicast Filtering
N Expedited traffic capabilities N Filtering services to support the dynamic use
30 Silvano Gai - 1998
1/6/99
N MAC-layer priority in the add-on tag N Priority not derived from MAC address
N output queue selection based on 802.1p tag N maintains ordering only between frames at
same priority
N mapping L3 RSVP requests to 802.1p priorities
via a subnet bandwidth manager
31 Silvano Gai - 1998
1/6/99
Source Port State Information Destination Port State Information Filtering Database Frame reception Frame discarding Frame transmission 3.7.1 3.7.2 3.7.3 Queues 3.7.4 3.7.5 3.7.6 3.7.1 Enforcing topology restriction 3.7.2 Filtering Frames 3.7.3 Queueing Frames 3.7.4 Selecting frames for transmission 3.7.5 Mapping priority 3.7.6 Recalculating FCS
32 Silvano Gai - 1998
1/6/99
N Generic attribute dissemination capability N Used by participants in “GARP Applications
(*)” (GARP Participants) to Register and de- register attribute values with other GARP participants within a bridged LAN
N Attribute types and attribute values are
specific of each GARP application
N Designed to register anything
(*) there are two GARP Applications already defined: GMRP and GVRP
33 Silvano Gai - 1998
1/6/99
N make/withdraw declarations relative to
attribute values
N this results in registration/deregistration of
attribute values in other GARP participants
N registration/deregistration is recorded in a
state variable in the “Registar state machine”
I only on the port that receives the GARP
PDU containing the declaration
I even on ports that are not ST forwarding
N attribute values registered on ports belonging
to the active topology are propagated to all the
topology by the “Applicant state machine”
34 Silvano Gai - 1998
1/6/99
A a a a a a a a A = Declaration of attribute value A a = Registration of attribute value A Propagation of declaration Switch End Station a A A A A a a a A A A
35 Silvano Gai - 1998
1/6/99
Aa a Aa a a a a a Switch a A A Aa A Aa Aa Aa Aa Aa A A = Declaration of attribute value A a = Registration of attribute value A Propagation of declaration End Station
36 Silvano Gai - 1998
1/6/99
Aa a Aa a a a a a Switch a A A Aa A Aa Aa Aa Aa Aa A A = Declaration of attribute value A a = Registration of attribute value A Propagation of declaration Active topology End Station
37 Silvano Gai - 1998
1/6/99
N a set of state machines that defines the
current registration and declaration state of all attribute values
N propagation of information between GARP
participants
N within a bridge N between bridges
I based on LLC Type 1 service
38 Silvano Gai - 1998
1/6/99
GARP application GID GARP participant LLC Frame RX Frame TX MAC relay entity GARP application GID GARP participant LLC Frame RX Frame TX GARP application GID GARP participant LLC Frame RX Frame TX End Station Bridge
39 Silvano Gai - 1998
1/6/99
Applicant State Machine Registar State Machine Attribute n state: Applicant State Machine Registar State Machine Attribute n-1 state: Applicant State Machine Registar State Machine Attribute ... state: Applicant State Machine Registar State Machine Attribute ... state: Applicant State Machine Registar State Machine Attribute C state: Applicant State Machine Registar State Machine Attribute B state: Applicant State Machine Registar State Machine Attribute A state:
GID
40 Silvano Gai - 1998
1/6/99
N Allows endstations to register for the MAC
multicasts that they want
N Tracks which ports request each multicast
address
N Allows frame switches to send multicasts only
where they’re needed
N Allows endstations to register for all MAC
multicasts
41 Silvano Gai - 1998
1/6/99
N Group Membership Information
I Composition of the group I The attribute type is the 48-bit multicast MAC
address
I Updating Filtering database to indicate the
ports on which members of the groups have been registered
N Default Group behavior:
I Filter Unregistered Groups (default) I Forward All Group I Forward Unregistered Group
42 Silvano Gai - 1998
1/6/99
Application station belonging to Group M Group Registration entry for Group M Application station NOT belonging to Group M
43 Silvano Gai - 1998
1/6/99
N The receiving port will retag the frame using
the PVID (Port VLAN ID)
Switch
VID=0, Prio=5 PVID=4 Incoming frame The received frame is retagged with VID = 4
44 Silvano Gai - 1998
1/6/99
N architectural model N GVRP N relaying function N port-based VLANs - native VLAN N spanning tree issues N interaction between 1Q and 1p
45 Silvano Gai - 1998
1/6/99
N Virtual Bridged Local Area Network
N Bridged/switched networks N VLANs (Virtual LANs)
46 Silvano Gai - 1998
1/6/99
N it interoperates with “VLAN-unaware” bridges
N it is late N it has a limited set of features
47 Silvano Gai - 1998
1/6/99
N Assigning frames to VLANs by filtering, e.g.
using L3 information, is allowed but not specified in the standard
N one level tagging
48 Silvano Gai - 1998
1/6/99
Relay Distribution of configuration Information Configuration
Registration protocols Ingress rules MIBs Topology distribu- tion protocols Forwarding rules Egress rules Management GVRP Spanning Tree Classifying a frame as belonging to a VLAN Forwarding or filtering the frame Output ports tagged/untagged
49 Silvano Gai - 1998
1/6/99
N Configuration: netadmin sets parameters N Distribution: switches agree on working
details (to minimize configuration requirements)
N Relay: frames are assigned to VLANs and
distributed
N it tells which switches want which VLANs
50 Silvano Gai - 1998
1/6/99
Forwarding Process Ingress Rules Egress Rules Frame Transmission Port State Information Port State Information Frame Reception Filtering database
51 Silvano Gai - 1998
1/6/99
N End stations and bridges may issue or revoke
declarations relating to the membership of VLANs
N The attribute type is the 12 bits VID (VLAN ID)
N ES_REGISTER_VLAN_MEMBER(VID) N ES_DEREGISTER_VLAN_MEMBER(VID)
52 Silvano Gai - 1998
1/6/99
VLAN A VLAN B access port VLAN-aware bridge trunk link VLAN A VLAN B access port VLAN-aware bridge
53 Silvano Gai - 1998
1/6/99
VLAN A VLAN B access ports VLAN-aware bridge trunk link access ports VLAN-aware bridge VLAN-aware end station VLAN B VLAN-unaware end station VLAN-unaware end station VLAN A VLAN B VLAN C VLAN-unaware end station PVID=C PVID=A PVID=B VLAN C PVID=C PVID=C PVID=C access port
54 Silvano Gai - 1998
1/6/99
If the port X is blocked the network works fine If the port Y blocks VLAN A is partitioned (the
server A is unreachable from VLAN A)
SWITCH VLAN-aware bridge 802.1D VLAN -unaware VLAN A Server B (VLAN B) VLAN B Server A (VLAN A) X Y bridge 802.1D VLAN -unaware
55 Silvano Gai - 1998
1/6/99
SWITCH VLAN-aware SWITCH VLAN-aware access ports VLAN A VLAN B
Blocked
56 Silvano Gai - 1998
1/6/99
N 1p specifies how to forward frames in a
multicast environment using GMRP
N on which ports N on which VLANs N tagged or native format