Virtual PortChannels: Building Networks without Spanning Tree Protocol



Similar documents
Cisco Data Center Network Manager Release 5.1 (LAN)

Cisco FabricPath Technology and Design

Virtual PortChannel Quick Configuration Guide

VMDC 3.0 Design Overview

Chapter 4: Spanning Tree Design Guidelines for Cisco NX-OS Software and Virtual PortChannels

Multi-Chassis Trunking for Resilient and High-Performance Network Architectures

VXLAN: Scaling Data Center Capacity. White Paper

Data Center Networking Designing Today s Data Center

Migrate from Cisco Catalyst 6500 Series Switches to Cisco Nexus 9000 Series Switches

Chapter 3. Enterprise Campus Network Design

hp ProLiant network adapter teaming

TRILL for Service Provider Data Center and IXP. Francois Tallet, Cisco Systems

TechBrief Introduction

RESILIENT NETWORK DESIGN

OVERLAYING VIRTUALIZED LAYER 2 NETWORKS OVER LAYER 3 NETWORKS

Disaster Recovery Design Ehab Ashary University of Colorado at Colorado Springs

ADVANCED NETWORK CONFIGURATION GUIDE

STATE OF THE ART OF DATA CENTRE NETWORK TECHNOLOGIES CASE: COMPARISON BETWEEN ETHERNET FABRIC SOLUTIONS

Design and Implementation Guide. Data Center Design Guide: Implement McAfee Next Generation Firewall for the Perimeter

TRILL Large Layer 2 Network Solution

Top-Down Network Design

FlexNetwork Architecture Delivers Higher Speed, Lower Downtime With HP IRF Technology. August 2011

Juniper / Cisco Interoperability Tests. August 2014

Deploying Brocade VDX 6720 Data Center Switches with Brocade VCS in Enterprise Data Centers

DATA CENTER. Best Practices for High Availability Deployment for the Brocade ADX Switch

Cisco Networking Academy CCNP Multilayer Switching

Design and Configuration Guide: Best Practices for Virtual Port Channels (vpc) on Cisco Nexus 7000 Series Switches

Layer 3 Network + Dedicated Internet Connectivity

NX-OS and Cisco Nexus Switching

Clustering. Configuration Guide IPSO 6.2

CCNP SWITCH: Implementing High Availability and Redundancy in a Campus Network

Cisco Nexus 1000V Switch for Microsoft Hyper-V

How To Understand and Configure Your Network for IntraVUE

What is VLAN Routing?

CHAPTER 10 LAN REDUNDANCY. Scaling Networks

Virtual Networking Features of the VMware vnetwork Distributed Switch and Cisco Nexus 1000V Series Switches

Ethernet-based Software Defined Network (SDN) Cloud Computing Research Center for Mobile Applications (CCMA), ITRI 雲 端 運 算 行 動 應 用 研 究 中 心

Network Virtualization and Data Center Networks Data Center Virtualization - Basics. Qin Yin Fall Semester 2013

How To Design A Data Centre

Configuring IPS High Bandwidth Using EtherChannel Load Balancing

Juniper Networks EX Series/ Cisco Catalyst Interoperability Test Results. May 1, 2009

Overview of Routing between Virtual LANs

REFERENCE ARCHITECTURES FOR MANUFACTURING

Virtual Machine Mobility with VMware VMotion and Cisco Data Center Interconnect Technologies

Intel Advanced Network Services Software Increases Network Reliability, Resilience and Bandwidth

Brocade One Data Center Cloud-Optimized Networks

Network Considerations to Optimize Virtual Desktop Deployment

Implementing Cisco Data Center Unified Fabric Course DCUFI v5.0; 5 Days, Instructor-led

Expert Reference Series of White Papers. Planning for the Redeployment of Technical Personnel in the Modern Data Center

- EtherChannel - Port Aggregation

Objectives. The Role of Redundancy in a Switched Network. Layer 2 Loops. Broadcast Storms. More problems with Layer 2 loops

A Link Load Balancing Solution for Multi-Homed Networks

Scaling 10Gb/s Clustering at Wire-Speed

CORPORATE NETWORKING

Network Virtualization for Large-Scale Data Centers

Data Networking and Architecture. Delegates should have some basic knowledge of Internet Protocol and Data Networking principles.

Testing Network Virtualization For Data Center and Cloud VERYX TECHNOLOGIES

