ITN - Module - 7 FOL
ITN - Module - 7 FOL
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 1
Etiquette Reminder
Chat rules and etiquette during class
While it is great to connect before class begins in the chat space and I encourage
that …
During class please only use the chat space for posting questions or trying to
answer a question (from myself or classmate) – I very much encourage that as it is
a great way to learn
• Otherwise, questions get lost in the chatter and the incessant posting is a distraction
while talking/listening
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 2
INFO-1280
Theory Assessments:
Theory Component (on campus)
Test #1
Monday Feb. 10th 9-11am (10%)
Test #2
Monday March 31st 9-11am (20%)
The actual day/time is your regular lab day/time for that week.
This is not a take home assignment; it is completed in lab on the equipment. 4
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 6
7.1 Ethernet Frames
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 7
Ethernet Frames
Ethernet Encapsulation
• Ethernet operates at the data link layer and the physical layer.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 8
Ethernet Frames
Data Link Sublayers (Review)
The 802 standards, including Ethernet, use two separate sublayers
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 9
Ethernet Frames
MAC Sublayer
The MAC sublayer is responsible for data encapsulation and accessing the media.
Data Encapsulation
IEEE 802.3 data encapsulation includes the following:
1. Ethernet frame - This is the internal structure of the Ethernet frame.
2. Ethernet Addressing - The Ethernet frame includes both a source and destination MAC address
to deliver the Ethernet frame from Ethernet NIC to Ethernet NIC on the same LAN.
3. Ethernet Error detection - The Ethernet frame includes a frame check sequence (FCS) trailer
used for error detection.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 10
Ethernet Frames
Ethernet Frame Fields
• Describe the purpose and information within the fields of an Ethernet frame
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 11
Ethernet Frames
Ethernet Frame Fields
• Describe the purpose and information within the fields of an Ethernet frame
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 12
Ethernet Frames
Ethernet Frame Fields
• Describe the purpose and information within the fields of an Ethernet frame
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 13
7.2 Ethernet MAC Address
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 14
Ethernet MAC Addresses
Ethernet MAC Address
An Ethernet MAC address consists of a 6-hexadecimal vendor OUI code followed by a 6-hexadecimal
vendor-assigned value.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 15
Ethernet MAC Addresses
Ethernet MAC Address
• Because MAC addresses must be unique and IEEE manages the OUI portion of the MAC
addresses Wireshark can display vendor name as part of MAC addresses
• https://www.wireshark.org/tools/oui-lookup.html
• https://regauth.standards.ieee.org/standards-ra-web/pub/view.html#registries
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 16
Ethernet MAC Addresses
Frame Processing
Discuss how devices process Ethernet frames.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 17
Ethernet MAC Addresses
Unicast MAC Address
Discuss a unicast transmission at layer 2
Video 7.2.4
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 18
Ethernet MAC Addresses
Broadcast MAC Address
Discuss a broadcast transmission at layer 2
Video 7.2.5
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 19
Ethernet MAC Addresses
Multicast MAC Address
Discuss a multicast transmission at layer 2
Video 7.2.6
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 20
7.3 The MAC Address Table
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 21
The MAC Address Table
Switch Fundamentals
• A Layer 2 Ethernet switch uses MAC addresses to make forwarding decisions.
• An Ethernet switch examines its MAC address table to make a forwarding decision for
each frame
• When a switch is turned on, the MAC address table is empty
• Switches are unaware of the data (protocol) being carried in the data field of the
frame, such as an IPv4 packet, an ARP message, or an IPv6 ND packet.
Note: The MAC address table is sometimes referred to as a content addressable memory
(CAM) table.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 22
The MAC Address Table
Switch Learning and Forwarding
Examine the Source MAC Address (Learn)
Switches can learn about MAC addresses automatically or statically.
This process is unique to the source MAC address in the Ethernet header.
Note: If the destination MAC address is a broadcast or a multicast, the frame is also
flooded out all ports except the incoming port.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 23
The MAC Address Table
Switch Learning and Forwarding
Activity Switch It! 7.3.6
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 24
7.4 Switch Speeds and
Forwarding Methods
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 25
Switch Speeds and Forwarding Methods
Frame Forwarding Methods on Cisco Switches
Discuss different frame forwarding methods between network ports/interfaces.
• Store-and-forward switching - Accepts the entire frame before looking up the destination
address to determine the outgoing interface.
• Cut-through switching - This frame forwarding method forwards the frame before it is entirely
received. At a minimum, the destination address of the frame must be read before the frame can
be forwarded.
• Fast-forward switching - lowest latency because forwards frame after reading the destination address.
• Fragment-free switching - ensures a collision has not occurred by reading the first 64 bytes of the frame before
forwarding.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 26
Switch Speeds and Forwarding Methods
Memory Buffering on Switches
Discuss buffering techniques to store frames before forwarding them. Buffering may also be used if
the destination port is busy because of congestion.
• Port-based memory
• Frames are stored in queues that are linked to specific incoming and outgoing ports
• Frame is removed from queue and transmitted to outgoing port only when all frames ahead in the queue
have been successfully transmitted
• Possible for single frame waiting on a busy destination port to delay all other frames, even if other frames
could be transmitted to open destination port
• Shared memory
• Deposits all frames into common memory buffer shared by all switch ports
• Frames in buffer dynamically linked to destination port, so frame can be received on one port and
transmitted to another port without moving between queues
• Allows for switching between different port speeds
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 27
Switch Speeds and Forwarding Methods
Duplex and Speed Settings
Two of the most basic settings on a switch are the bandwidth (“speed”) and duplex
settings for each individual switch port. It is critical that the duplex and bandwidth settings
match between the switch port and the connected devices.
There are two types of duplex settings used for communications on an Ethernet network:
• Full-duplex - Both ends of the connection can send and receive simultaneously.
• Half-duplex - Only one end of the connection can send at a time.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 28
Switch Speeds and Forwarding Methods
Auto-MDIX
Connections between devices once required the use of either a crossover or straight-
through cable. The type of cable required depended on the type of interconnecting
devices.
Note: A direct connection between a router and a host requires a cross-over connection.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 29
7.5 Module Practice and Quiz
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 30
Module Practice and Quiz
What did I learn in this module?
• Ethernet operates in the data link layer and the physical layer. Ethernet standards define both
the Layer 2 protocols and the Layer 1 technologies.
• Ethernet uses the LLC and MAC sublayers of the data link layer to operate.
• The Ethernet frame fields are: preamble and start frame delimiter, destination MAC address,
source MAC address, EtherType, data, and FCS.
• MAC addressing provides a method for device identification at the data link layer of the OSI
model.
• An Ethernet MAC address is a 48-bit address expressed using 12 hexadecimal digits, or 6
bytes.
• When a device is forwarding a message to an Ethernet network, the Ethernet header
includes the source and destination MAC addresses. In Ethernet, different MAC addresses
are used for Layer 2 unicast, broadcast, and multicast communications.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 31
Module Practice and Quiz
What did I learn in this module? (Contd.)
• A Layer 2 Ethernet switch makes its forwarding decisions based solely on the Layer 2
Ethernet MAC addresses.
• The switch dynamically builds the MAC address table by examining the source MAC address
of the frames received on a port.
• The switch forwards frames by searching for a match between the destination MAC address
in the frame and an entry in the MAC address table.
• Switches use one of the following forwarding methods for switching data between network
ports: store-and-forward switching or cut-through switching. Two variants of cut-through
switching are fast-forward and fragment-free.
• Two methods of memory buffering are port-based memory and shared memory.
• There are two types of duplex settings used for communications on an Ethernet network: full-
duplex and half-duplex.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 32
Module 7: Ethernet Switching
New Terms and Commands
• Store-and-Forward Switching
• Cut-through Switching
• Fast-Forward Switching
• Fragment-free Switching
• ND (Neighbor Discovery)
• Port-based memory
• Shared memory
• Auto-MDIX
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 33
INFO-1280
Assigned Reading
34
Test #2
Monday March 31st 9-11am (20%)
The actual day/time is your regular lab day/time for that week.
This is not a take home assignment; it is completed in lab on the equipment. 36