Cisco networking CNET-448

Slides:



Advertisements
Similar presentations
Chapter 3: Link Aggregation
Advertisements

© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 2: LAN Redundancy Scaling Networks.
Part 2: Preventing Loops in the Network
Spanning Tree Protocol
Virtual LANs.
Switching & Operations. Address learning Forward/filter decision Loop avoidance Three Switch Functions.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Implement VTP LAN Switching and Wireless – Chapter 4.
Spanning Tree protocol- Chapter 5
© 2009 Cisco Systems, Inc. All rights reserved. SWITCH v1.0—3-1 Implementing Spanning Tree Spanning Tree Protocol Enhancements.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—2-1 Extending Switched Networks with Virtual LANs Configuring VLANs.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—1-1 Configuring Catalyst Switch Operations Introducing Spanning Tree Protocol.
LOGO Local Area Network (LAN) Layer 2 Switching and Virtual LANs (VLANs) Local Area Network (LAN) Layer 2 Switching and Virtual LANs (VLANs) Chapter 6.
Layer 2 Switch  Layer 2 Switching is hardware based.  Uses the host's Media Access Control (MAC) address.  Uses Application Specific Integrated Circuits.
Layer 2 Switching. Overview Introduction Spanning Tree Protocol Spanning Tree Terms Spanning Tree Operations LAN Switch Types Configuring Switches.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 2: LAN Redundancy Scaling Networks.
VLAN Trunking Protocol (VTP) W.lilakiatsakun. VLAN Management Challenge (1) It is not difficult to add new VLAN for a small network.
STP Part II PVST (Per Vlan Spanning Tree): A Vlan field is added to the BPDU header along with Priority & Mac. Priority is 32768, Mac Address is MAC or.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 2: LAN Redundancy Scaling Networks.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Lecture 12: LAN Redundancy Switched Networks Assistant Professor Pongpisit.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 7 Spanning-Tree Protocol Cisco Networking Academy.
CCNA Guide to Cisco Networking Fundamentals Fourth Edition
Saeed Darvish Pazoki – MCSE, CCNA Abstracted From: Cisco Press – ICND 2 – Chapter 2 Spanning tree Protocol 1.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Implement Spanning Tree Protocols LAN Switching and Wireless – Chapter 5 Part.
CN2668 Routers and Switches (V2) Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
Building Cisco Multilayer Switched Networks (BCMSN)
Author: Bill Buchanan. Transparent bridge Author: Bill Buchanan CAM.
Instructor & Todd Lammle
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 LAN Switching and Wireless Implement Spanning Tree Protocols (STP) Chapter.
LOGO Local Area Network (LAN) Layer 2 Switching and Virtual LANs (VLANs) Local Area Network (LAN) Layer 2 Switching and Virtual LANs (VLANs) Chapter 6.
Configuring Cisco Switches Chapter 13 powered by DJ 1.
S7C5 – Spanning Tree Protocol And other topics. Switch Port Aggregation Bundling –Combining 2 to 8 links of FE (Fast Ethernet) or GE (Gigabit) Full duplex.
Spanning Tree V1.2 Slide 1 of 1 Purpose:
STP LAN Redundancy Introduction Network redundancy is a key to maintaining network reliability. Multiple physical links between devices provide redundant.
STP Part II PVST (Per Vlan Spanning Tree): A Vlan field is added to the BPDU header along with Priority & Mac. Priority is 32768, Mac Address is MAC or.
Switching Topic 6 Rapid spanning tree protocol. Agenda RSTP features – Port states – Port roles – BPDU format – Edge ports and link types – Proposals.
Switching Topic 2 VLANs.
1 Version 3.0 Module 7 Spanning Tree Protocol. 2 Version 3.0 Redundancy Redundancy in a network is needed in case there is loss of connectivity in one.
CCNP 3: Chapter 3 Implementing Spanning Tree. Overview Basics of implementing STP Election of Root Bridge and Backup Enhancing STP RSTP MSTP EtherChannels.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Switching in an Enterprise Network Introducing Routing and Switching in the.
Spanning Tree protocol
Chapter 4 Version 1 Virtual LANs. Introduction By default, switches forward broadcasts, this means that all segments connected to a switch are in one.
Topic 5 Spanning tree protocol
CO5023 LAN Redundancy.
Layer-2 Switching and STP
W&L Page 1 CCNA CCNA Training 2.8 Identify enhanced switching technologies Jose Luis Flores / Amel Walkinshaw Aug, 2015.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Implement Spanning Tree Protocols (STP) LAN Switching and Wireless – Chapter.
Chapter-5 STP. Introduction Examine a redundant design In a hierarchical design, redundancy is achieved at the distribution and core layers through additional.
LAN Switching Virtual LANs. Virtual LAN Concepts A LAN includes all devices in the same broadcast domain. A broadcast domain includes the set of all LAN-connected.
Instructor Materials Chapter 2: Scaling VLANs
Instructor Materials Chapter 3: STP
Instructor Materials Chapter 4: EtherChannel and HSRP
Switching and VLANs.
Switching and VLANs.
Spanning Tree Protocol
CIT 384: Network Administration
Spanning Tree Protocols
Configuring EtherChannels and Switch Troubleshooting
Instructor & Todd Lammle
Lecture#10: LAN Redundancy
Configuring Catalyst Switch Operations
Chapter 2: Scaling VLANs
Spanning Tree Protocol
© 2002, Cisco Systems, Inc. All rights reserved.
Spanning Tree Protocol
Hwajung Lee Modified from Slides Courtesy of Cisco Networking Academy
NT2640 Unit 9 Activity 1 Handout
Switching and VLANs.
CCNA Routing and Switching Scaling Networks v6.0
Spanning Tree Protocol (STP)
Chapter 2: Scaling VLANs
Presentation transcript:

