5
Most read
12
Most read
15
Most read
Cisco Public
SWITCH v7 Chapter 1
1© 2007 – 2016, Cisco Systems, Inc. All rights reserved.
Chapter 1:
Fundamentals Review
CCNP SWITCH: Implementing Cisco IP Switched Networks
Chapter 1
2© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public
Chapter 1 Objectives
This chapter covers the following basic switching topics as a review
to CCNA and serves as a teaser for topics covered later in chapter:
ď‚§ Hubs and switches
ď‚§ Bridges and switches
ď‚§ Switches of today
ď‚§ Broadcast domains
ď‚§ MAC addresses
ď‚§ The basic Ethernet frame format
ď‚§ Basic switching function
ď‚§ VLANs
ď‚§ The Spanning Tree Protocol
ď‚§ Trunking
ď‚§ Port channels
ď‚§ Multilayer switching (MLS)
Chapter 1
3© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public
Fundamentals
Review
Chapter 1
4© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public
Hubs and Switches
ď‚§ Hubs are archaic, and the terminology should be avoided. Even
the simplest multiport Ethernet devices for the home are
switches.
ď‚§ In review, hubs died off as a product because they are shared-
bandwidth devices.
ď‚§ Switches introduced dedicated bandwidth. A hub allows multiple
devices to be connected to the same network segment. The
devices on that segment share the bandwidth with each other.
ď‚§ A switch allows multiple devices to be connected to the same
network, just like a hub does, but this is where the similarity ends.
ď‚§ A switch allows each connected device to have dedicated
bandwidth instead of shared bandwidth.
ď‚§ Switches also support additional capabilities beyond what hubs
support.
Chapter 1
5© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public
Bridges and Switches
ď‚§ A basic switch is considered a Layer 2 device. When we use the
word layer , we are referring to the seven-layer OSI reference
model.
ď‚§ A switch does not just pass electrical signals along, like a hub
does; instead, it assembles the signals into a frame (Layer 2),
and then decides what to do with the frame.
ď‚§ A switch determines what to do with a frame by borrowing an
algorithm from a previously common networking device: a
transparent bridge.
ď‚§ Logically, a switch acts just like a transparent bridge would, but it
can handle frames much faster than a transparent bridge could
ď‚§ Once a switch decides where the frame should be sent, it passes
the frame out the appropriate port (or ports). You can think of a
switch as a device creating instantaneous connections between
various ports, on a frame-by-frame basis.
Chapter 1
6© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public
Switches of Today
Today’s switches have evolved beyond just switching frames. Most modern switches
can actually route traffic. In addition, switches can prioritize traffic, support no
downtime through redundancy, and provide convergence services around IP telephony
and wireless networks.
ď‚§ Application intelligence
• This helps networks recognize many types of applications and secure and prioritize those
applications to provide the best user experience.
ď‚§ Unified network services
• Combining the best elements of wireless and wired networking allows you to consistently connect to
any resource or person with any device. 10 Gigabit Ethernet technology and Power over Ethernet
(PoE) technology support new applications and devices.
ď‚§ Nonstop communications
• Features such as redundant hardware, and nonstop forwarding and stateful switchover (NSF/SSO)
technology support more-reliable connections.
ď‚§ Integrated security
• LAN switches provide the first line of defense against internal network attacks and prevent
unauthorized intrusion.
ď‚§ Operational manageability
• To more easily manage the network, IT staff must be able to remotely configure and monitor network
devices from a central location.
Chapter 1
7© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public
Broadcast Domains
ď‚§ A broadcast domain is a set of network devices that receive
broadcast frames originating from any device within the
group.
ď‚§ Routers typically bound broadcast domains because routers
do not forward broadcast frames.
ď‚§ VLANs are an example of broadcast domain.
ď‚§ Broadcast domains are generally limited to a specific Layer
2 segment that contains a single IP subnet.
Chapter 1
8© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public
MAC Addresses
ď‚§ MAC addresses are standardized data link layer addresses
that are required for every port or device that connects to a
LAN.
ď‚§ Other devices in the network use these addresses to locate
specific ports in the network and to create and update
routing tables and data structures.
ď‚§ MAC addresses are 6 bytes long and are controlled by the
IEEE.
Chapter 1
9© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public
The Basic Ethernet Frame Format
Chapter 1
10© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public
The Basic Ethernet Frame Format
ď‚§ Preamble (PRE)
• Consists of 7 bytes. The PRE is an alternating pattern of 1s and 0s
that tells receiving stations that a frame is coming, and that provides a
means of synchronization
ď‚§ Start-of-frame delimiter (SOF)
• Consists of 1 byte. The SOF is an alternating pattern of 1s and 0s,
ending with two consecutive 1 bits, indicating that the next bit is the
leftmost bit in the leftmost byte of the destination address.
ď‚§ Destination address (DA)
• Consists of 6 bytes. The DA field identifies which station(s) should
receive the frame.
ď‚§ Source addresses (SA)
• Consists of 6 bytes. The SA field identifies the sending station.
Chapter 1
11© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public
The Basic Ethernet Frame Format
ď‚§ Length/Type
• Consists of 2 bytes. This field indicates either the number of MAC-
client data bytes that are contained in the data field of the frame, or
the frame type ID if the frame is assembled using an optional format.
ď‚§ Data
• Is a sequence of n bytes of any value, where n is less than or equal to
1500.
• Note that jumbo frames up to 9000 bytes are supported on the
current-generation Cisco Catalyst switches.
ď‚§ Frame check sequence (FCS)
• Consists of 4 bytes. This sequence contains a 32-bit cyclic
redundancy check (CRC) value, which is created by the sending MAC
and is recalculated by the receiving MAC to check for damaged
frames. The FCS is generated over the DA, SA, Length/Type, and
Data fields.
Chapter 1
12© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public
Basic Switching Function
ď‚§ In brief, the basic switching function at Layer 2 adheres to these
rules for determining forwarding responsibility:
• If the destination MAC address is found in the CAM table, the switch
sends the frame out the port that is associated with that destination MAC
address in the CAM table. This process is called forwarding .
• If the associated port to send the frame out is the same port that the
frame originally came in on, there is no need to send the frame back out
that same port, and the frame is ignored. This process is called filtering .
• If the destination MAC address is not in the CAM table (that is, unknown
unicast), the switch sends the frame out all other ports that are in the
same VLAN as the received frame. This is called flooding . It does not
flood the frame out the same port on which the frame was received.
• If the destination MAC address of the received frame is the broadcast
address (FFFF.FFFF.FFFF), the frame is sent out all ports that are in the
same VLAN as the received frame. This is also called flooding .
Chapter 1
13© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public
VLANs
ď‚§ Because the switch decides on a frame-by-frame basis which
ports exchange data, it is a natural extension to put logic inside
the switch to allow it to choose ports for special groupings. This
grouping of ports is called a virtual local-area network (VLAN).
ď‚§ The switch makes sure that traffic from one group of ports never
gets sent to other groups of ports (which would be routing).
ď‚§ These port groups (VLANs) can each be considered an individual
LAN segment.
ď‚§ VLANs are also described as broadcast domains. This is
because of the transparent bridging algorithm, which says that
broadcast packets (packets destined for the all devices address)
be sent out all ports that are in the same group (that is, in the
same VLAN).
ď‚§ All ports that are in the same VLAN are also in the same
broadcast domain.
Chapter 1
14© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public
The Spanning Tree Protocol
ď‚§ As discussed previously, the switch forwarding algorithm floods unknown and
broadcast frames out of all the ports that are in the same VLAN as the received
frame. This causes a potential problem. If the network devices that run this algorithm
are connected together in a physical loop, flooded frames (like broadcasts) are
passed from switch to switch, around and around the loop, forever.
ď‚§ There is a benefit to a physical loop in your network: It can provide redundancy. If
one link fails, there is still another way for the traffic to reach its destination. To allow
the benefits derived from redundancy, without breaking the network because of
flooding, a protocol called the Spanning Tree Protocol (STP) was created.
ď‚§ Spanning tree was standardized in the IEEE 802.1D specification.
ď‚§ The purpose of STP is to identify and temporarily block the loops in a network
segment or VLAN. The switches run STP, which involves electing a root bridge or
switch.
ď‚§ The other switches measure their distance from the root switch. If there is more than
one way to get to the root switch, there is a loop. The switches follow the algorithm
to determine which ports must be blocked to break the loop.
ď‚§ STP is dynamic; if a link in the segment fails, ports that were originally blocking can
possibly be changed to forwarding mode.
Chapter 1
15© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public
Trunking
ď‚§ Trunking is a mechanism that is most often used to allow multiple
VLANs to function independently across multiple switches.
ď‚§ Routers and servers can use trunking, as well, which allows them to live
simultaneously on multiple VLANs.
ď‚§ If your network only has one VLAN in it, you might never need trunking;
but if your network has more than one VLAN, you probably want to take
advantage of the benefits of trunking.
ď‚§ A port on a switch normally belongs to only one VLAN; any traffic
received or sent on this port is assumed to belong to the configured
VLAN.
ď‚§ A trunk port, however, is a port that can be configured to send and
receive traffic for many VLANs.
ď‚§ It accomplishes this when it attaches VLAN information to each frame, a
process called tagging the frame.
ď‚§ Also, trunking must be active on both sides of the link; the other side
must expect frames that include VLAN information for proper
communication to occur.
Chapter 1
16© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public
Port Channels
ď‚§ Utilizing port channels (EtherChannels) is a technique that
is used when you have multiple connections to the “same
device”.
ď‚§ Rather than each link functioning independently, port
channels group the ports together to work as one unit. Port
channels distribute traffic across all the links and provide
redundancy if one or more links fail.
ď‚§ Port channel settings must be the same on both sides of the
links involved in the channel.
ď‚§ Normally, spanning tree would block all of these parallel
connections between devices because they are loops, but
port channels run underneath spanning tree, so that
spanning tree thinks all the ports within a given port channel
are only a single port.
Chapter 1
17© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public
Multilayer Switching
ď‚§ Multilayer switching (MLS) is the ability of a switch to
forward frames based on information in the Layer 3 and
sometimes Layer 4 header. Almost all Cisco Catalyst
switches model 3500 or later support MLS. MLS is
becoming a legacy term due to the wide support.
ď‚§ The most important aspect to MLS is recognizing that
switches can route or switch frames at wire-rate speeds
using specialized hardware. This effectively bundles the
routing function into the switch and is specifically useful for
routing between VLANs in the core of the network.
Chapter 1
18© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public
Chapter 1 Summary
ď‚§ Hubs and switches
ď‚§ Bridges and switches
ď‚§ Switches of today
ď‚§ Broadcast domains
ď‚§ MAC addresses
ď‚§ The basic Ethernet frame format
ď‚§ Basic switching function
ď‚§ VLANs
ď‚§ The Spanning Tree Protocol
ď‚§ Trunking
ď‚§ Port channels
ď‚§ Multilayer switching (MLS)
Chapter 1
19© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public
ď‚§ CCNPv7.1 SWITCH Lab1 BASELINE STUDENT
Chapter 1 Labs
Chapter 1
20© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public
Chapter 1
21© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public
Acknowledgment
• Some of the images and texts are from Implementing Cisco IP Switched
Networks (SWITCH) Foundation Learning Guide: (CCNP SWITCH 300-115) by
Richard Froom and Erum Frahim (1587206641)
• Copyright © 2015 – 2016 Cisco Systems, Inc.
• Special Thanks to Bruno Silva

