Implementing Spanning Tree

Slides:



Advertisements
Similar presentations
Virtual Trunk Protocol
Advertisements

Ethernet Switch Features Important to EtherNet/IP
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 3: VLANs Routing & Switching.
Chapter 3: Link Aggregation
Virtual LANs.
Switching Topic 4 Inter-VLAN routing. Agenda Routing process Routing VLANs – Traditional model – Router-on-a-stick – Multilayer switches EtherChannel.
Cisco 3 - Switch Perrine. J Page 15/8/2015 Chapter 8 What happens to the member ports of a VLAN when the VLAN is deleted? 1.They become inactive. 2.They.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 3: VLANs Routing & Switching.
VLANs Module 2. 2 VLANs  VLANs  Trunking  VLAN Trunking Protocol (VTP)
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 W. Schulte Chapter 5: Inter-VLAN Routing Routing And Switching.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 5: Inter-VLAN Routing Routing & Switching.
Part III Working with Redundant Links
Ch. 9 – VLANs (Virtual LANs)
VLANs- Chapter 3 CCNA Exploration Semester 3 Modified by Profs. Ward
(part 3).  Switches, also known as switching hubs, have become an increasingly important part of our networking today, because when working with hubs,
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—2-1 Extending Switched Networks with Virtual LANs Configuring VLANs.
Port Aggregation & Load Balancing By: Joe B., Nabeel O. Miguel & Mufaddal J.
Implementing VLANs in Campus Networks
Ch. 8 – VLANs (Virtual LANs)
CCENT Study Guide Chapter 11 VLANs and Inter-VLAN Routing.
Networking Features Upon completion of this module, you should be able to: Discuss and configure VNX networking features This module continues the discussion.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 3: Implementing VLAN Security Routing And Switching.
Instructor & Todd Lammle
VLAN Trunking Protocol
VLAN Trunking Protocol (VTP)
EtherChannel Concepts and Configuration
Building Cisco Multilayer Switched Networks (BCMSN)
Author: Bill Buchanan. Transparent bridge Author: Bill Buchanan CAM.
VLAN V irtual L ocal A rea N etwork VLAN Network performance is a key factor in the productivity of an organization. One of the technologies used to.
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.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 9 Virtual Trunking Protocol.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 8 Virtual LANs Cisco Networking Academy.
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.
Link Aggregation V1.1. Objectives Understand the features and benefits of link aggregation Grasp the basic link aggregation configuration steps of G series.
Switching Topic 2 VLANs.
CCNP 3: Chapter 3 Implementing Spanning Tree. Overview Basics of implementing STP Election of Root Bridge and Backup Enhancing STP RSTP MSTP EtherChannels.
Virtual Local Area Networks (VLANs) Part II
VLAN Design Etherchannel. Review: Private VLANS  Used by Service providers to deploy host services and network access where all devices reside in the.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 3: VLANs Routing & Switching.
Chapter 5: Link Aggregation
CO5023 Link Aggregation. Issues with Redundancy To increase capacity on links between layers (access and distribution, for example) it can be useful to.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 3: Link Aggregation Scaling Networks.
W&L Page 1 CCNA CCNA Training 2.8 Identify enhanced switching technologies Jose Luis Flores / Amel Walkinshaw Aug, 2015.
Chapter-5 STP. Introduction Examine a redundant design In a hierarchical design, redundancy is achieved at the distribution and core layers through additional.
+ Lecture#8: VLAN Asma AlOsaimi Topics VLAN Segmentation VLAN Implementation VLAN Security and Design 3.0.
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.
Describing the STP.
Cisco Study Guide
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 VLANs.
Cisco Implementing Cisco IP Switched Networks.
Instructor Materials Chapter 2: Scaling VLANs
Chapter 3: Link Aggregation
Instructor Materials Chapter 3: STP
Instructor Materials Chapter 4: EtherChannel and HSRP
Chapter 11 VLANs and Inter-VLAN Routing
Extending Switched Networks with Virtual LANs
Chapter 5: Inter-VLAN Routing
Configuring EtherChannels and Switch Troubleshooting
Chapter 2: Scaling VLANs
Advanced Network Training
Hwajung Lee Modified from Slides Courtesy of Cisco Networking Academy
Routing and Switching Essentials v6.0
Chapter 3: Implementing VLAN Security
Switching and VLANs.
Chapter 4: EtherChannel and HSRP
Cisco networking CNET-448
Chapter 2: Scaling VLANs
EtherChannels.
Chapter 4: EtherChannel and HSRP
Presentation transcript:

Implementing Spanning Tree Module 3 - Part 4 Etherchannel Jane Brooke (Centennial College) mods by Emerson Hunt

EtherChannel

About EtherChannel Logical aggregation of bandwidth Viewed as one logical port by STP, trunking, access and for administration Bind 2 - 8 ports Yields 1600Mbps (FastEther) or 16Gbps(GigabitEther) Load balancing algorithm differs by platform Load balancing not frame by frame – usually by source and dest MAC address pairs Allows for creation of very high-bandwidth logical links Load balances among physical links involved Provides automatic failover Simplifies subsequent logical configuration Configuration is per logical link instead of per physical link Although any number up to 8 may be used, 2, 4, and 8 are most effective (because of the way load balancing works) With LACP, more than 8 links can be placed in the bundle with extra links beyond 8 are "hot standby"

Etherchannel Benefits Use all available bandwidth by logically “bundling” up to eight physical links The logical Etherchannel can be managed as a single unit called a port channel or channel group Seen as one by Shutdown/no shutdown Sh spanning tree Sh interface trunking

Etherchannel Benefits Load is balanced across physical links Although balancing algorithm is not necessarily optimal Under some circumstances balancing is uneven Remaining links continue to operate if a member of the etherchannel bundle fails Loss of a line in an etherchannel is not seen by STA Failover time is only milliseconds

Used Where? L2 as trunk between two switches L3 as connection between two routers Access link typically between switch and server with appropriate NICs (NIC "teaming")

Etherchannel and Servers Multiple NICs can be installed in a server and a higher bandwidth aggregated link can be formed between the server and the switch Known as ``nic teaming`` May not be supported natively by the server OS Proper choice of the load balancing algorithm is important with NIC teaming

EtherChannel Dynamic Trunk Negotiation Protocols PAgP Cisco proprietary Sends PAgP packets across link to negotiate EtherChannel LACP IEEE standard 802.3ad Sends LACP packets across link to bundle multiple ports into a single channel Use in mixed switch environment Port Aggregation Protocol Link aggregation control protocol

EtherChannel Interface Modes ON – Forces EtherChannel ON without PAgP or LACP negotiation (not recommended) PAgP Auto (default PAgP mode) interface enters passive negotiating state responds to PAgP packets received but doesn’t initiate PAgP negotiation Desirable (PAgP mode) interface actively negotiates with other interfaces PAgP packets are exchanged LACP Passive (Default LACP mode) port responds to LACP packets received, but it does not initiate LACP packet negotiation Active port actively negotiates state with other ports by sending LACP packets Recommendation is to use: (priority) LACP active PAGP desirable ON Using the protocol instead of forcing ON is recommended as it implements additional Etherchannel functionality

The Defaults Auto for PAgP and passive for LACP Best practice is to Means that by default, links WILL NOT aggregate automatically Best practice is to Explicitly set aggregation protocol using the channel-protocol command manually configure using the channel-group command PAgP is the proprietary default link aggregation protocol on Cisco switches Use LACP for vendor neutrality

PAgP PAgP packets sent between Etherchannel ports – negotiate forming channel Etherchannel seen as single bridge port to spanning tree Packets sent every 30 seconds Multicast out MAC 01-00-0C-CC-CC-CC Ensures all ports have same speed, duplex and VLAN info

The Rules All links in a channel-group must be almost identical Speed and duplex Switch port mode (trunk or access) If access, belong to same vlan If trunk, same vlans allowed Each etherchannel must be assigned a channel group number (1-64) Creates a Port-channel interface section in running config

Guidelines for Configuring EtherChannel