Cisco networking CNET-448 Chapter Introduction Cisco networking CNET-448 Chapter 1 Enhanced Switched Technologies Prepared by: Sikandar Shah

Objectives The ICND2 Topics Covered in this chapter include: Chapter Introduction Objectives The ICND2 Topics Covered in this chapter include: LAN Switching Technologies VLAN overview VTP RSTP PVSTP Etherchannels Configure and verify PVSTP operation describe root bridge election spanning tree mode Troubleshooting Troubleshoot and Resolve Spanning Tree operation issues root switch priority port states Troubleshoot etherchannel problems

VLAN OVERVIEW VLAN Configuration To configure VLANs on a Cisco Catalyst switch, use the global config vlan command. S1(config)#vlan 2 S1(config-vlan)#name Sales S1(config-vlan)#vlan 3 S1(config-vlan)#name Marketing You can create VLANs from 1 to 4094. Standard Vlans range 1 to 1005 VLAN 1, 1002, 1003,1004,1005 are reserved. VLAN 1 is called the native vlan. Extended range VLANs 1006-4094 can be created only in VTP transparent mode only. Use command Show vlan and show vlan brief to display vlans.

VLAN Overview Switchport Modes Access: It puts the interface (access port) into permanent nontrunking mode and negotiates to convert the link into a nontrunk link. Dyanmic Auto: The interface passively waits to receive a trunk negotiation message. It Will trunk to neighbor switch only if the remote port is set to trunk(on) or to desirable mode. Dyamic Desirable: The interface actively attempt to convert the link to a trunk link. This will trunk with all port modes except access. Nonegotiate: Prevents the interface from generating DTP frames, it is used when switchport mode is access or trunk. Trunk (on): Puts the interface into permanent trunking mode and negotiates to convert the neighboring link into a trunk link.

VLAN Trunking Protocol (VTP) VLAN OVERVIEW VLAN Trunking Protocol (VTP) VTP allows you to add, delete, and rename VLANs— information that is then propagated to all other switches in the VTP domain. VLANs can be created on switch with VTP server mode only. All servers that need to share VLAN information must use the same domain name. A switch can share VTP domain information with other switches only if they’re configured into the same VTP domain. VTP information is sent between switches only via a trunk port.

VLAN Trunking Protocol (VTP) VLAN OVERVIEW VLAN Trunking Protocol (VTP)

VLAN OVERVIEW VTP Modes of Operation Server : This is the default mode for all Catalyst switches. The switch must be in server mode to be able to create, add, and delete VLANs in a VTP domain. VLAN configurations are saved in NVRAM on the switch. Client : In this mode switches receive information from VTP servers forward updates to other switches. VLAN information sent from a VTP server isn’t stored in NVRAM Transparent: The switch must be in VTP transparent mode to let you create VLAN IDs from 1006 to 4094.

VLAN Trunking Protocol (VTP) VLAN OVERVIEW VLAN Trunking Protocol (VTP)

Spanning-Tree Protocol(STP) The primary objectives of STP is to prevent network loops on layer 2 network bridges or switches. STP monitors the network to track all links and shut down the redundant ones. STP uses the spanning-tree algorithm (STA) to first create a topology Database and then search out and Disable Redundant links. With STP running, frames will be forwarded on only premium, STP-chosen links. The default IEEE version of STP is 802.1d.

A switched network with switching loops Switching loops can cause broadcast storms, multiple frame copies, and MAC table thrashing!

Switch network with redundant Links STP Working Mechanism Switch network with redundant Links A Switched network after convergence

Spanning Tree Terms STP Explanation Root Bridge: Switch with the lowest bridge ID becomes the root bridge. It is the focal point in the network, all decision are made from root bridge perspective. Bridge ID: It is used to keep track of all switches in the network. It is determined by a combination of the bridge priority and MAC address. Non root Bridges: Non-root bridges exchange BPDUs with all bridges and update STP topology database. Port Cost: The cost of a link is determined by its bandwidth.

Spanning Tree Terms STP Explanation Path Cost: Path cost is the sum of the various port costs to the root bridge. BPDU: These are data messages exchanged between the switches containing information about ports, costs, priorities and bridge ID. Convergence: Convergence occurs when all ports on bridges and switches have transitioned to either forwarding Or blocking modes. No data will be forwarded until convergence is complete. The original STP (802.1d) takes 50 seconds to go from blocking to forwarding mode by default.