More Related Content

PPTX
Guided And Unguided Media
PPTX
CCNP ROUTE V7 CH4
PPTX
PDF
CCNP-and-CCIE-Enterprise-Core-350-401.pdf
PPTX
CCNP v6 Route: Implementing IP Routing Chapter 3
PPTX
CCNA 2 Routing and Switching v5.0 Chapter 1
PPTX
Airheads Tech Talks: Advanced Clustering in AOS 8.x
PPTX
Bgp protocol
Guided And Unguided Media
CCNP ROUTE V7 CH4
CCNP-and-CCIE-Enterprise-Core-350-401.pdf
CCNP v6 Route: Implementing IP Routing Chapter 3
CCNA 2 Routing and Switching v5.0 Chapter 1
Airheads Tech Talks: Advanced Clustering in AOS 8.x
Bgp protocol

What's hot (20)

PPTX
CCNP ROUTE V7 CH1
PPTX
CCNP Switching Chapter 4
PPT
Vlan
PPT
CCNA Basic Switching and Switch Configuration
PPT
Spanning tree protocol
 
PPTX
Link Aggregation Control Protocol
PPTX
CCNA Course Training Presentation
PDF
Ospf.ppt
PPTX
Cisco-Protocolos de Enrutamiento
PPTX
ccna networking ppt
PDF
Ccna rse chp6 VLAN
PPTX
Spanning tree protocol
PPTX
PPT
CCNA PPT
PPTX
CCNP ROUTE V7 CH5
PPTX
OSPF Basics
PDF
Cisco Live! :: Cisco ASR 9000 Architecture :: BRKARC-2003 | Las Vegas 2017
PPT
CCNA presentation.
PPTX
CCNA ppt
DOCX
How to configure vlan, stp, dtp step by step guide
CCNP ROUTE V7 CH1
CCNP Switching Chapter 4
Vlan
CCNA Basic Switching and Switch Configuration
Spanning tree protocol
 