VMware Virtual SAN 6.2 Network Design Guide

Extending Networking to Fit the Cloud

Data Center Design IP Network Infrastructure

Interconnecting Data Centers Using VPLS

Voice Over IP. MultiFlow IP Phone # 3071 Subnet # Subnet Mask IP address Telephone.

Overlay Transport Virtualization

AUTO DEFAULT GATEWAY SETTINGS FOR VIRTUAL MACHINES IN SERVERS USING DEFAULT GATEWAY WEIGHT SETTINGS PROTOCOL (DGW)

Using & Offering Wholesale Ethernet Network and Operational Considerations

Brocade Solution for EMC VSPEX Server Virtualization

Implementing and Troubleshooting the Cisco Cloud Infrastructure **Part of CCNP Cloud Certification Track**

High Availability. Palo Alto Networks. PAN-OS Administrator s Guide Version 6.0. Copyright Palo Alto Networks

How To Balance On A Cisco Catalyst Switch With The Etherchannel On A Fast Ipv2 (Powerline) On A Microsoft Ipv1 (Powergen) On An Ipv3 (Powergadget) On Ipv4

High Availability Failover Optimization Tuning HA Timers PAN-OS 6.0.0

VXLAN Bridging & Routing

Demonstrating the high performance and feature richness of the compact MX Series

Data Center Multi-Tier Model Design

Leased Line + Remote Dial-in connectivity

VMware Virtual SAN Network Design Guide TECHNICAL WHITE PAPER

Cisco Virtualized Multiservice Data Center Reference Architecture: Building the Unified Data Center

6/8/2011. Document ID: Contents. Introduction. Prerequisites. Requirements. Components Used. Conventions. Introduction

Application Note Gigabit Ethernet Port Modes

OSPF Routing Protocol

基 於 SDN 與 可 程 式 化 硬 體 架 構 之 雲 端 網 路 系 統 交 換 器

Switching in an Enterprise Network

Auspex Support for Cisco Fast EtherChannel TM

Stretched Active- Active Application Centric Infrastructure (ACI) Fabric

Software Defined Cloud Networking

SummitStack in the Data Center

How To Set Up A Virtual Network On Vsphere (Vsphere) On A 2Nd Generation Vmkernel (Vklan) On An Ipv5 Vklan (Vmklan)

全 新 企 業 網 路 儲 存 應 用 THE STORAGE NETWORK MATTERS FOR EMC IP STORAGE PLATFORMS

VMware ESX Server Q VLAN Solutions W H I T E P A P E R

Solution Brief Network Design Considerations to Enable the Benefits of Flash Storage

Non-blocking Switching in the Cloud Computing Era

Data Center Convergence. Ahmad Zamer, Brocade

WAN Traffic Management with PowerLink Pro100

Expert Reference Series of White Papers. VMware vsphere Distributed Switches

Pre$SDN era: network trends in data centre networking

Reliability and Load Handling Problem in Internet Service Provider s Network

Cisco Data Centre: Introducing Cisco Data Center Networking

Extending SANs Over TCP/IP by Richard Froom & Erum Frahim

Zarząd (7 osób) F inanse (13 osób) M arketing (7 osób) S przedaż (16 osób) K adry (15 osób)

Avaya Virtualization Provisioning Service

Transcription:

. White Paper Virtual PortChannels: Building Networks without Spanning Tree Protocol What You Will Learn This document provides an in-depth look at Cisco's virtual PortChannel (vpc) technology, as developed for the Cisco NX-OS Software on the Cisco Nexus 7000 Series Switches platform. It provides a short overview of the goals of the vpc technology, followed by a detailed discussion of the technology and its features. This document also briefly discusses network deployment models and failure response and recovery. Layer 2 Scaleout in the Data Center Virtualization technologies such as VMware ESX Server and clustering solutions at such as Microsoft Cluster Service currently require Layer 2 Ethernet connectivity to function properly. With the increased use of these types of technologies in data centers and now even across data center locations, organizations are shifting from a highly scalable Layer 3 network model to a highly scalable Layer 2 model. This shift is causing changes in the technologies used to manage large Layer 2 network environments, including migration away from Spanning Tree Protocol as a primary loop management technology toward new technologies such as vpc and IETF TRILL (transparent interconnection of lots of links). In early Layer 2 Ethernet network environments, it was necessary to develop protocol and control mechanisms that limited the disastrous effects of a topology loop in the network. Spanning Tree Protocol was the primary solution to this problem, providing a loop detection and loop management capability for Layer 2 Ethernet networks. This protocol has gone through a number of enhancements and extensions, and while it scales to very large network environments, it still has one suboptimal principle: to break loops in a network, only one active path is allowed from one device to another, regardless of how many actual connections might exist in the network. Although Spanning Tree Protocol is a robust and scalable solution to redundancy in a Layer 2 network, the single logical link does create two problems. One problem is that half (or more) of the available system bandwidth is off-limits to data traffic, and the other problem is that a failure of the active link tends to cause multiple seconds of system wide data loss while the network reevaluates the new "best" solution for network forwarding in the Layer 2 network. Although enhancements to Spanning Tree Protocol reduce the overhead of the rediscovery process and allow a Layer 2 network to reconverge far faster, the delay can still be too great for some networks. In addition, no efficient dynamic mechanism exists for using all the available bandwidth in a robust network with Spanning Tree Protocol loop management. An early enhancement to Layer 2 Ethernet networks was PortChannel technology (now standardized as IEEE 802.3ad PortChannel technology), in which multiple links between two participating devices can use all the links between the devices to forward traffic by using a load-balancing algorithm that equally balances traffic across the available Inter-Switch Links (ISLs) while also managing the loop problem by bundling the links as one logical link. This logical construct keeps the remote device from forwarding broadcast and unicast frames back to the logical link, thereby breaking the loop that actually exists in the network. PortChannel technology has one other primary benefit: it can potentially deal with a link loss in the bundle in less than a second, with very little loss of traffic and no effect on the active Spanning Tree Protocol topology. 2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 1 of 6

Introducing vpc The biggest limitation in classic PortChannel communication is that the PortChannel operates only between two devices. In large networks, the support of multiple devices together is often a design requirement to provide some form of hardware failure alternate path. This alternate path is often connected in a way that would cause a loop, limiting the benefits gained with PortChannel technology to a single path. To address this limitation, the Cisco NX- OS Software platform provides a technology called virtual PortChannel, or vpc. Although a pair of switches acting as a vpc peer endpoint looks like a single logical entity to PortChannel-attached devices, the two devices that act as the logical PortChannel endpoint are still two separate devices. This environment combines the benefits of hardware redundancy with the benefits of PortChannel loop management. The other main benefit of migration to an all- PortChannel-based loop management mechanism is that link recovery is potentially much faster. Spanning Tree Protocol can recover from a link failure in approximately 6 seconds, while an all-portchannel-based solution has the potential for failure recovery in less than a second. Although vpc is not the only technology that provides this solution, other solutions tend to have a number of deficiencies that limit their practical implementation, especially when deployed at the core or distribution layer of a dense high-speed network. All multichassis PortChannel technologies still need a direct link between the two devices acting as the PortChannel endpoints. This link is often much smaller than the aggregate bandwidth of the vpcs connected to the endpoint pair. Cisco technologies such as vpc are specifically designed to limit the use of this ISL specifically to switch management traffic and the occasional traffic flow from a failed network port. Technologies from other vendors are not designed with this goal in mind, and in fact are dramatically limited in scale specifically because they require the use of the ISL for control traffic and approximately half the data throughput of the peer devices. For a small environment, this approach might be adequate, but it will not suffice for an environment in which many terabits of data traffic may be present. vpc in Detail To properly understand vpc, consider Figure 1, which shows a sample network. The figure illustrates vpc functions and features. Figure 1. Classic Multi-tier Ethernet Network Figure 1 shows a number of components: vpc peer switches: Switches S1 an S2 are connected as peers through the peer link, and they form the single logical endpoint for a vpc. These devices need to run Cisco NX-OS to run the vpc protocol. vpc peer link: This is a multiport 10 Gigabit Ethernet PortChannel between the two vpc peer switches. This link is a standard IEEE 802.3ad PortChannel with a modified Spanning Tree Protocol weight and the capability to tag packets as having originated on the local peer using the peer link. 2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 2 of 6