Guidelines for Configuring EtherChannel (Cont.) Interfaces in the same bundle can support varying port costs

About EtherChannel Configuration Commands Configure PAgP interface range blah blah channel-protocol pagp channel-group X mode auto Configure LACP channel-protocol lacp channel-group X mode active Verify show interfaces fastethernet 0/1 etherchannel show etherchannel 1 port-channel show etherchannel 1 summary

Configuring L2 EtherChannel Specify the interfaces to configure in the bundle Switch(config)#interface range interface slot/port - port Specify the channel protocol either pagp OR lacp Switch(config-if-range)#channel-protocol {pagp | lacp} PAgP is default on Cisco switches. Create the port-channel interface and place the interfaces as members Switch(config-if-range)#channel-group number mode {auto | desirable | active | passive | on}

Verifying EtherChannel Switch#show running-config interface port-channel num Displays port-channel information Switch#show run interface port-channel 1 Building configuration... Current configuration : 66 bytes ! interface Port-channel1 switchport mode dynamic desirable end Switch#show running-config interface interface x/y interface Port-channel2 switchport trunk encapsulation dot1q switchport mode trunk switchport nonegotiate no ip address ! interface GigabitEthernet0/9 description DSW121 0/9-10 -- DSW122 0/9-10 duplex full speed 100 channel-group 2 mode desirable interface GigabitEthernet0/10 Switch#show run interface gig 0/9 Building configuration... Current configuration : 127 bytes ! interface GigabitEthernet 0/9 switchport mode dynamic desirable channel-group 2 mode desirable channel-protocol pagp end Displays interface information

Verifying EtherChannel (Cont.) Switch#show interfaces gigabitethernet 0/9 etherchannel Port state = Up Mstr In-Bndl Channel group = 1 Mode = Desirable-Sl Gcchange = 0 Port-channel = Po2 GC = 0x00020001 Pseudo port-channel = Po1 Port index = 0 Load = 0x00 Flags: S - Device is sending Slow hello. C - Device is in Consistent state. A - Device is in Auto mode. P - Device learns on physical port. d - PAgP is down. Timers: H - Hello timer is running. Q - Quit timer is running. S - Switching timer is running. I - Interface timer is running. Local information: Hello Partner PAgP Learning Group Port Flags State Timers Interval Count Priority Method Ifindex Gi0/9 SC U6/S7 H 30s 1 128 Any 15 Partner's information: Partner Partner Partner Partner Group Port Name Device ID Port Age Flags Cap. Gi0/9 DSW122 0005.313e.4780 Gi0/9 18s SC 20001 Age of the port in the current state: 00d:20h:00m:49s

Load Balancing Etherchannel provides a choice of algorithms to determine which bundle member will carry a given frame Various load-balancing methods are available (choices are platform dependant) The default method may lead to some members being more heavily utilized than others

Example Suppose we have an Etherchannel connecting a switch to a server One type of algorithm depends solely on destination mac address All frames destined for the same mac address will use the same wire Therefore virtually all server bound frames will use just one wire in the etherchannel

Available Methods & which is the default vary by platform Balancing Methods src-ip dst-ip src-dst-ip src-mac dest-mac src-dst-mac src-port dst-port src-dst-port Available Methods & which is the default vary by platform

Configuring EtherChannel Load Balancing Switch(config)#port-channel load-balance type Note that this is a global command I.e. method cannot be configured on a per-channel basis To see the current load balancing method, use the following: Switch#show etherchannel load-balance Source XOR Destination IP address

Notes the default method will usually result in a fair balancing the following command will give some sense of the fairness of the load balancing algorithm show etherchannel port-channel X Look for the "load" value on each channel They should be similar

Resources http://networkers-online.com/blog/2008/07/etherchannel-load-balancing-case-study/

Personal Notes Etherchannel works (sort of) in Packet Tracer I have had PT 5.1 crash when playing with multiple Etherchannels Packet tracer definitely does not accurately simulate show command output where port channels are involved However, etherchannel also seems a bit flakey on our equipment Lab suggests "flapping" the interfaces if the Etherchannel does not come up