Link Aggregation Control Protocol
CCNA Course Training Presentation
Ospf.ppt
Cisco-Protocolos de Enrutamiento
ccna networking ppt
Ccna rse chp6 VLAN
Spanning tree protocol
CCNA PPT
CCNP ROUTE V7 CH5
OSPF Basics
Cisco Live! :: Cisco ASR 9000 Architecture :: BRKARC-2003 | Las Vegas 2017
CCNA presentation.
CCNA ppt
How to configure vlan, stp, dtp step by step guide
Ad

Similar to CCNP Switching Chapter 1 (20)

PPTX
SRWE_Mod-5.pptxZXcvgbhjkiolp;'[]\';l,kmjnhbgvfcdxszaAZSXDcfvgbhnjmk,.
PPTX
CCNP Switching Chapter 3
PPTX
5 IEEE standards
PPTX
CCNA_RSE_Chp4 - Switched Networks for CCNA
PPT
CCNA 1
PPTX
SRWE_Module_5-STP Concepts.pptx
PDF
Imperfection_Is_Beautiful.111_2016_04_13_19_07_54_722
PPTX
Westermo webinar: Learning the Basics of Ethernet Networking
PPT
EOS Principle and description in SDH 37p.ppt
PPTX
The Basics of Industrial Ethernet Communications
PPTX
ENCOR_Capitulo 1.pptx
PPTX
UNIT - IV - MAC SUB LAYER AND NETWORK LAYER (2).pptx
PPTX
CCNA_RSE_Chp4.pptx
PPTX
Switching
PPTX
Switching
PPT
CCNA Advanced Switching
PPT
Switching vla ns_secugenius_harksh_mikemclain_secugenius security solutions
PPTX
Encor chapter 1_packet forwarding
PPT
IEEE Standards
PPTX
Advanced Network Chapter I: Which is very best lecture note
SRWE_Mod-5.pptxZXcvgbhjkiolp;'[]\';l,kmjnhbgvfcdxszaAZSXDcfvgbhnjmk,.
CCNP Switching Chapter 3
5 IEEE standards
CCNA_RSE_Chp4 - Switched Networks for CCNA
CCNA 1
SRWE_Module_5-STP Concepts.pptx
Imperfection_Is_Beautiful.111_2016_04_13_19_07_54_722
Westermo webinar: Learning the Basics of Ethernet Networking
EOS Principle and description in SDH 37p.ppt
The Basics of Industrial Ethernet Communications
ENCOR_Capitulo 1.pptx
UNIT - IV - MAC SUB LAYER AND NETWORK LAYER (2).pptx
CCNA_RSE_Chp4.pptx
Switching
Switching
CCNA Advanced Switching
Switching vla ns_secugenius_harksh_mikemclain_secugenius security solutions
Encor chapter 1_packet forwarding
IEEE Standards
Advanced Network Chapter I: Which is very best lecture note
Ad