vpc peer keepalive link: The peer keepalive link is a logical link that often runs over an out-of-band management network. It provides a Layer 3 communications path that is used as a secondary test to determine whether the remote peer is operating properly. No data or synchronization traffic is sent over the vpc peer keepalive link, just a frame that indicates that the originating switch is operating and running vpc. vpc member port: A vpc member port is a physical port on one of the vpc peer switches that is a member in a vpc. To have a running vpc instance, at least one PortChannel is needed with a member port on each peer switch. Cisco Fabric Services: The Cisco Fabric Services protocol is a reliable messaging protocol designed to support rapid stateful configuration message passing and synchronization. vpc services use Cisco Fabric Services to transfer a copy of the system configuration for a comparison process and to synchronize MAC and Internet Group Management Protocol (IGMP) state information between the two vpc peer switches. In operation, the vpc feature first must be enabled and then the vpc peer link must be established. After this is done, Cisco Fabric Services messages are interchanged between the two vpc peer switches, providing a copy of the local switch configuration to the remote switch to determine whether any configuration inconsistencies exist that need to be addressed prior to starting vpc. Such inconsistencies include differences in the configuration of Spanning Tree Protocol, (Hot Standby Router Protocol (HSRP), Protocol Independent Multicast (PIM), and vpc. After it has been established that these protocols are in sync, and any consistency mismatches have been addressed, the vpc system will be in a ready state, available to add vpc member ports to the system. Adding a member-port is a simple operation consisting of informing the actual switch local PortChannels that they are vpc members and informing the vpc process that a new PortChannel is available. Note that a PortChannel must be configured even if only a single port on a particular switch is expected to be a member of a specific vpc. If a vpc includes more than one local member port, port forwarding decisions depend on the PortChannel load-balancing mechanism, which is any combination of source or destination Ethernet MAC address, IP address, IP port, and VLAN ID. If only a single local member port is available, then no additional load balancing will be performed to help ensure that outbound traffic does not incur the additional forwarding cost of crossing the peer link. Layer 2 multicast forwarding is similar in that learned sources or client join requests received on one switch are forwarded to the other so that a consistent (S, G) multicast state can be determined. This state includes outgoing interface (OIF) information and is tuned so as to limit the use of the vpc peer link for multicast traffic. vpc Layer 3 Interaction Although vpc is primarily a Layer 2 technology, the Cisco Nexus 7000 Series Switches are also full-featured Layer 3 network devices. Therefore a number of enhancements have been made to the vpc solution to integrate with the Layer 3 features of the Cisco Nexus 7000 Series. Two critical areas were enhanced to provide the most scalable vpc environment; specifically HSRP and PIM interaction were modified to improve scalability and system resiliency. In the case of HSRP, the improvement was made to the forwarding engine specifically to allow local Layer 3 forwarding at both the active HSRP peer and the standby HSRP peer. This enhancement provides, in effect, an active-active HSRP configuration with no changes to current HSRP configuration recommendations or best practices and no changes to HSRP. The HSRP control protocol still acts like an active-standby pair, so that only the active device responds to Address Resolution Protocol (ARP) requests, but a packet destined for the shared HSRP MAC address is accepted as local on either the active or standby HSRP device. Figure 2 shows an example of this process in which requests from Host 2 are directed to the switch that acts as the HSRP standby, but the packet is still forwarded to the Layer 3 cloud. Host 1's packets are sent (based on PortChannel load balancing) to the switch that is the HSRP active device and are also forwarded to the Layer 3 cloud. 2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 3 of 6

Figure 2. Equal Cost Multipath (ECMP) and HSRP Attached Layer 2 Network The other important Layer 3 interaction occurs in conjunction with PIM routing. vpc supports an enhancement to PIM Source Specific Multicast (SSM) and PIM Any Source Multicast (ASM) routing to further improve resiliency in the case of a peer-level failure and to help ensure the most efficient multicast forwarding into or out of the vpc-attached environment. Specifically, since two Layer 3 instances (one on each peer switch) are required, two PIM routers must be configured: one on each device. Normally, both devices would assert the role of designated router in the local Layer 2 multicast environment. In this case, the router that wins the assert process then joins the Layer 3 multicast environment and starts forwarding multicast traffic to any joined clients or starts forwarding any multicast traffic source on the local network if there is a client request in the Layer 3 network as in Figure 3. Figure 3. PIM Tree in a Classic Layer 2 and 3 Network The router that lost the assert process will not actually join the Layer 3 network but will wait until the next assert interval, at which point it will again try to win the assert test. In the case of vpc, the PIM process has been enhanced so that both routers will join the Layer 3 network, but only the router on the primary vpc peer will in fact win the assert process, and the other device will then act as an active standby, ready to forward packets to the multicast network if the primary device fails to assert after the default reassertion interval passes. This model provides faster recovery in the case of a forwarding failure, and since the Layer 2 state is already synchronized between both devices, the standby designated router does not need to rebuild the local Layer 2 forwarding state either. This 2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 4 of 6

solution improves multicast failure recovery performance and makes use of the full Layer 3 capability of the Cisco Nexus 7000 Series platform. vpc Failure Recovery One of the advantages of the vpc approach to loop management is that in the unlikely event of a PortChannel member port link failure, recovery relies on the PortChannel recovery mechanism rather than Spanning Tree Protocol relearning of the entire network. While Spanning Tree Protocol can potentially be tuned to respond in as little as 6 seconds, PortChannel recovery often takes less than one second. This speed factor alone is a primary reason why vpc provides a more efficient scaling mechanism than Layer 2 topologies managed by Spanning Tree Protocol. Member port failure is perhaps the most likely scenario, in which a member port from an access switch fails. When the vpc peer determines that a member port has failed (and that no other local member ports for that vpc are available), the peer with the failed vpc member port notifies the remote peer that it no longer has an active member port for a configured vpc. The remote peer will then enable forwarding on that vpc for packets that traverse the peer link. This mechanism helps ensure reachability and at the same time provides loop management. In the highly unlikely case that both ports and line cards in the peer link fail (two ports on two different line cards are the recommended minimum for the peer link, reducing the possibility of complete failure), or if the Cisco Fabric Services messaging infrastructure fails to communicate across the peer link, the vpc management system will look to the peer keepalive interface to determine whether the failure is a link-level failure or whether in fact the remote peer has failed entirely. If the remote peer is still alive (peer keepalive messages are still being received), the vpc secondary switch will disable its vpc member ports and any Layer 3 interfaces attached to a vpc-associated VLAN. If the peer keepalive messages are not being received, then the peer continues to forward traffic as it is then assuming that it is the last device available in the network. In either case, on recovery of the peer link or reestablishment of Cisco Fabric Services message forwarding, the systems will resynchronized any MAC addresses learned while communications was disrupted, and the system will continue forwarding normally. vpc Network Benefits vpc provides a number of important benefits to a Layer 2 network and a set of enhancements to the Layer 3 interconnect specifically resulting from the benefits derived from the Layer 2 capabilities. In a Layer 2 network, the following benefits are achieved: Enhanced system availability through redundant systems Loop management without use of Spanning Tree Protocol Full system bandwidth availability at all times Rapid link-failure recovery PortChannel connectivity to any IEEE 802.3ad-capable edge device In addition, the following important Layer 3 features are enabled: Active-active Layer 3 forwarding through HSRP configuration Full Layer 3 bandwidth access through active-active HSRP Rapid Layer 3 multicast convergence through the active-active PIM designated router 2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 5 of 6

While these capabilities enhance any data center environment, when they are deployed on the Cisco Nexus 7000 Series of 10 Gigabit Ethernet data center switches as is a requirement today, an additional set of capabilities provide the highest level of data center throughput and resiliency currently available. These features include: In Service Software Upgrade (ISSU): Nonstop forwarding (NSF) during full-system upgrades enables short or even nonexistent maintenance windows for software updating of mission-critical platforms. Hardware forwarding: All current Layer 2 and 3 forwarding functions are performed in hardware, providing a consistent forwarding environment regardless of features or system scale. Virtual device contexts (VDCs): The Cisco Nexus 7000 Series can currently be divided into four logically separate switch environments, providing efficient administrative domain deployments on Cisco's highestdensity Gigabit Ethernet and 10 Gigabit Ethernet platforms. Conclusion This document provided an overview of the benefits of PortChannel technology and an in-depth discussion of the ways that vpc extends the PortChannel model to remove Spanning Tree Protocol as a loop management technology in large-scale Layer 2 Ethernet networks. It also described HSRP and PIM Layer 3 enhancements to the basic Layer 2 PortChannel model and the response of vpc to failures, and the use of vpc as a core technology in an advanced data center network. Through use of the vpc technology, Cisco will continue its commitment to support for networks of all types, and specifically its commitment to support for the ongoing shift toward large-scale Layer 2 network deployments both within a single data center and across multiple data centers. For More Information For more information, visit http://www.cisco.com/go/nexus7000 or contact your local account representative. Printed in USA C11-516396-03 07/09 2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 6 of 6