Spanning Tree algorithm Bridge Port Roles Root Port: The port with the best path to the root bridge is called the root port. Every non-root bridge must have a root port. All root ports are placed in forwarding state. Designated Port: A designated port is one that’s been determined to have the best (lowest) cost to get to on a given network segment. Non-designated Port: This is the link with highest cost and kept blocked. Forwarding Port: It forwards frames and can be either a root port or a designated port. Blocked Port: It can only receive BPDU frames from other switches. Alternate port: This corresponds to the blocking state of 802.1d, and is a term used with the newer 802.1w (RSTP). Backup Port: It is connected on a LAN segment with another port on that switch is acting the designated port.

Spanning Tree algorithm Bridge Port Roles

Spanning-Tree Port States IEEE 802.1d STP Spanning-Tree Port States Disabled: It is non-operational state. Blocking : Port in this state will not forward frames, just listens to BPDUs. Listening: A port in the listening state prepares to forward data frames without populating the MAC address table. Learning: A port in learning state populates the MAC address table but still doesn’t forward data frames. Forwarding: If the port is still a designated or root port at the end of the learning state, it enters the forwarding state.

Link costs for 802.1d Standard IEEE 802.1d STP Link costs for 802.1d Standard Port cost is based on the speed of the link. Link speed Cost 10,000=10 Gb/s 2 1000 = 1 Gb/s 4 100 Mb/s 19 10 Mb/s 100

Root Bridge and Root Port determination # 1 STP operations Root Bridge and Root Port determination # 1

Root Bridge and Root Port determination STP operations Root Bridge and Root Port determination Which bridge is the root bridge? ________ The root port for SW-D. ________ The root port for SW-B _________ The root port for SW-A _________ Blocked Ports _________________ Designated Ports _______________

Root Bridge and Root Port determination # 2 STP operations Root Bridge and Root Port determination # 2

RSTP Configuration commands Sw(config) # spanning-tree mode rapid-pvst SW# show spanning-tree SW# show mac address-table

Types of Spanning-tree Protocols STP Configuration Types of Spanning-tree Protocols IEEE 802.1d: The original standard for bridging and STP. It’s also referred to as Common Spanning Tree (CST). PVST+ (Per VLAN Spanning Tree +): The Cisco proprietary enhancement for STP that provides a separate 802.1d spanning-tree instance for each VLAN. It can have multiple root bridges. IEEE 802.1w: Also called Rapid Spanning Tree Protocol (RSTP), paved the way for much faster network convergence. Rapid PVST+: Cisco’s version of RSTP that also uses PVST+ and provides a separate instance of 802.1w per VLAN. 802.1s (MSTP) : It is known as IEEE 802.ls. It reduces the number of required STP instances by allowing us to map multiple VLANs. It essentially allows us to create VLAN sets.

STP & RSTP Ports states comparison 802.1d & 802.1w STP & RSTP Ports states comparison 802.1d state 802.1w state Disabled Discarding Blocking Listening Learning Forwarding

Spanning-tree Failure Consequences STP Troubleshooting Spanning-tree Failure Consequences The list of the problems that will occur in a failed STP network. The load on all links begins increasing and more and more frames enter the loop. Traffic will increase on the switches because all the circling frames actually get duplicated. The MAC address table is now completely unstable. The device becomes unresponsive.

Network Optimization PortFast We can use PortFast on the ports on S1 to help them transition to the STP forwarding state immediately upon connecting to the switch. ports will transition from blocking to forwarding state immediately. S1(config)#spanning-tree portfast default S1(config-if)#spanning-tree portfast

Network Optimization BPDU Gaurd BPDU Guard is used for switch ports for which PortFast is enabled. This is because if a switch port that has PortFast enabled receives a BPDU on that port, it will place the port into error disabled (shutdown) state. S1(config)# spanning-tree portfast bpduguard default On an interface: S1(config-if)#spanning-tree bpduguard enable

EtherChannel (Port Channel) Port Channelling EtherChannel (Port Channel) Etherchannel bundles together multiple links between switches by using port channelling. EtherChannel is Cisco’s proprietary term for port channelling. It groups several Fast Ethernet or Gigabit Ethernet ports into one logical channel. Layer 2 STP and layer 3 routing protocols treat those bundled links as a single one. There are two version of port channel negotiation protocols. Port Aggregation Protocol (PAgP): Cisco’s proprietary protocol Link Aggregation Control Protocol (LACP): IEEE 802.3ad standard protocol Cisco EtherChannel allows us to bundle up to 8 FastEthernet or two gigabit ports active between switches. The links must have the same speed, duplex setting, and VLAN configuration.

Further Study Links STUDY RESOUCES http://www.enterprisenetworkingplanet.com/netsp/article.php/3580966/Networkin g-101-Understanding-Spanning-Tree.htm https://www.youtube.com/watch?v=qBYYzagMS8k http://www.informit.com/library/content.aspx?b=CCNP_Studies_Switching&seqN um=29 http://www.9tut.com/rapid-spanning-tree-protocol-rstp-tutorial