More from Chaing Ravuth (20)

PPTX
CCNP ROUTE V7 CH8
PPTX
CCNP ROUTE V7 CH7
PPTX
CCNP ROUTE V7 CH6
PPTX
CCNP ROUTE V7 CH3
PPTX
CCNP ROUTE V7 CH2
PPTX
CCNP Switching Chapter 2
PPTX
CCNP Switching Chapter 10
PPTX
CCNP Switching Chapter 9
PPTX
CCNP Switching Chapter 8
PPTX
CCNP Switching Chapter 7
PPTX
CCNP Switching Chapter 6
PPTX
CCNP Switching Chapter 5
PPTX
CCNA4 Verson6 Chapter1
PPTX
CCNA4 Verson6 Chapter8
PPTX
CCNA4 Verson6 Chapter7
PPTX
CCNA4 Verson6 Chapter6
PPTX
CCNA4 Verson6 Chapter5
PPTX
CCNA4 Verson6 Chapter4
PPTX
CCNA4 Verson6 Chapter3
PPTX
CCNA4 Verson6 Chapter2
CCNP ROUTE V7 CH8
CCNP ROUTE V7 CH7
CCNP ROUTE V7 CH6
CCNP ROUTE V7 CH3
CCNP ROUTE V7 CH2
CCNP Switching Chapter 2
CCNP Switching Chapter 10
CCNP Switching Chapter 9
CCNP Switching Chapter 8
CCNP Switching Chapter 7
CCNP Switching Chapter 6
CCNP Switching Chapter 5
CCNA4 Verson6 Chapter1
CCNA4 Verson6 Chapter8
CCNA4 Verson6 Chapter7
CCNA4 Verson6 Chapter6
CCNA4 Verson6 Chapter5
CCNA4 Verson6 Chapter4
CCNA4 Verson6 Chapter3
CCNA4 Verson6 Chapter2

Recently uploaded (20)

PDF
1.Salivary gland disease.pdf 3.Bleeding and Clotting Disorders.pdf important
PDF
Environmental Education MCQ BD2EE - Share Source.pdf
PDF
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
PPTX
Macbeth play - analysis .pptx english lit
PDF
LEARNERS WITH ADDITIONAL NEEDS ProfEd Topic
PDF
Comprehensive Lecture on the Appendix.pdf
PDF
Journal of Dental Science - UDMY (2020).pdf
PDF
Civil Department's presentation Your score increases as you pick a category
PPTX
Education and Perspectives of Education.pptx
PDF
Nurlina - Urban Planner Portfolio (english ver)
PDF
LIFE & LIVING TRILOGY- PART (1) WHO ARE WE.pdf
PPTX
Module on health assessment of CHN. pptx
PDF
Myanmar Dental Journal, The Journal of the Myanmar Dental Association (2015).pdf
PDF
Journal of Dental Science - UDMY (2021).pdf
PDF
semiconductor packaging in vlsi design fab
PPTX
UNIT_2-__LIPIDS[1].pptx.................
PDF
0520_Scheme_of_Work_(for_examination_from_2021).pdf
PDF
MA in English at Shiv Nadar University – Advanced Literature, Language & Rese...
PDF
The TKT Course. Modules 1, 2, 3.for self study
PDF
International_Financial_Reporting_Standa.pdf
1.Salivary gland disease.pdf 3.Bleeding and Clotting Disorders.pdf important
Environmental Education MCQ BD2EE - Share Source.pdf
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
Macbeth play - analysis .pptx english lit
LEARNERS WITH ADDITIONAL NEEDS ProfEd Topic
Comprehensive Lecture on the Appendix.pdf
Journal of Dental Science - UDMY (2020).pdf
Civil Department's presentation Your score increases as you pick a category
Education and Perspectives of Education.pptx
Nurlina - Urban Planner Portfolio (english ver)
LIFE & LIVING TRILOGY- PART (1) WHO ARE WE.pdf
Module on health assessment of CHN. pptx
Myanmar Dental Journal, The Journal of the Myanmar Dental Association (2015).pdf
Journal of Dental Science - UDMY (2021).pdf
semiconductor packaging in vlsi design fab
UNIT_2-__LIPIDS[1].pptx.................
0520_Scheme_of_Work_(for_examination_from_2021).pdf
MA in English at Shiv Nadar University – Advanced Literature, Language & Rese...
The TKT Course. Modules 1, 2, 3.for self study
International_Financial_Reporting_Standa.pdf

CCNP Switching Chapter 1

  • 1. Cisco Public SWITCH v7 Chapter 1 1© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Chapter 1: Fundamentals Review CCNP SWITCH: Implementing Cisco IP Switched Networks
  • 2. Chapter 1 2© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public Chapter 1 Objectives This chapter covers the following basic switching topics as a review to CCNA and serves as a teaser for topics covered later in chapter: ď‚§ Hubs and switches ď‚§ Bridges and switches ď‚§ Switches of today ď‚§ Broadcast domains ď‚§ MAC addresses ď‚§ The basic Ethernet frame format ď‚§ Basic switching function ď‚§ VLANs ď‚§ The Spanning Tree Protocol ď‚§ Trunking ď‚§ Port channels ď‚§ Multilayer switching (MLS)
  • 3. Chapter 1 3© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public Fundamentals Review
  • 4. Chapter 1 4© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public Hubs and Switches ď‚§ Hubs are archaic, and the terminology should be avoided. Even the simplest multiport Ethernet devices for the home are switches. ď‚§ In review, hubs died off as a product because they are shared- bandwidth devices. ď‚§ Switches introduced dedicated bandwidth. A hub allows multiple devices to be connected to the same network segment. The devices on that segment share the bandwidth with each other. ď‚§ A switch allows multiple devices to be connected to the same network, just like a hub does, but this is where the similarity ends. ď‚§ A switch allows each connected device to have dedicated bandwidth instead of shared bandwidth. ď‚§ Switches also support additional capabilities beyond what hubs support.
  • 5. Chapter 1 5© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public Bridges and Switches ď‚§ A basic switch is considered a Layer 2 device. When we use the word layer , we are referring to the seven-layer OSI reference model. ď‚§ A switch does not just pass electrical signals along, like a hub does; instead, it assembles the signals into a frame (Layer 2), and then decides what to do with the frame. ď‚§ A switch determines what to do with a frame by borrowing an algorithm from a previously common networking device: a transparent bridge. ď‚§ Logically, a switch acts just like a transparent bridge would, but it can handle frames much faster than a transparent bridge could ď‚§ Once a switch decides where the frame should be sent, it passes the frame out the appropriate port (or ports). You can think of a switch as a device creating instantaneous connections between various ports, on a frame-by-frame basis.
  • 6. Chapter 1 6© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public Switches of Today Today’s switches have evolved beyond just switching frames. Most modern switches can actually route traffic. In addition, switches can prioritize traffic, support no downtime through redundancy, and provide convergence services around IP telephony and wireless networks. ď‚§ Application intelligence • This helps networks recognize many types of applications and secure and prioritize those applications to provide the best user experience. ď‚§ Unified network services • Combining the best elements of wireless and wired networking allows you to consistently connect to any resource or person with any device. 10 Gigabit Ethernet technology and Power over Ethernet (PoE) technology support new applications and devices. ď‚§ Nonstop communications • Features such as redundant hardware, and nonstop forwarding and stateful switchover (NSF/SSO) technology support more-reliable connections. ď‚§ Integrated security • LAN switches provide the first line of defense against internal network attacks and prevent unauthorized intrusion. ď‚§ Operational manageability • To more easily manage the network, IT staff must be able to remotely configure and monitor network devices from a central location.
  • 7. Chapter 1 7© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public Broadcast Domains ď‚§ A broadcast domain is a set of network devices that receive broadcast frames originating from any device within the group. ď‚§ Routers typically bound broadcast domains because routers do not forward broadcast frames. ď‚§ VLANs are an example of broadcast domain. ď‚§ Broadcast domains are generally limited to a specific Layer 2 segment that contains a single IP subnet.
  • 8. Chapter 1 8© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public MAC Addresses ď‚§ MAC addresses are standardized data link layer addresses that are required for every port or device that connects to a LAN. ď‚§ Other devices in the network use these addresses to locate specific ports in the network and to create and update routing tables and data structures. ď‚§ MAC addresses are 6 bytes long and are controlled by the IEEE.
  • 9. Chapter 1 9© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public The Basic Ethernet Frame Format
  • 10. Chapter 1 10© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public The Basic Ethernet Frame Format ď‚§ Preamble (PRE) • Consists of 7 bytes. The PRE is an alternating pattern of 1s and 0s that tells receiving stations that a frame is coming, and that provides a means of synchronization ď‚§ Start-of-frame delimiter (SOF) • Consists of 1 byte. The SOF is an alternating pattern of 1s and 0s, ending with two consecutive 1 bits, indicating that the next bit is the leftmost bit in the leftmost byte of the destination address. ď‚§ Destination address (DA) • Consists of 6 bytes. The DA field identifies which station(s) should receive the frame. ď‚§ Source addresses (SA) • Consists of 6 bytes. The SA field identifies the sending station.
  • 11. Chapter 1 11© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public The Basic Ethernet Frame Format ď‚§ Length/Type • Consists of 2 bytes. This field indicates either the number of MAC- client data bytes that are contained in the data field of the frame, or the frame type ID if the frame is assembled using an optional format. ď‚§ Data • Is a sequence of n bytes of any value, where n is less than or equal to 1500. • Note that jumbo frames up to 9000 bytes are supported on the current-generation Cisco Catalyst switches. ď‚§ Frame check sequence (FCS) • Consists of 4 bytes. This sequence contains a 32-bit cyclic redundancy check (CRC) value, which is created by the sending MAC and is recalculated by the receiving MAC to check for damaged frames. The FCS is generated over the DA, SA, Length/Type, and Data fields.
  • 12. Chapter 1 12© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public Basic Switching Function ď‚§ In brief, the basic switching function at Layer 2 adheres to these rules for determining forwarding responsibility: • If the destination MAC address is found in the CAM table, the switch sends the frame out the port that is associated with that destination MAC address in the CAM table. This process is called forwarding . • If the associated port to send the frame out is the same port that the frame originally came in on, there is no need to send the frame back out that same port, and the frame is ignored. This process is called filtering . • If the destination MAC address is not in the CAM table (that is, unknown unicast), the switch sends the frame out all other ports that are in the same VLAN as the received frame. This is called flooding . It does not flood the frame out the same port on which the frame was received. • If the destination MAC address of the received frame is the broadcast address (FFFF.FFFF.FFFF), the frame is sent out all ports that are in the same VLAN as the received frame. This is also called flooding .
  • 13. Chapter 1 13© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public VLANs ď‚§ Because the switch decides on a frame-by-frame basis which ports exchange data, it is a natural extension to put logic inside the switch to allow it to choose ports for special groupings. This grouping of ports is called a virtual local-area network (VLAN). ď‚§ The switch makes sure that traffic from one group of ports never gets sent to other groups of ports (which would be routing). ď‚§ These port groups (VLANs) can each be considered an individual LAN segment. ď‚§ VLANs are also described as broadcast domains. This is because of the transparent bridging algorithm, which says that broadcast packets (packets destined for the all devices address) be sent out all ports that are in the same group (that is, in the same VLAN). ď‚§ All ports that are in the same VLAN are also in the same broadcast domain.
  • 14. Chapter 1 14© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public The Spanning Tree Protocol ď‚§ As discussed previously, the switch forwarding algorithm floods unknown and broadcast frames out of all the ports that are in the same VLAN as the received frame. This causes a potential problem. If the network devices that run this algorithm are connected together in a physical loop, flooded frames (like broadcasts) are passed from switch to switch, around and around the loop, forever. ď‚§ There is a benefit to a physical loop in your network: It can provide redundancy. If one link fails, there is still another way for the traffic to reach its destination. To allow the benefits derived from redundancy, without breaking the network because of flooding, a protocol called the Spanning Tree Protocol (STP) was created. ď‚§ Spanning tree was standardized in the IEEE 802.1D specification. ď‚§ The purpose of STP is to identify and temporarily block the loops in a network segment or VLAN. The switches run STP, which involves electing a root bridge or switch. ď‚§ The other switches measure their distance from the root switch. If there is more than one way to get to the root switch, there is a loop. The switches follow the algorithm to determine which ports must be blocked to break the loop. ď‚§ STP is dynamic; if a link in the segment fails, ports that were originally blocking can possibly be changed to forwarding mode.
  • 15. Chapter 1 15© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public Trunking ď‚§ Trunking is a mechanism that is most often used to allow multiple VLANs to function independently across multiple switches. ď‚§ Routers and servers can use trunking, as well, which allows them to live simultaneously on multiple VLANs. ď‚§ If your network only has one VLAN in it, you might never need trunking; but if your network has more than one VLAN, you probably want to take advantage of the benefits of trunking. ď‚§ A port on a switch normally belongs to only one VLAN; any traffic received or sent on this port is assumed to belong to the configured VLAN. ď‚§ A trunk port, however, is a port that can be configured to send and receive traffic for many VLANs. ď‚§ It accomplishes this when it attaches VLAN information to each frame, a process called tagging the frame. ď‚§ Also, trunking must be active on both sides of the link; the other side must expect frames that include VLAN information for proper communication to occur.
  • 16. Chapter 1 16© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public Port Channels ď‚§ Utilizing port channels (EtherChannels) is a technique that is used when you have multiple connections to the “same device”. ď‚§ Rather than each link functioning independently, port channels group the ports together to work as one unit. Port channels distribute traffic across all the links and provide redundancy if one or more links fail. ď‚§ Port channel settings must be the same on both sides of the links involved in the channel. ď‚§ Normally, spanning tree would block all of these parallel connections between devices because they are loops, but port channels run underneath spanning tree, so that spanning tree thinks all the ports within a given port channel are only a single port.
  • 17. Chapter 1 17© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public Multilayer Switching ď‚§ Multilayer switching (MLS) is the ability of a switch to forward frames based on information in the Layer 3 and sometimes Layer 4 header. Almost all Cisco Catalyst switches model 3500 or later support MLS. MLS is becoming a legacy term due to the wide support. ď‚§ The most important aspect to MLS is recognizing that switches can route or switch frames at wire-rate speeds using specialized hardware. This effectively bundles the routing function into the switch and is specifically useful for routing between VLANs in the core of the network.
  • 18. Chapter 1 18© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public Chapter 1 Summary ď‚§ Hubs and switches ď‚§ Bridges and switches ď‚§ Switches of today ď‚§ Broadcast domains ď‚§ MAC addresses ď‚§ The basic Ethernet frame format ď‚§ Basic switching function ď‚§ VLANs ď‚§ The Spanning Tree Protocol ď‚§ Trunking ď‚§ Port channels ď‚§ Multilayer switching (MLS)
  • 19. Chapter 1 19© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public ď‚§ CCNPv7.1 SWITCH Lab1 BASELINE STUDENT Chapter 1 Labs
  • 20. Chapter 1 20© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public
  • 21. Chapter 1 21© 2007 – 2016, Cisco Systems, Inc. All rights reserved. Cisco Public Acknowledgment • Some of the images and texts are from Implementing Cisco IP Switched Networks (SWITCH) Foundation Learning Guide: (CCNP SWITCH 300-115) by Richard Froom and Erum Frahim (1587206641) • Copyright © 2015 – 2016 Cisco Systems, Inc. • Special Thanks to Bruno Silva