WO2011140028A1 - Virtual cluster switching - Google Patents

Virtual cluster switching Download PDF

Info

Publication number
WO2011140028A1
WO2011140028A1 PCT/US2011/034917 US2011034917W WO2011140028A1 WO 2011140028 A1 WO2011140028 A1 WO 2011140028A1 US 2011034917 W US2011034917 W US 2011034917W WO 2011140028 A1 WO2011140028 A1 WO 2011140028A1
Authority
WO
WIPO (PCT)
Prior art keywords
switch
vcs
logical
switches
port
Prior art date
Application number
PCT/US2011/034917
Other languages
French (fr)
Inventor
Suresh Vobbilisetty
Dilip Chatwani
Shiv Haris
Phanidhar Koganti
Vidyasagara R. Guntaka
Jesse B. Willeke
Senthilkumar Narayanasamy
Original Assignee
Brocade Communications Systems, Inc.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US13/042,259 external-priority patent/US9461840B2/en
Priority claimed from US13/087,239 external-priority patent/US8867552B2/en
Priority claimed from US13/092,460 external-priority patent/US9769016B2/en
Priority claimed from US13/092,724 external-priority patent/US9001824B2/en
Priority claimed from US13/092,701 external-priority patent/US8989186B2/en
Priority claimed from US13/092,580 external-priority patent/US9716672B2/en
Priority claimed from US13/092,877 external-priority patent/US9231890B2/en
Priority claimed from US13/092,752 external-priority patent/US9270486B2/en
Priority claimed from US13/098,360 external-priority patent/US8625616B2/en
Priority to EP21211732.9A priority Critical patent/EP4027611A1/en
Priority to US14/912,585 priority patent/US20170155599A1/en
Priority to EP11721162.3A priority patent/EP2567512B1/en
Priority to JP2013509167A priority patent/JP5801383B2/en
Application filed by Brocade Communications Systems, Inc. filed Critical Brocade Communications Systems, Inc.
Priority to CA2797278A priority patent/CA2797278A1/en
Priority to EP16155677.4A priority patent/EP3041173B1/en
Priority to CN201180030594.5A priority patent/CN102986172B/en
Publication of WO2011140028A1 publication Critical patent/WO2011140028A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/35Switches specially adapted for specific applications
    • H04L49/356Switches specially adapted for specific applications for storage area networks
    • H04L49/357Fibre channel switches
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/0816Configuration setting characterised by the conditions triggering a change of settings the condition being an adaptation, e.g. in response to network events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/58Association of routers
    • H04L45/586Association of routers of virtual routers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/55Prevention, detection or correction of errors
    • H04L49/555Error detection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/70Virtual switches
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0895Configuration of virtualised networks or elements, e.g. virtualised network function or OpenFlow elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/35Switches specially adapted for specific applications
    • H04L49/351Switches specially adapted for specific applications for local area network [LAN], e.g. Ethernet switches

Definitions

  • the present disclosure relates to network design. More specifically, the present disclosure relates to a method for a constructing a scalable switching system that facilitates automatic configuration.
  • switch stacking One way to increase the throughput of a switch system is to use switch stacking.
  • switch stacking multiple smaller-scale, identical switches are interconnected in a special pattern to form a larger logical switch.
  • switch stacking requires careful configuration of the ports and inter-switch links. The amount of required manual configuration becomes prohibitively complex and tedious when the stack reaches a certain size, which precludes switch stacking from being a practical option in building a large-scale switching system.
  • a system based on stacked switches often has topology limitations which restrict the scalability of the system due to fabric bandwidth considerations.
  • One embodiment of the present invention provides a switch system.
  • the switch includes one or more ports on the switch configured to transmit packets encapsulated based on a first protocol.
  • the switch further includes a control mechanism.
  • the control mechanism forms a logical switch based on a second protocol, receives an automatically assigned identifier for the logical switch without requiring manual configuration of the identifier, and joins a virtual cluster switch.
  • the virtual cluster switch comprises one or more physical switches which are allowed to be coupled in an arbitrary topology. Furthermore, the virtual cluster switch appears to be one single switch.
  • the first protocol is a Transparent Interconnection of Lots of Links (TRILL) protocol
  • TRILL Transparent Interconnection of Lots of Links
  • the logical switch formed by the control mechanism is a logical Fibre Channel (FC) switch.
  • FC Fibre Channel
  • the identifier assigned to the logical switch is an FC switch domain ID.
  • control mechanism is further configured to maintain a copy of configuration information for the virtual cluster switch.
  • the configuration information for the virtual cluster switch comprises a number of logical switch identifiers assigned to the physical switches in the virtual cluster switch.
  • the switch includes a media access control (MAC) learning mechanism which is configured to learn a source MAC address and a corresponding VLAN identifier of an ingress packet associated with a port and communicate a learned MAC address, a corresponding VLAN identifier, and the corresponding port information to a name service.
  • MAC media access control
  • One embodiment of the present invention provides a switching system that includes a plurality of switches configured to transport packets using a first protocol.
  • Each switch includes a control mechanism.
  • the plurality switches are allowed to be coupled in an arbitrary topology.
  • the control mechanism automatically configures the respective switch within the switching system based on a second protocol without requiring manual configuration, and
  • a respective switch in the switching system receives an automatically configured identifier associated with a logical switch formed on the respective switch.
  • the logical switch is a logical FC switch.
  • the identifier is an FC switch domain ID.
  • the packets are transported between switches based on a TRILL protocol.
  • the respective switch is assigned a TRILL RBridge identifier that corresponds to the FC switch domain ID.
  • a respective switch maintains a copy of configuration information of all the switches in the switching system.
  • the switching system includes a name service which maintains records of MAC addresses and VLAN information learned by a respective switch.
  • FIG. 1 A illustrates an exemplary virtual cluster switch (VCS) system, in accordance with an embodiment of the present invention.
  • VCS virtual cluster switch
  • FIG. IB illustrates an exemplary VCS system where the member switches are configured in a CLOS network, in accordance with an embodiment of the present invention.
  • FIG. 2 illustrates the protocol stack within a virtual cluster switch, in accordance with an embodiment of the present invention.
  • FIG. 3 illustrates an exemplary configuration of a virtual cluster switch, in accordance with an embodiment of the present invention.
  • FIG. 4 illustrates an exemplary configuration of how a virtual cluster switch can be connected to different edge networks, in accordance with an embodiment of the present invention.
  • FIG. 5A illustrates how a logical Fibre Channel switch fabric is formed in a virtual cluster switch in conjunction with the example in FIG. 4, in accordance with an embodiment of the present invention.
  • FIG. 5B illustrates an example of how a logical FC switch can be created within ; physical Ethernet switch, in accordance with one embodiment of the present invention.
  • FIG. 6 illustrates an exemplary VCS configuration database, in accordance with an embodiment of the present invention.
  • FIG. 7A illustrates an exemplary process of a switch joining a virtual cluster switch, in accordance with an embodiment of the present invention.
  • FIG. 7B presents a flowchart illustrating the process of a default switch joining a VCS, in accordance with one embodiment of the present invention.
  • FIG. 7C presents a flowchart illustrating the process of a switch re-joining a previously joined VCS, in accordance with one embodiment of the present invention.
  • FIG. 7D presents a fiowchart illustrating the general operation of a switch during a join process, in accordance with one embodiment of the present invention.
  • FIG. 8 presents a fiowchart illustrating the process of looking up an ingress frame's destination MAC address and forwarding the frame in a VCS, in accordance with one embodiment of the present invention.
  • FIG. 9 illustrates how data frames and control frames are transported through a VCS, in accordance with one embodiment of the present invention.
  • FIG. 10 illustrates a logical VCS access layer (VAL) which includes an automatic port profile manager, in accordance with one embodiment of the present invention.
  • VAL logical VCS access layer
  • FIG. 11 illustrates an example of the operation of automatic migration of port profiles (AMPP), in accordance with one embodiment of the present invention
  • FIG. 12A illustrates exemplary port profile contents, in accordance with one embodiment of the present invention.
  • FIG. 12B illustrates three exemplary port profiles, in accordance with on embodiment of the present invention.
  • FIG. 13 illustrates how forwarding is achieved between VMs based on port profile membership, in accordance with one embodiment of the present invention.
  • FIG. 14 presents a fiowchart illustrating the process of creating and applying a port profile, in accordance with one embodiment of the present invention.
  • FIG. 15 illustrates an exemplary VCS member switch, in accordance with one embodiment of the present invention.
  • FIG. 16 illustrates an exemplary configuration of advanced link tracking in a VCS, in accordance with one embodiment of the present invention.
  • FIG. 17 illustrates an example where advanced link tracking allows virtual machines to re-route egress traffic when a link fails, in accordance with one embodiment of the present invention.
  • FIG. 18 presents a fiowchart illustrating the process of advance link tracking, in accordance with one embodiment of the present invention.
  • FIG. 19 illustrates an exemplary switch that facilitates virtual cluster switching and advanced link tracking, in accordance with one embodiment of the present invention.
  • FIG. 20 illustrates an exemplary VCS network environment with virtual port grouping, in accordance with one embodiment of the present invention.
  • FIG. 21 A illustrates an exemplary data structure for storing virtual port grouping information, in accordance with one embodiment of the present invention.
  • FIG. 2 IB illustrates logical virtual networks within a VCS as a result of virtual port grouping, in accordance with one embodiment of the present invention.
  • FIG. 22 presents a flowchart illustrating the process of enforcing virtual port grouping, in accordance with one embodiment of the present invention.
  • FIG. 23 illustrates an exemplary switch that facilitates virtual cluster switching with virtual port grouping, in accordance with one embodiment of the present invention.
  • FIG. 24 illustrates an example of name service operation in a VCS, in accordance with one embodiment of the present invention.
  • FIG. 25 presents a flowchart illustrating the process of distributing learned MAC information by the Ethernet name service in a VCS, in accordance with one embodiment of the present invention.
  • FIG. 26 presents a flowchart illustrating the process of distributing information of a learned MAC address via an MCT, in accordance with one embodiment of the present invention.
  • FIG. 27 presents a flowchart illustrating the process of updating the link state in an MCT group, in accordance with one embodiment of the present invention.
  • FIG. 28 illustrates an exemplary switch that facilitates formation of a virtual cluster switch with Ethernet and MCT name services, in accordance with an embodiment of the present invention.
  • FIG. 29 illustrates an exemplary equal cost multi-pathing configuration in a VCS, in accordance with one embodiment of the present invention.
  • FIG. 30 illustrates an example of VCS congestion notification, in accordance with one embodiment of the present invention.
  • FIG. 31 illustrates an exemplary hybrid trunk in accordance with one
  • FIG. 32 illustrates an exemplary VCS member switch, in accordance with one embodiment of the present invention.
  • FIG. 33 illustrates an exemplary network architecture which includes CNE devices for facilitate cross-data-center communications, in accordance with one embodiment of the present invention.
  • FIG. 34 illustrates an exemplary implementation of CNE-enabled VCSs, in accordance with one embodiment of the present invention.
  • FIG. 35A presents a diagram illustrating how CNE devices handle broadcast, unknown unicast, and multicast (BUM) traffic across data centers, in accordance with one embodiment of the present invention.
  • FIG. 35B presents a diagram illustrating how CNE devices handle unicast traffic across data centers, in accordance with one embodiment of the present invention.
  • FIG. 36 illustrates an example where two CNE devices are used to construct a vLAG, in accordance with an embodiment of the present invention.
  • FIG. 37 illustrates an exemplary CNE device, in accordance with one
  • the problem of building a versatile, cost-effective, and scalable switching system is solved by running a control plane with automatic configuration capabilities (such as the Fibre Channel control plane) over a conventional transport protocol, thereby allowing a number of switches to be inter-connected to form a single, scalable logical switch without requiring burdensome manual configuration.
  • a control plane with automatic configuration capabilities such as the Fibre Channel control plane
  • VCS virtual cluster switch
  • the automatic configuration capability provided by the control plane running on each physical switch allows any number of switches to be connected in an arbitrary topology without requiring tedious manual configuration of the ports and links. This feature makes it possible to use many smaller, inexpensive switches to construct a large cluster switch, which can be viewed as a single logical switch externally.
  • a virtual cluster switch is not the same as conventional switch stacking.
  • switch stacking multiple switches are interconnected at a common location (often within the same rack), based on a particular topology, and manually configured in a particular way. These stacked switches typically share a common address, e.g., IP address, so they can be addressed as a single switch externally.
  • switch stacking requires a significant amount of manual configuration of the ports and inter-switch links. The need for manual configuration prohibits switch stacking from being a viable option in building a large- scale switching system.
  • the topology restriction imposed by switch stacking also limits the number of switches that can be stacked. This is because it is very difficult, if not impossible, to design a stack topology that allows the overall switch bandwidth to scale adequately with the number of switch units.
  • a VCS can include an arbitrary number of switches with individual addresses, can be based on an arbitrary topology, and does not require extensive manual configuration.
  • the switches can reside in the same location, or be distributed over different locations.
  • VCS automatic and dynamic configurability
  • a network operator to build its switching system in a distributed and "pay-as-you-grow" fashion without sacrificing scalability.
  • the VCS's ability to respond to changing network conditions makes it an ideal solution in a virtual computing environment, where network loads often change with time.
  • TRILL Transparent Interconnection of Lots of Links
  • FC Fibre Channel
  • RBridge and switch
  • RBridge does not limit embodiments of the present invention to TRILL networks only.
  • the TRILL protocol is described in IETF draft "RBridges: Base Protocol Specification,” available at http://tools.ietf.org/html/
  • VCS virtual cluster switch
  • VCS virtual cluster switching
  • VCS virtual cluster switching
  • RBridge refers to routing bridges, which are bridges implementing the TRILL protocol as described in IETF draft "RBridges: Base Protocol Specification.” Embodiments of the present invention are not limited to the application among RBridges. Other types of switches, routers, and forwarders can also be used.
  • frame or "packet” refer to a group of bits that can be transported together across a network.
  • Frae should not be interpreted as limiting embodiments of the present invention to layer-2 networks.
  • Packet should not be interpreted as limiting
  • FIG. 1 A illustrates an exemplary virtual cluster switch system, in accordance with an embodiment of the present invention.
  • a VCS 100 includes physical switches 101, 102, 103, 104, 105, 106, and 107.
  • a given physical switch runs an Ethernet-based transport protocol on its ports (e.g., TRILL on its inter-switch ports, and Ethernet transport on its external ports), while its control plane runs an FC switch fabric protocol stack.
  • TRILL protocol facilitates transport of Ethernet frames within and across VCS 100 in a routed fashion (since TRILL provides routing functions to Ethernet frames).
  • the FC switch fabric protocol stack facilitates the automatic configuration of individual physical switches, in a way similar to how a conventional FC switch fabric is formed and automatically configured. In one
  • VCS 100 can appear externally as an ultra-high-capacity Ethernet switch. More details on FC network architecture, protocols, naming/address conventions, and various standards are available in the documentation available from the NCITS/ANSI Ti l committee (www.tl l .org) and publicly available literature, such as "Designing Storage Area Networks,” by Tom Clark, 2nd Ed., Addison Wesley, 2003, the disclosures of which are incorporated by reference in their entirety herein.
  • a physical switch may dedicate a number of ports for external use (i.e., to be coupled to end hosts or other switches external to the VCS) and other ports for inter-switch connection.
  • VCS 100 appears to be one switch to a device from the outside, and any port from any of the physical switches is considered one port on the VCS.
  • port groups 110 and 112 are both VCS external ports and can be treated equally as if they were ports on a common physical switch, although switches 105 and 107 may reside in two different locations.
  • the physical switches can reside at a common location, such as a data center or central office, or be distributed in different locations. Hence, it is possible to construct a large- scale centralized switching system using many smaller, inexpensive switches housed in one or more chassis at the same location. It is also possible to have the physical switches placed at different locations, thus creating a logical switch that can be accessed from multiple locations.
  • the topology used to interconnect the physical switches can also be versatile.
  • VCS 100 is based on a mesh topology. In further embodiments, a VCS can be based on a ring, tree, or other types of topologies.
  • the protocol architecture of a VCS is based on elements from the standard IEEE 802.1Q Ethernet bridge, which is emulated over a transport based on the
  • FC-FS-2 Fibre Channel Framing and Signaling-2
  • FIG. IB presents an exemplary VCS with its member switches connected in a CLOS network, in accordance with one embodiment of the present invention.
  • a VCS 120 forms a fully non-blocking 8x8 switch, using eight 4x4 switches and four 2x2 switches connected in a three-stage CLOS network.
  • FIG. 2 illustrates the protocol stack within a virtual cluster switch, in accordance with an embodiment of the present invention.
  • Switch 202 includes an ingress Ethernet port 206 and an inter-switch port 208.
  • Switch 204 includes an egress Ethernet port 212 and an inter-switch port 210.
  • Ingress Ethernet port 206 receives Ethernet frames from an external device.
  • the Ethernet header is processed by a medium access control (MAC) layer protocol.
  • MAC medium access control
  • FDB forwarding database
  • FDB 214 is maintained locally in a switch, which would perform a lookup based on the destination MAC address and the VLAN indicated in the Ethernet frame. The lookup result would provide the corresponding output port. However, since VCS 200 is not one single physical switch, FDB 214 would return the egress switch's identifier (i.e., switch 204's identifier). In one embodiment, FDB 214 is a data structure replicated and distributed among all the physical switches. That is, every physical switch maintains its own copy of FDB 214.
  • the forwarding of the Ethernet frame between ingress switch 202 and egress switch 204 is performed via inter-switch ports 208 and 210.
  • the frame transported between the two inter-switch ports is encapsulated in an outer MAC header and a TRILL header, in accordance with the TRILL standard.
  • the protocol stack associated with a given inter-switch port includes the following (from bottom up): MAC layer, TRILL layer, FC-FS-2 layer, FC E- Port layer, and FC link services (FC-LS) layer.
  • the FC-LS layer is responsible for maintaining the connectivity information of a physical switch's neighbor, and populating an FC routing information base (RIB) 222. This operation is similar to what is done in an FC switch fabric.
  • the FC-LS protocol is also responsible for handling joining and departure of a physical switch in VCS 200.
  • the operation of the FC-LS layer is specified in the FC-LS standard, which is available at http://www.tl 1.org/ftp/
  • Path selector 218 performs a fabric shortest-path first (FSPF)-based route lookup in conjunction with RIB 222, and identifies the next-hop switch within VCS 200. In other words, the routing is performed by the FC portion of the protocol stack, similar to what is done in an FC switch fabric.
  • FSPF fabric shortest-path first
  • each physical switch is an address manager 216 and a fabric controller 220.
  • Address manager 216 is responsible for configuring the address of a physical switch when the switch first joins the VCS. For example, when switch 202 first joins VCS 200, address manager 216 can negotiate a new FC switch domain ID, which is subsequently used to identify the switch within VCS 200.
  • Fabric controller 220 is responsible for managing and configuring the logical FC switch fabric formed on the control plane of VCS 200.
  • VCS protocol architecture
  • FC switch fabric with an Ethernet/TRILL transport.
  • Each physical switch from an external point of view, appears to be a TRILL RBridge.
  • the switch's control plane implements the FC switch fabric software.
  • embodiments of the present invention facilitate the construction of an "Ethernet switch fabric" running on FC control software. This unique combination provides the VCS with automatic configuration capability and allows it to provide the ubiquitous Ethernet services in a very scalable fashion.
  • FIG. 3 illustrates an exemplary configuration of a virtual cluster switch, in accordance with an embodiment of the present invention.
  • a VCS 300 includes four physical switches 302, 304, 306, and 308.
  • VCS 300 constitutes an access layer which is coupled to two aggregation switches 310 and 312.
  • Aggregation switch 310 or 312 can connect to any of the physical switches within VCS 300.
  • aggregation switch 310 is coupled to physical switches 302 and 308. These two links are viewed as a trunked link to VCS 300, since the corresponding ports on switches 302 and 308 are considered to be from the same logical switch, VCS 300. Note that, without VCS, such topology would not have been possible, because the FDB needs to remain synchronized, which is facilitated by the VCS.
  • FIG. 4 illustrates an exemplary configuration of how a virtual cluster switch can be connected to different edge networks, in accordance with an embodiment of the present invention.
  • a VCS 400 includes a number of TRILL RBridges 402, 404, 406, 408, and 410, which are controlled by the FC switch-fabric control plane. Also included in VCS 400 are RBridges 412, 414, and 416. Each RBridge has a number of edge ports which can be connected to external edge networks.
  • RBridge 412 is coupled with hosts 420 and 422 via 10GE ports.
  • RBridge 414 is coupled to a host 426 via a 10GE port.
  • RBridges have TRILL-based inter- switch ports for connection with other TRILL RBridges in VCS 400.
  • RBridge 416 is coupled to host 428 and an external Ethernet switch 430, which is coupled to an external network that includes a host 424.
  • network equipment can also be coupled directly to any of the physical switches in VCS 400.
  • TRILL RBridge 408 is coupled to a data storage 417
  • TRILL RBridge 410 is coupled to a data storage 418.
  • each TRILL RBridge's switch ID or nickname is mapped from the corresponding FC switch domain ID, which can be automatically assigned when a switch joins VCS 400 (which is logically similar to an FC switch fabric).
  • TRILL is only used as a transport between the switches within VCS
  • TRILL can readily accommodate native Ethernet frames.
  • TRILL standards provide a ready-to-use forwarding mechanism that can be used in any routed network with arbitrary topology (although the actual routing in VCS is done by the FC switch fabric protocols).
  • Embodiments of the present invention should be not limited to using only TRILL as the transport.
  • Other protocols such as multi-protocol label switching (MPLS) or Internet Protocol (IP)), either public or proprietary, can also be used for the transport.
  • MPLS multi-protocol label switching
  • IP Internet Protocol
  • a VCS is created by instantiating a logical FC switch in the control plane of each switch. After the logical FC switch is created, a virtual generic port
  • G Port (denoted as G Port) is created for each Ethernet port on the RBridge.
  • a G Port assumes the normal G Port behavior from the FC switch perspective. However, in this case, since the physical links are based on Ethernet, the specific transition from a G Port to either an FC F Port or E Port is determined by the underlying link and physical layer protocols. For example, if the physical Ethernet port is connected to an external device which lacks VCS capabilities, the corresponding G Port will be turned into an F Port. On the other hand, if the physical Ethernet port is connected to a switch with VCS capabilities and it is confirmed that the switch on the other side is part of a VCS, then the G Port will be turned into an E_port. [0088] FIG.
  • RBridge 412 contains a virtual, logical FC switch 502.
  • logical FC switch 502 Corresponding to the physical Ethernet ports coupled to hosts 420 and 422, logical FC switch 502 has two logical F Ports, which are logically coupled to hosts 420 and 422. In addition, two logical N_Ports, 506 and 504, are created for hosts 420 and 422, respectively.
  • logical FC switch 502 On the VCS side, logical FC switch 502 has three logical E Ports, which are to be coupled with other logical FC switches in the logical FC switch fabric in the VCS.
  • RBridge 416 contains a virtual, logical FC switch 512.
  • logical FC switch 512 Corresponding to the physical Ethernet ports coupled to host 428 and external switch 430, logical FC switch 512 has a logical F Port coupled to host 428, and a logical FL Port coupled to switch 430.
  • a logical N Port 510 is created for host 428, and a logical NL Port 508 is created for switch 430.
  • the logical FL Port is created because that port is coupled to a switch (switch 430), instead of a regular host, and therefore logical FC switch 512 assumes an arbitrated loop topology leading to switch 430.
  • Logical NL Port 508 is created based on the same reasoning to represent a corresponding NL Port on switch 430.
  • logical FC switch 512 On the VCS side, logical FC switch 512 has two logical E Ports, which to be coupled with other logical FC switches in the logical FC switch fabric in the VCS.
  • FIG. 5B illustrates an example of how a logical FC switch can be created within a physical Ethernet switch, in accordance with one embodiment of the present invention.
  • fabric port refers to a port used to couple multiple switches in a VCS.
  • the clustering protocols control the forwarding between fabric ports.
  • edge port refers to a port that is not currently coupled to another switch unit in the VCS. Standard IEEE 802.1Q and layer-3 protocols control forwarding on edge ports.
  • a logical FC switch 521 is created within a physical switch (RBridge) 520.
  • Logical FC switch 521 participates in the FC switch fabric protocol via logical inter-switch links (ISLs) to other switch units and has an FC switch domain ID assigned to it just as a physical FC switch does.
  • ISLs logical inter-switch links
  • the physical edge ports 522 and 524 are mapped to logical F Ports 532 and 534, respectively.
  • physical fabric ports 526 and 528 are mapped to logical E Ports 536 and 538, respectively.
  • logical FC switch 521 when logical FC switch 521 is created (for example, during the boot-up sequence), logical FC switch 521 only has four G Ports which correspond to the four physical ports. These G Ports are subsequently mapped to F Ports or E Ports, depending on the devices coupled to the physical ports.
  • Neighbor discovery is the first step in VCS formation between two VCS-capable switches. It is assumed that the verification of VCS capability can be carried out by a handshake process between two neighbor switches when the link is first brought up.
  • VCS presents itself as one unified switch composed of multiple member switches.
  • the VCS configuration is based on a distributed database, which is replicated and distributed over all switches.
  • each VCS member switch maintains a copy of the VCS configuration database, and any change to the database is propagated to all the member switches.
  • a network administrator can configure any part of the VCS from anywhere by, for example, executing a command line interface (CLI) command from any member switch.
  • CLI command line interface
  • a VCS configuration database includes a global
  • a member switch can have a VCS configuration database that includes a global table and one switch description table, e.g.,
  • the GT can include at least the following information: the VCS ID, number of nodes in the VCS, a list of VLANs supported by the VCS, a list of all the switches (e.g., list of FC switch domain IDs for all active switches) in the VCS, and the FC switch domain ID of the principal switch (as in a logical FC switch fabric).
  • a switch description table can include at least the following information: the IN VCS flag, indication whether the switch is a principal switch in the logical FC switch fabric, the FC switch domain ID for the switch, the FC world-wide name (WWN) for the corresponding logical FC switch; the mapped ID of the switch, and optionally the IP address of the switch.
  • the IN VCS flag indication whether the switch is a principal switch in the logical FC switch fabric
  • the FC switch domain ID for the switch the FC world-wide name (WWN) for the corresponding logical FC switch
  • WWN FC world-wide name
  • IP address of the switch can include at least the following information: the IN VCS flag, indication whether the switch is a principal switch in the logical FC switch fabric, the FC switch domain ID for the switch, the FC world-wide name (WWN) for the corresponding logical FC switch; the mapped ID of the switch, and optionally the IP address of the switch.
  • WWN FC world-wide name
  • each switch's global configuration database is associated with a transaction ID.
  • the transaction ID specifies the latest transaction (e.g., update or change) incurred to the global configuration database.
  • the transaction IDs of the global configuration databases in two switches can be compared to determine which database has the most current information (i.e., the database with the more current transaction ID is more up-to-date).
  • the transaction ID is the switch's serial number plus a sequential transaction number. This configuration can unambiguously resolve which switch has the latest
  • VCS configuration database 600 describes the VCS
  • VCS configuration database 600 includes a GT 602, which includes a VCS identifier (denoted as VCS ID) and a VLAN list within the VCS. Also included in VCS configuration database 600 are a number of STs, such as ST0, ST1, and STn. Each ST includes the corresponding member switch's MAC address and FC switch domain ID, as well as the switch's interface details. Note that each switch also has a VCS-mapped ID which is a switch index within the VCS.
  • each switch also has a VCS-mapped ID (denoted as
  • mappedID which is a switch index within the VCS.
  • This mapped ID is unique and persistent within the VCS. That is, when a switch joins the VCS for the first time, the VCS assigns a mapped ID to the switch. This mapped ID persists with the switch, even if the switch leaves the VCS. When the switch joins the VCS again at a later time, the same mapped ID is used by the VCS to retrieve previous configuration information for the switch. This feature can reduce the amount of configuration overhead in VCS. Also, the persistent mapped ID allows the VCS to "recognize" a previously configured member switch when it re-joins the VCS, since a dynamically assigned FC fabric domain ID would change each time the member switch joins and is configured by the VCS.
  • Default switch configuration table 604 has an entry for the mappedID that points to the corresponding ST in VCS configuration database 600. Note that only VCS configuration database 600 is replicated and distributed to all switches in the VCS. Default switch
  • configuration table 604 is local to a particular member switch.
  • the "IN VCS" value in default switch configuration table 604 indicates whether the member switch is part of a VCS.
  • a switch is considered to be "in a VCS" when it is assigned one of the FC switch domains by the FC switch fabric with two or more switch domains. If a switch is part of an FC switch fabric that has only one switch domain, i.e., its own switch domain, then the switch is considered to be "not in a VCS.”
  • the logical FC switch fabric formation process allocates a new switch domain ID to the joining switch. In one embodiment, only the switches directly connected to the new switch participate in the VCS join operation.
  • the VCS assigns an FC switch domain ID to the logical FC switch formed within the joining switch.
  • the joining switch can be automatically assigned an IP address (which in one embodiment can be internal to the VCS) corresponding to the FC switch domain ID.
  • the joining switch's IP address can be 127.10.10.FC_domain_ID.
  • each port on the joining switch can be
  • a port on the joining switch can be assigned a MAC address of OUI:FC_domain_ID:0:0, where OUI is the Organizationally Unique Identifier for the port, and FC domain ID is the switch domain ID assigned to the logical FC switch.
  • OUI is the Organizationally Unique Identifier for the port
  • FC domain ID is the switch domain ID assigned to the logical FC switch.
  • the IP and MAC address assignment process can be part of the software within the switch which controls the FC switch formation and the join/merge process.
  • the automatically assigned switch IP address and port MAC address for a given VCS member switch allow any port on the switch to be remotely configured from anywhere within the VCS.
  • a configuration command of a given member switch can be issued from a host connected to any member switch in the VCS and identifies the switch to be configured by its IP address and optionally one or more port MAC addresses.
  • the configuration command might include information on VLAN configuration, quality-of-service (QoS) configuration, and/or access-control configuration, each of which can be port-specific.
  • the change to a switch's configuration is tentatively transmitted to the switch. After the switch confirms and validates the change, a commit-change command is transmitted to all the member switches in the VCS, so the global configuration database can be updated throughout the VCS.
  • the change is tentatively transmitted to all the member switches in the VCS, and the commit-change command is only sent out after all the switches confirm and validate the tentatively change.
  • FIG. 7A illustrates an exemplary process of a switch joining a virtual cluster switch, in accordance with an embodiment of the present invention.
  • a switch 702 is within an existing VCS, and a switch 704 is joining the VCS.
  • both switches 702 and 704 trigger an FC State Change Notification (SCN) process. Subsequently, both switches 702 and 704 perform a PRE-INVITE operation.
  • SCN FC State Change Notification
  • the pre- invite operation involves the following process.
  • both neighbors on each end of the link present to the other switch a VCS four-tuple of ⁇ Prior VCS ID, SWITCH MAC, mappedID, IN_VCS> from a prior incarnation, if any. Otherwise, the switch presents to the counterpart a default tuple. If the VCS ID value was not set from a prior join operation, a VCS ID value of -1 is used. In addition, if a switch's IN VCS flag is set to 0, it sends out its interface configuration to the neighboring switch. In the example in FIG. 7, both switches 702 and 704 send the above information to the other switch.
  • a driver switch for the join process is selected.
  • switch 702 After switch 702 is selected as the driver switch, switch 702 then attempts to reserve a slot in the VCS configuration database corresponding to the mappedID value in switch 704 's PRE-INVITE information. Next, switch 702 searches the VCS configuration database for switch 704 's MAC address in any mappedID slot. If such a slot is found, switch 702 copies all information from the identified slot into the reserved slot. Otherwise, switch 702 copies the information received during the PRE-INVITE from switch 704 into the VCS configuration database. The updated VCS configuration database is then propagated to all the switches in the VCS as a prepare operation in the database (note that the update is not committed to the database yet).
  • the prepare operation may or may not result in configuration conflicts, which may be flagged as warnings or fatal errors.
  • Such conflicts can include inconsistencies between the joining switch's local configuration or policy setting and the VCS configuration. For example, a conflict arises when the joining switch is manually configured to allow packets with a particular VLAN value to pass through, whereas the VCS does not allow this VLAN value to enter the switch fabric from this particular RBridge (for example, when this VLAN value is reserved for other purposes).
  • the prepare operation is handled locally and/or remotely in concert with other VCS member switches. If there is an un- resolvable conflict, switch 702 sends out a PRE-INVITE -FAILED message to switch 704.
  • switch 702 generates an INVITE message with the VCS's merged view of the switch (i.e., the updated VCS configuration database).
  • switch 704 Upon receiving the INVITE message, switch 704 either accepts or rejects the INVITE. The INVITE can be rejected if the configuration in the INVITE is in conflict with what switch 704 can accept. If the INVITE is acceptable, switch 704 sends back an INVITE- ACCEPT message in response. The INVITE -ACCEPT message then triggers a final database commit throughout all member switches in the VCS. In other words, the updated VCS configuration database is updated, replicated, and distributed to all the switches in the VCS.
  • a "joining switch” refers to a switch attempting to join a VCS.
  • a “neighboring VCS member switch” or “neighboring member switch” refers to a VCS member switch to which the joining switch is connected.
  • a VCS is pre-configured (e.g., the global configuration database) with the MAC address of a joining switch with an optionally pre- allocated mapped ID for the joining switch.
  • the joining switch may be allowed to carry any value in the VCS ID field of its existing configuration.
  • the neighboring VCS member switch can assign an FC switch domain ID and the proper VCS ID to the joining switch in the INVITE message.
  • the joining switch may be pre-provisioned to join an existing VCS (e.g., with the parameters in the default switch configuration table, such as mappedID, VCS ID, and IN VCS, populated with values corresponding to the VCS). If the pre-provisioned parameters do not guarantee a slot with the same mappedID in the global configuration database when the switch joins the VCS, the switch can revert to the default joining procedure described below.
  • Default switch joins a VCS.
  • a default switch is one that has no records of any previous joining with a VCS.
  • a switch can become a default switch if it is forced into a factory default state.
  • a joining default switch can present its initial configuration information (for example, its interface configuration details) to a neighboring VCS member switch.
  • a slot in the VCS configuration database is selected based on a monotonically incrementing number, which is used as the mapped ID for the joining switch.
  • the corresponding FC switch domain ID which is allocated to the joining switch and the joining switch's MAC is updated accordingly in this slot.
  • the neighboring VCS member switch then initiates a prepare transaction, which propagates to all VCS member switches and requires an explicit validation of the joining switch's configuration information from each VCS member switch. If the prepare transaction fails, a PRE -INVITE-FAILED message is sent to the joining switch and the joining process is aborted.
  • FIG. 7B presents a flowchart illustrating the process of a default switch joining a
  • VCS in accordance with one embodiment of the present invention.
  • the VCS member switch reserves a slot in the global configuration database (operation 722).
  • the reserved slot corresponds to a mappedID value which is also assigned to the joining switch.
  • the logical FC switch within the neighboring VCS member switch allocates an FC switch domain ID for the joining switch (operation 724). This operation resembles a similar fabric login operation in the FC switch fabric join process.
  • the neighboring VCS member switch then tentatively updates the reserved slot in the global configuration database with the allocated FC switch domain ID and the joining switch's MAC address (operation 726).
  • the neighboring VCS member switch transmits the joining switch's tentative configuration to all member switches in the VCS (operation 728), and determines whether the joining switch's configuration information is confirmed and validated by all VCS member switches (operation 730). If the joining switch's configuration is confirmed, the neighboring member switch then commits the changes to the global configuration database and completes the join process (operation 732). Otherwise, the join process is aborted and the tentative changes to the global configuration database are discarded (operation 734).
  • Switch re-joins a previously joined VCS. If for some reason a switch is joining a VCS to which the switch previously belongs (for example, due to a link failure), the FC switch domain ID that is re-allocated to the joining switch will most likely be the same.
  • the neighboring VCS member switch first checks whether the joining switch's VCS ID is the same as the existing VCS ID on the member switch. If the two VCS ID values are the same, the neighboring member switch attempts to find a slot in the global configuration database with the same mappedID value which was received from the joining switching during the tuple-exchange process. If such a slot in the global database is available, the slot is reserved for the joining switch.
  • the global configuration database is searched for a match to the joining switch's MAC address. If a match is found in another slot, the configuration information from that slot is copied to the reserved slot. Subsequently, the join process continues as described in FIG. 7 A. If the two VCS ID values are different, the system performs a join process as described blow for the use case "switch joins another VCS.”
  • FIG. 7C presents a flowchart illustrating the process of a switch re-joining a previously joined VCS, in accordance with one embodiment of the present invention.
  • a neighboring member switch first determines whether the joining switch's existing VCS ID is the same as the neighboring member switch's VCS ID (operation 740). If the two VCS IDs are different, the joining process proceeds to the operations illustrated in FIG. 7D (operation 741). If the two VCS IDs are the same, which means that the joining switch has previously been part of the same VCS, the neighboring member switch further determines whether there is a slot in the global configuration database with the same mappedID as the joining switch (operation 742).
  • the neighboring member switch reserves a slot in the global configuration database with the same mappedID (operation 744). Otherwise, the neighboring member switch reserves a slot in the global configuration database with a new mappedID, which is also communicated to the joining switch (operation 746).
  • the neighboring member switch determines whether the global configuration database contains a slot with the same MAC address as the joining switch
  • Switch joins another VCS This use case occurs when a switch is disconnected from one VCS and then connected to a different VCS without being reset to the default state. This scenario can also occur when a switch is connected to a VCS while it is participating in another VCS. In such cases, there will be a VCS ID mismatch in the join process.
  • the IN VCS field in the joining switch's configuration table might or might not be set. If the IN VCS field is not set, which means that the joining switch is not currently participating in a VCS, the join process can assign the switch a new VCS ID corresponding to the VCS the switch is joining.
  • the join process is disallowed.
  • the joining switch can complete the joining process after being set to the default state.
  • VCSs Joining of two VCSs.
  • two VCSs are allowed to merge together. Similar to the FC switch fabric formation process, the logical FC switches in both VCSs would select a new principal FC switch. This newly selected principal FC switch then re-assigns FC switch domain IDs to all the member switches. After the FC switch domain IDs are assigned, a "fabric up" message which is broadcast to all the member switches starts the VCS join process.
  • each member switch can join the VCS (which initially only contains the switch with the principal FC switch) using the "switch joins another VCS" procedure described above.
  • the infrastructure in the member switches can detect the disconnection of the switch(es) and issues a number of "domain-unreachable" notifications.
  • a comparison between the switch's configuration information and the corresponding slot information in the global VCS configuration database allows the switch to be added to the VCS using the same slot (i.e., the slot with the same mappedID) in the global configuration database.
  • FIG. 7D presents a flowchart illustrating the general operation of a switch during a join process, in accordance with one embodiment of the present invention. This operation applies to both a joining switch and a neighboring VCS member switch.
  • the logical FC switch within a switch receives an SCN notification on a newly detected switch domain ID on a link (operation 760).
  • the system then exchanges the VCS four-tuple with the neighbor switch (operation 762).
  • the system then waits for an INVITE from the neighbor member switch (operation 766). After the INVITE is received, the system determines whether the configuration information in the INVITE causes any un-resolved conflict with the local switch (operation 768). If there is an un-resolved conflict, the system rejects the INVITE (operation 770). Otherwise, the system accepts the INVITE (operation 772).
  • the system then further determines whether there is an existing slot in the global configuration database with the same mappedID as the joining switch (operation 774). If such a slot exists, the system then sends the INVITE to the joining switch (operation 775) and determines whether there is any un-resolved conflict between the configuration information stored in this slot and the information provided by the joining switch (operation 780). If so, the system revokes the INVITE (operation 782). Otherwise, the system updates the global configuration database with the joining switch's configuration information and propagates the update to all other member switches (operation 784).
  • each VCS switch unit performs source MAC address learning, similar to what an Ethernet bridge does.
  • Each ⁇ MAC address, VLAN ⁇ tuple learned on a physical port on a VCS switch unit is registered into the local Fibre Channel Name Server (FC- NS) via a logical Nx Port interface corresponding to that physical port. This registration binds the address learned to the specific interface identified by the Nx Port.
  • FC-NS instance on each VCS switch unit coordinates and distributes all locally learned ⁇ MAC address, VLAN ⁇ tuples with every other FC-NS instance in the fabric. This feature allows the dissemination of locally learned ⁇ MAC addresses, VLAN ⁇ information to every switch in the VCS.
  • the learned MAC addresses are aged locally by individual switches.
  • FIG. 8 presents a flowchart illustrating the process of looking up an ingress frame's destination MAC address and forwarding the frame in a VCS, in accordance with one embodiment of the present invention.
  • a VCS switch receives an Ethernet frame at one of its Ethernet ports (operation 802). The switch then extracts the frame's destination MAC address and queries the local FC Name Server (operation 804). Next, the switch determines whether the FC-NS returns an N_Port or an NL_Port identifier that corresponds to an egress Ethernet port (operation 806).
  • the switch forwards the frame to the identified N Port or NL Port (operation 808). Otherwise, the switch floods the frame on the TRILL multicast tree as well as on all the N Ports and NL Ports that participate in that VLAN
  • This flood/broadcast operation is similar to the broadcast process in a conventional TRILL RBridge, wherein all the physical switches in the VCS will receive and process this frame, and learn the source address corresponding to the ingress RBridge.
  • each receiving switch floods the frame to its local ports that participate in the frame's VLAN (operation 812). Note that the above operations are based on the presumption that there is a one-to-one mapping between a switch's TRILL identifier (or nickname) and its FC switch domain ID. There is also a one-to-one mapping between a physical Ethernet port on a switch and the corresponding logical FC port.
  • FIG. 9 illustrates how data frames and control frames are transported in a VCS, in accordance with an embodiment of the present invention.
  • a VCS 930 includes member switches 934, 936, 938, 944, 946, and 948.
  • An end host 932 is communicating with an end host 940.
  • Switch 934 is the ingress VCS member switch corresponding to host 932
  • switch 938 is the egress VCS member switch corresponding to host 938.
  • host 932 sends an Ethernet frame 933 to host 940.
  • Ethernet frame 933 is first encountered by ingress switch 934.
  • switch 934 Upon receiving frame 933, switch 934 first extracts frame 933 's destination MAC address.
  • Switch 934 then performs a MAC address lookup using the Ethernet name service, which provides the egress switch identifier (i.e., the RBridge identifier of egress switch 938). Based on the egress switch identifier, the logical FC switch in switch 934 performs a routing table lookup to determine the next-hop switch, which is switch 936, and the corresponding output port for forwarding frame 933. The egress switch identifier is then used to generate a TRILL header (which specifies the destination switch's RBridge identifier), and the next-hop switch information is used to generate an outer Ethernet header.
  • the egress switch identifier i.e., the RBridge identifier of egress switch 938
  • switch 934 encapsulates frame 933 with the proper TRILL header and outer Ethernet header, and sends the encapsulated frame 935 to switch 936.
  • switch 936 Based on the destination RBridge identifier in the TRILL header of frame 935, switch 936 performs a routing table lookup and determines the next hop. Based on the next-hop information, switch 936 updates frame 935 's outer Ethernet header and forwards frame 935 to egress switch 938.
  • switch 938 Upon receiving frame 935, switch 938 determines that it is the destination RBridge based on frame 935 's TRILL header. Correspondingly, switch 938 strips frame 935 of its outer Ethernet header and TRILL header, and inspects the destination MAC address of its inner Ethernet header. Switch 938 then performs a MAC address lookup and determines the correct output port leading to host 940. Subsequently, the original Ethernet frame 933 is transmitted to host 940.
  • the logical FC switches within the physical VCS member switches may send control frames to one another (for example, to update the VCS global configuration database or to notify other switches of the learned MAC addresses).
  • control frames can be FC control frames encapsulated in a TRILL header and an outer Ethernet header. For example, if the logical FC switch in switch 944 is in
  • switch 944 can sends a TRILL- encapsulated FC control frame 942 to switch 946.
  • Switch 946 can forward frame 942 just like a regular data frame, since switch 946 is not concerned with the payload in frame 942.
  • Today's server virtualization infrastructure (e.g. a Hypervisor, also called virtual machine monitor) associates a server side (e.g. Hypervisor or adapter) Virtual Ethernet Bridge (VEB) port profile to each Ethernet MAC address used by a virtual machine (VM) to access the network through a VEB port.
  • VEB's port profile attributes includes: the types of frames allowed on the port (e.g. all frames, only frames tagged with certain VLAN values, or untagged frames), the VLAN identifiers that are allowed to be used, and rate limiting attributes (e.g. port or access-control based rate limits).
  • the VEB's port profile migrates with it.
  • today's server virtualization infrastructure provides automated port profile migration of the server's VEB port(s) that are associated with a VM.
  • Today's layer-2 networks do not provide a mechanism for automatically migrating switch access and traffic controls associated with an end-point device (e.g., a VM), when that device migrates from one switch to another.
  • the migration may be physical, such as an Operating System image (application, middleware, Operating System and associated state) that is running on one physical system and is migrated to another system.
  • the migration may be also be virtual, such as an Operating System image (OS image) that is running over a Hypervisor on one system and is migrated to run over a Hypervisor on another system.
  • OS image Operating System image
  • Embodiments of the present invention provides a mechanism for automatically migrating port profiles resident in a switch and associated with an OS image to a port on a second switch, when that OS image migrates from one physical end-host system to another end- host system, which is attached to the second switch.
  • FIG. 10 illustrates a logical VCS access layer (VAL) which includes an automatic port profile manager, in accordance with one embodiment of the present invention.
  • a VCS 1000 is coupled with a number of physical server systems, such as system 1002.
  • Each physical server system runs a number of virtual machines (VMs, also called virtual servers).
  • system 1002 includes four VMs, one of which is VM 1004.
  • a VM may be dedicated to a certain application (e.g., instant messaging services, directory services, data base applications, etc.) and may have its own requirement on the network.
  • a VM running mission-critical applications may require a separate VLAN within VCS 1000 and may have more strict QoS requirement (such as guaranteed port bandwidth, low latency, and guaranteed packet delivery).
  • a VM running non-critical applications may have much lower requirements.
  • the switches within VCS 100 which are coupled externally to the physical end- host systems form a logical VCS access layer (VAL) 1010.
  • VAL logical VCS access layer
  • AMPP automatic migration of port profiles
  • various port profiles which are often tailored to different requirements of the VMs, are created and distributed to all the member switches in VCS 1000.
  • the VM's source MAC address is recognized and used to identify the corresponding port profile, which is then applied to the appropriate ingress switch port.
  • the MAC-address detection mechanism can quickly identify the new physical switch port to which the VM is coupled to, and apply the same port profile to the new port.
  • FIG. 11 illustrates an example of the operation of AMPP, in accordance with one embodiment of the present invention.
  • a VCS 1100 includes two switches 1120 and 1122, which are coupled to two physical servers, 1116 and 1118, respectively.
  • Physical server 1116 hosts four VMs, 1102, 1104, 1106, and 1008.
  • Each VM has a virtual port (VP, or virtual network interface card, VNIC).
  • VM 1102 has a VP 1110.
  • a respective VP is assigned a virtual MAC address.
  • the four VPs are logically coupled to a virtual switch 1112 which is provided by a hypervisor 1114.
  • Virtual switch 1112 is responsible for dispatching outgoing and incoming traffic through a physical NIC 1117.
  • Ethernet frame generated by a respective VM has the virtual MAC of the corresponding VP as its source address.
  • virtual switch 1112 functions as an aggregation point that provides a link to the ingress member switch in VCS 1100.
  • Physical server 1118 has a similar architecture.
  • a VM can migrate from one physical server to another (e.g., "VMotion” function provided by VMware). This migration can be event-driven or pre-scheduled. Such migration is often used to cope with changing dynamics in a number of parameters, such as server load, power consumption, resource utilization, etc.
  • one or more port profiles can be created to specify a number of requirements/restrictions/limitations that should be enforced at a VCS switch port corresponding to one or more VMs.
  • a port profile for VM 1102 (which can be identified by the virtual MAC address of VP 1110) can be created and distributed to every member switch of VCS 1100.
  • switch 1120 When VM 1102 sends its first Ethernet frame to the network, switch 1120 would learn this source MAC address. Upon learning VP 1110's MAC address, switch 1120 then searches its port profile database and identifies the matching port profile. Subsequently, the identified port profile is applied to the port on switch 1120 which is coupled to system 1116.
  • the same port profile is applied to the port where the matching MAC address is the destination MAC address of a frame. This way, the same network parameters are enforced at both ingress and egress ports of the VCS.
  • the port profile might include "soft" parameters. In other words, the requirements and limitations in the port profile may be specific to certain MAC addresses, and may not be “hard” limitations on the physical parameters of the switch port, since traffic from/to multiple VMs is handled by the same physical switch port.
  • VCS 1 100 provides a mechanism that distributes all the port profiles and the port-profile-to-MAC mapping information to all the member switches.
  • the port profiles can be created using a command line interface (CLI) or other network management software.
  • CLI command line interface
  • the target switch port in the VCS can automatically activate the correct port profile configuration upon migration of a VM (such as a VMware VMotion).
  • FIG. 12A illustrates exemplary port profile contents, in accordance with one embodiment of the present invention.
  • a port profile can contain the entire configuration needed for a VM to gain access to a LAN or WAN, which can include: Fibre Channel over Ethernet (FCoE) configuration, VLAN configuration, QoS related configuration, and security related configuration (such as access control lists, ACLs).
  • FCoE Fibre Channel over Ethernet
  • VLAN virtual local area network
  • QoS related configuration such as access control lists, ACLs
  • security related configuration such as access control lists, ACLs
  • a port profile can be capable of operating as a self contained configuration container. In other words, if a port profile is applied to a new switch without any additional configuration, the port profile should be sufficient to set the switch's global and local (interface level) configuration and allow the switch to start carrying traffic.
  • a VLAN configuration profile within a port profile can define:
  • VLAN membership which includes tagged VLANs and an untagged VLAN
  • a QoS configuration profile within a port profile can define:
  • scheduling profile such as weighted Round-Robin or strict-priority based
  • FCoE configuration profile within a port profile defines the attributes needed for the port to support FCoE, which can include:
  • a security configuration profile within a port profile defines the security rules needed for the server port. However, the security rules can be different at different ports, so some of the locally configured ACLs can be allowed to override conflicting rules from a port profile.
  • a typical security profile can contain the following attributes:
  • each port profile can have one or more MAC addresses associated with it.
  • FIG. 12B illustrates three exemplary port profiles, in accordance with on embodiment of the present invention.
  • port profile PP-1 is associated with 5
  • a port profile can be activated on a server port in three ways: (1) when a hypervisor binds a MAC address to a port profile ID; (2) through regular MAC learning; and (3) through a manual configuration process via a management interface.
  • FIG. 13 illustrates how forwarding is achieved between VMs based on port profile membership, in accordance with one embodiment of the present invention.
  • port profile 1 has two members: MAC-1 and MAC-3.
  • Port profile 2 has four members: MAC-2, MAC-4, MAC-5, and MAC-6. All the VMs belong to the same VLAN X.
  • a policy group ID GID
  • All the MAC addresses mapped to the same port profile should belong to the same policy group which dictates the forwarding boundary. This configuration allows enforcing different forwarding domains within a VLAN, as illustrated in FIG. 13B. The system then ensures that both the source MAC address and destination MAC address are part of the same port profile.
  • FIG. 14 presents a flowchart illustrating the process of creating and applying a port profile, in accordance with one embodiment of the present invention.
  • the system receives a user created port profile with the corresponding VM's MAC address (operation 1402). This MAC address is then associated with the port profile and can be later used to identify the profile.
  • the system determines whether the new profile creates dependencies on other existing profiles or conflicts (operation 1404). If so, the system allows the user to resolve the conflicting configuration and/or dependencies (operation 1406).
  • the system distributes the port profile and the corresponding VM MAC address to every member switch throughout the VCS fabric (operation 1408).
  • the system detects a matching virtual MAC address from the received ingress packets (operation 1410). Based on the learned MAC address, the system then activates the corresponding port profile on the switch port (operation 1412).
  • FIG. 15 illustrates an exemplary VCS member switch, in accordance with one embodiment of the present invention.
  • the VCS member switch is a TRILL RBridge 1500 running special VCS software.
  • RBridge 1500 includes a number of Ethernet communication ports 1501, which can transmit and receive Ethernet frames and/or TRILL encapsulated frames.
  • packet processor 1502 Also included in RBridge 1500 is a packet processor 1502, a virtual FC switch management module 1504, a logical FC switch 1505, a VCS configuration database 1506, an AMPP management module 1507, and a TRILL header generation module 1508.
  • packet processor 1502 extracts the source and destination
  • Virtual FC switch management module 1504 maintains the state of logical FC switch 1505, which is used to join other VCS switches using the FC switch fabric protocols.
  • VCS configuration database 1506 maintains the configuration state of every switch within the VCS.
  • TRILL header generation module 1508 is responsible for generating property TRILL headers for frames that are to be transmitted to other VCS member switches.
  • AMPP management module 1507 Upon learning a new MAC address from a VM, AMPP management module 1507 identifies the port profile corresponding to the learned MAC, and applies the identified port profile. This dynamic port profile application process can respond to VM migration within a very short period of time, thereby facilitating automatic port configuration in a virtual computing environment.
  • Today's server virtualization infrastructure e.g. a Hypervisor, also called virtual machine monitor
  • a Hypervisor also called virtual machine monitor
  • VEBs virtual Ethernet bridges
  • Each virtual switch serves a number of virtual machines.
  • VEBs virtual Ethernet bridges
  • the number of communication sessions among the virtual machines can be quite large.
  • a network link or port fails, the failure would typically disrupt the reachability to one or more virtual machines. This disruption can affect the communication sessions of some of the virtual machines.
  • reachability disruption only triggers a topology change and/or MAC address learning update in the network, and the source virtual machines are not notified about these updates.
  • Embodiments of the present invention facilitate advanced link tracking by monitoring any reachability disruption in the network and notifying the affected hypervisor.
  • the hypervisor can re-configure the connectivity of the virtual machines under its control to bypass the failed link or port.
  • this advanced link tracking function can be carried out in a logical VCS access layer.
  • FIG. 16 illustrates an exemplary configuration of advanced link tracking in a VCS, in accordance with one embodiment of the present invention.
  • a VCS 1600 includes four switches (which can be RBridges), 1620, 1622, 1624, and 1626.
  • a physical server 1618 is coupled to both switches 1622 and 1624 via two network interface cards (NICs), 1603 and 1605, respectively.
  • Physical server 1618 hosts four VMs, 1622, 1624, 1626, and 1628, which are managed by a hypervisor 1601.
  • Hypervisor 1601 provides two virtual switches, 1602 and 1604.
  • Each VM has two virtual ports (VPs), and is coupled to both virtual switches 1602 and 1604 via the VPs.
  • VPs virtual ports
  • each VM within physical server 1618 is dual-homed with virtual switches 1602 and 1604.
  • This configuration provides redundancy to each VM, so that when one of the physical NICs (i.e., NIC 1603 or 1605) fails, hypervisor 1601 can instruct the VMs to use the other working NIC.
  • VMs 1622 and 1624 are configured to communicate via virtual switch 1602
  • VMs 1626 and 1628 are configured to communicate via virtual switch 1604.
  • VCS 1600 Also coupled to VCS 1600 is physical servers 1617, which has a similar configuration as server 1618.
  • Server 1617 includes four VMs, 1632, 1634, 1636, and 1638. These four VMs are each dual-homed with virtual switches 1642 and 1644, which are provided by hypervisor 1641.
  • Virtual switch 1642 is coupled to VCS member switch 1620 via a NIC 1643
  • virtual switch 1644 is coupled to VCS member switch 1626 via a NIC 1645.
  • VMs 1632 and 1634 communicate with VCS 1600 via virtual switch 1642 and NIC 1643
  • VMs 1636 and 1638 communicate with VCS 1600 via virtual switch 1644 and NIC 1645.
  • VCS member switch 1626 the traffic between VMs 1622 and 1624 and VMs 1636 and 1638 is normally carried by VCS member switch 1626.
  • this rechability update information is not only reflected in the VCS topology update (which is handled by the routing protocol within VCS 1600), but also communicated to hypervisor 1601 via NIC 1603.
  • This update can allow hypervisor 1601 to quickly re-configure VMs 1622 and 1624, so that these two VMs use virtual switch 1604 and NIC 1605 to access VCS 1600. This way, the traffic from VMs 1622 and 1624 can still reach VMs 1636 and 1638 via switch 1624, switch 1620, NIC 1643, and virtual switch 1642.
  • the new data path bypasses the failed link between switches 1620 and 1626. This re-configuration can take place shortly after the link failure is detected, thereby facilitating fast recovery at the source VMs.
  • FIG. 17 illustrates an example where advanced link tracking allows virtual machines to re-route egress traffic when a link fails, in accordance with one embodiment of the present invention.
  • two servers 1702 and 1704 are coupled to a VCS 1700.
  • Server 1702 hosts four VMs, 1706, 1708, 1710, and 1712, all of which are dual-homed with virtual switches 1714 and 1716.
  • VMs 1706 and 1708 access VCS 1700 via VS 1714
  • VMs 1710 and 1712 access VCS 1700 via VS 1716.
  • Server 1704 have a similar configuration as server 1702. Assume that throughout VCS 1700 there is only one path leading from VS 1714 to VS 1718 in server 1704.
  • VCS 1700 can communicate with a third entity which maintains the connectivity-pattern information among all the VMs (such as the vCenter by VMware) to obtain information on the affected VMs.
  • VCS 1700 can notify every external port of the lost reachability, and let the individual hypervisor to determine whether reconfiguration of the VM-to-VS connectivity is necessary.
  • FIG. 18 presents a flowchart illustrating the process of advance link tracking, in accordance with one embodiment of the present invention.
  • the system first detects a link (or port) failure in the VCS (operation 1802). The system then determines whether the failure affects reachability of an end host (operation 1804). If the failure does not affect reachability of any end host, it is assumed that VCS can recover from the failure after its topology converges and the routing protocol updates every switch's forwarding table. If the reachability of an end host is affected, the system then optionally identifies ingress port(s) which are in communication with the affected end host(s) (operation 1806). Subsequently, the system notifies the end hosts via the ingress ports of the reachability disruption (operation 1808).
  • FIG. 19 illustrates an exemplary VCS member switch, in accordance with one embodiment of the present invention.
  • the VCS member switch is a TRILL RBridge 1900 running special VCS software.
  • RBridge 1900 includes a number of Ethernet communication ports 1901, which can be coupled to one or more servers hosting virtual machines and which can transmit and receive Ethernet frames and/or TRILL encapsulated frames.
  • Also included in RBridge 1900 is a packet processor 1902, a virtual FC switch management module 1904, a logical FC switch 1905, a VCS configuration database 1906, an advanced link tracking module 1907, and a TRILL header generation module 1908.
  • packet processor 1902 extracts the source and destination MAC addresses of incoming frames, and attaches proper Ethernet or TRILL headers to outgoing frames.
  • Virtual FC switch management module 1904 maintains the state of logical FC switch 1905, which is used to join other VCS switches using the FC switch fabric protocols.
  • VCS configuration database 1906 maintains the configuration state of every switch within the VCS.
  • TRILL header generation module 1908 is responsible for generating property TRILL headers for frames that are to be transmitted to other VCS member switches.
  • advanced link tracking module 1907 Upon learning about disrupted reachability in the VCS, advanced link tracking module 1907 identifies the port(s) which are affected by the disruption, and notifies the hypervisor of the disruption. This notification can allow the hypervisor to expedite the reconfiguration of the affected VMs and minimize service disruption. Furthermore, advanced link tracking module 1907 also monitors the health of all the links corresponding to ports 1901. Upon detection of any link or port failure, advanced link tracking module 1907 can notify other switches in the VCS of the link state change and any reachability disruption.
  • Today's server virtualization infrastructure e.g. a Hypervisor, also called virtual machine monitor
  • a Hypervisor also called virtual machine monitor
  • VEBs virtual Ethernet bridges
  • Each virtual switch serves a number of virtual machines.
  • VCS virtual Ethernet bridges
  • the number of communication sessions among the virtual machines can be quite large.
  • different virtual machines belong to different customers, and different customers usually require dedicated and isolated network resources for security and quality of service purposes.
  • each customer's virtual machines are placed in the same group based on the MAC address and VLAN tag of their associated virtual ports.
  • the grouping information is replicated and stored at every VCS member switch.
  • the member switch can enforce the grouping policy by looking up the group ID corresponding to the frame's source MAC address and VLAN tag. If the frame's destination MAC address combined with the VLAN tag belong to the same group, then the frame is forwarded to the proper next-hop switch. Otherwise, the frame is dropped. This configuration ensures that each customer's virtual machines only communicate within themselves, thereby creating virtual partitions within a VCS.
  • FIG. 20 illustrates an exemplary VCS network environment with virtual port grouping, in accordance with one embodiment of the present invention.
  • a VCS 2000 includes four switches (which can be RBridges), 2020, 2022, 2024, and 2026.
  • a physical server 2018 is coupled to both switches 2022 and 2024 via two network interface cards (NICs), 2003 and 2005, respectively.
  • Physical server 2018 hosts four VMs, 2022, 2024, 2026, and 2028, which are managed by a hypervisor 2001.
  • Hypervisor 2001 provides two virtual switches, 2002 and 2004.
  • Each VM has two virtual ports (VPs), and is coupled to both virtual switches 2002 and 2004 via the VPs.
  • each VM within physical server 2018 is dual-homed with virtual switches 2002 and 2004.
  • VMs 2022 and 2024 are configured to communicate via virtual switch 2002, and VMs 2026 and 2028 are configured to communicate via virtual switch 2004.
  • Server 2017 includes four VMs, 2032, 2034, 2036, and 2038. These four VMs are each dual-homed with virtual switches 2042 and 2044, which are provided by hypervisor 2041.
  • Virtual switch 2042 is coupled to VCS member switch 2020 via a NIC 2043
  • virtual switch 2044 is coupled to VCS member switch 2026 via a NIC 2045.
  • VMs 2032 and 2034 communicate with VCS 2000 via virtual switch 2042 and NIC 2043
  • VMs 2036 and 2038 communicate with VCS 2000 via virtual switch 2044 and NIC 2045.
  • VMs 2024, 2028, 2032, and 2036 belong to the same customer (as indicated by the shading in each drawing element in FIG. 20), and that these VMs are restricted to communicate only within themselves.
  • the customer would set a particular VLAN value to these VMs.
  • the customer VLAN value might not work within VCS 2000, because the customer VLAN value might conflict with existing VLAN settings within VCS 2000.
  • One way to solve this problem is to place the MAC addresses corresponding to the virtual ports of a particular customer's virtual machines, together with the customer's VLAN value, in a customer-specific group, and assign a unique group ID to this group.
  • This grouping information can be a data structure that maps a ⁇ MAC, VLAN TAG ⁇ tuple to a group ID. This data structure is replicated and distributed to every member switch in VCS 2000.
  • FIG. 21 A illustrates an exemplary data structure for storing virtual port grouping information, in accordance with one embodiment of the present invention.
  • each ⁇ MAC, VLAN TAG ⁇ tuple maps to a group ID, which is used to restrict forwarding of frames between different groups.
  • FIG. 21B illustrates logical virtual networks within a VCS as a result of virtual port grouping, in accordance with one embodiment of the present invention.
  • two servers 2102 and 2104 are coupled to a VCS 2100.
  • Server 2102 hosts four VMs, 2106, 2108, 2110, and 2112, all of which are dual-homed with virtual switches 2114 and 2116.
  • Server 2104 hosts four VMs, 2122, 2124, 2126, and 2128, all of which are dual-homed with virtual switches 2118 and 2120.
  • VMs 2108, 2112, 2124, and 2128 belong to the same customer and are expected to communicate only within themselves.
  • a VM administrator 2124 configures VMs 2108, 2112,
  • the MAC address of the virtual ports for these machines, together with the designated VLAN tag, are assigned with the same group ID.
  • VMs 2106, 2110, 2122, and 2126 and their respective VLAN tags are assigned a different group ID. This grouping information is then communicated to VCS 2100 and stored at every member switch.
  • FIG. 22 presents a flowchart illustrating the process of enforcing virtual port grouping, in accordance with one embodiment of the present invention.
  • a VCS member switch receives in ingress frame from an end host (operation 2202). The switch then identifies the group ID based on the source MAC address and VLAN tag of the received frame (operation 2204). In addition, the switch further determines whether the destination MAC address and VLAN tag of the received frame point to the same group ID (operation 2206). If so, the switch identifies the output port based on the destination MAC address and VLAN tag (operation 2208), and forwards the frame to the identified output port (operation 2210).
  • FIG. 23 illustrates an exemplary VCS member switch, in accordance with one embodiment of the present invention.
  • the VCS member switch is a TRILL RBridge 2300 running special VCS software.
  • RBridge 2300 includes a number of Ethernet communication ports 2301, which can be coupled to one or more servers hosting virtual machines and which can transmit and receive Ethernet frames and/or TRILL encapsulated frames.
  • Also included in RBridge 2300 is a packet processor 2302, a virtual FC switch management module 2304, a logical FC switch 2305, a VCS configuration database 2306, virtual port grouping module 2307, and a TRILL header generation module 2308.
  • packet processor 2302 extracts the source and destination
  • Virtual FC switch management module 2304 maintains the state of logical FC switch 2305, which is used to join other VCS switches using the FC switch fabric protocols.
  • VCS configuration database 2306 maintains the configuration state of every switch within the VCS.
  • TRILL header generation module 2308 is responsible for generating property TRILL headers for frames that are to be transmitted to other VCS member switches.
  • Virtual port grouping module 2307 is responsible for maintaining a copy of the grouping information and enforcing the grouping policies. As described in conjunction with FIG.
  • virtual port grouping module 2307 can communicate with a VM administrator (such as the VMware Vcenter) to obtain the virtual port grouping information (e.g., the complete data structure illustrated in FIG. 21 A).
  • VM administrator such as the VMware Vcenter
  • VCS allows an interconnected fabric of RBridges to function as a single logical switch.
  • the VCS name services facilitate fast distribution of run-time network state changes, including newly learned MAC addresses (which is referred to as “Ethernet name service” or “Ethernet NS” in this disclosure) and multi-chassis trunk (MCT) port state updates (which is referred to as "MCT name service” or “MCT NS” in this disclosure). More details on MCT are provided in US Patent Application No.
  • the Ethernet NS provides the ability to distribute various information across the VCS.
  • the MAC information learned at one member switch is distributed to all other member switches, which facilitates fast MAC moves (for example, during migration of virtual machines) and global MAC learning.
  • layer-2 multicast information which can be a multicast MAC address with corresponding switch/port identifiers and VLAN tag, can be distributed to facilitate efficient VCS-wide multicast.
  • Ethernet NS provides a distribution mechanism and does not maintain a central storage of the MAC-related knowledge base. In other words, the Ethernet NS knowledge database is replicated and stored distributively among all the VCS member switches.
  • Each member switch maintains a database of all the MAC addresses learned throughout the VCS. This database can be used to minimize the amount of flooding (a default behavior of Ethernet switch when a frame's destination MAC address is not recognized).
  • Ethernet NS also provides VCS-wide distribution of multicast MAC-to-RBridge/Port mapping information which can be obtained by Internet Group Management Protocol (IGMP) snooping.
  • IGMP Internet Group Management Protocol
  • IETF RFC 3376 available at http://tools.ietf.org/html/rfc3376 and IETF RFC 4541 available at
  • Ethernet NS distributes this information to all RBridges, thereby allowing the VCS to behave as a single switch. By tracking and forwarding IGMP join and leave information, the Ethernet NS can efficiently track the multicast MAC information and maintain an accurate layer-2 multicast group.
  • MCT multi-chassis trunking
  • FIG. 24 illustrates an example of name service operation in a VCS, in accordance with one embodiment of the present invention.
  • a VCS 2400 includes four member switches (Rbridges), 2402, 2404, 2406, and 2408.
  • Rbridges switches
  • an end host 2414 is coupled to switch 2402 during operation.
  • switch 2402 would not recognize the source MAC address of this ingress frame.
  • switch 2402 Upon receiving this ingress frame, switch 2402 then determines the port (or interface) on which the frame arrives and the frame's VLAG tag.
  • switch 2402 assembles an Ethernet NS update frame which indicates the learned MAC address (which corresponds to end host 2414), its switch identifier (which in one embodiment is the RBridge ID of switch 2402), the port identifier, and the VLAG tag for the frame.
  • this frame is an FC registered state change notification (RSCN) encapsulated in a TRILL header.
  • switch 2402 can obtain the information of all other member switches in the VCS by looking up the global configuration database.
  • switch 2402 can send the Ethernet NS update frame to switches 2404, 2408, and 2406, respectively.
  • each member switch updates its own MAC database accordingly. In this way, when one of the member switches receives an Ethernet frame destined to end-host 2414, it can forward that frame to switch 2402 (instead of flooding the frame to all of its ports).
  • MCT group 2416 is formed by an end host 2412 which is dual-homed with switches 2406 and 2408. Assume that switch 2406 is the primary RBridge in MCT group 2416. When end host 2412 and MCT group 2410 is first configured, switch 2406 assigns a virtual RBridge 2410 to MCT group 2410. In addition, switch 2406 notifies the rest of VCS 2400 about the MAC address of end host 2412. Note that the NS update associated the MAC address of end host 2412 indicates the identifier of virtual RBridge 2410 (instead of the identifier of either switch 2406 or switch 2408).
  • VCS 2400 can associate end host 2412 with virtual RBridge 2410.
  • a member switch in VCS 2400 would forward the frame toward virtual RBridge 2410 (i.e., by setting RBridge 2410 as the destination RBridge in the TRILL header).
  • switch 2406 is also responsible for distributing the link state information with respect to the virtual connectivity between virtual RBridge 2410 and switches 2406 and 2408 (indicated by the dotted lines).
  • primary RBridge 2406 is responsible for updating the rest of the VCS 2400 that host 2412's MAC address is no longer associated with virtual RBidge 2410. Instead, the MAC address of host 2412 is now associated with the switch to which host 2412 remains connected. In a further embodiment, it can be the responsibility of the switch that remains connected to host 2412 to distribute the updated MAC address association to the rest of VCS 2400.
  • FIG. 25 presents a flowchart illustrating the process of distributing learned MAC information by the Ethernet name service in a VCS, in accordance with one embodiment of the present invention.
  • a VCS member switch detects an ingress frame with a new source MAC address (operation 2502). The switch then identifies the port on which the ingress frame is received (operation 2504). Subsequently, the switch assembles an Ethernet NS update frame with the learned MAC address, the switch identifier, port identifier, and VLAN tag (operation 2506). The switch then distributes the Ethernet NS update frames to all member switches in the VCS (operation 2508).
  • FIG. 26 presents a flowchart illustrating the process of distributing information of a learned MAC address via an MCT, in accordance with one embodiment of the present invention.
  • one of the switches in a MCT group detects an ingress frame with a new source MAC address (operation 2602).
  • the switch determines whether the end host which generates the frame is dual-homed with the MCT group (operation 2604).
  • the switch can make this determination by communicating with the other switch of the MCT group.
  • the switch can inspect the link aggregation group (LAG) ID of the ingress frame to determine whether the end host is transmitting using a LAG. If the frame is an MCT frame, the switch then assembles an Ethernet NS update frame with the MAC address, the virtual RBridge identifier corresponding to the MCT, a port identifier, and the VLAG tag of the frame (operation 2606).
  • LAG link aggregation group
  • the switch If the frame is determined to be from a regular end host (i.e., not a dual-homed host), the switch assembles an Ethernet NS updated frame with the MAC address, the local physical switch identifier (as opposed to the virtual RBridge ID), the identifier of the port on which the frame is received, and the frame's VLAN tag (operation 2607). The switch then distributes the Ethernet NS update frames to all the member switches in the VCS (operation 2608).
  • FIG. 27 presents a flowchart illustrating the process of updating the link state in an MCT group, in accordance with one embodiment of the present invention.
  • one of the MCT partner switches detects a link or port failure which is part of the MCT group (operation 2702). Note that this failure can be detected locally (which means a port on the local switch or a link coupled to a local port has failed), or be detected remotely (which means that the failure occurs on the partner switch and the local switch is notified of the failure by the partner switch).
  • the switch determines whether the MCT end host is still connected to the local switch (operation 2704).
  • the local switch optionally notifies the other partner switch in the MCT of the failure (operation 2710) and takes no further actions, assuming that the partner switch will assume responsibility of updating the link state (using, for example, the same procedure illustrated in FIG. 27).
  • the switch then assembles an NS update frame with the end host's MAC address, the local switch's identifier (e.g., the physical RBridge ID of the local switch), the identifier of the port thought which the end host is connected, and the proper VLAN tag (operation 2706).
  • the switch then distributes the NS update frames to all member switches in the VCS (operation 2708).
  • FIG. 28 illustrates an exemplary switch that facilitates formation of a virtual cluster switch with Ethernet and MCT name services, in accordance with an embodiment of the present invention.
  • the VCS member switch is a TRILL RBridge 2800 running special VCS software.
  • RBridge 2800 includes a number of Ethernet communication ports 2801, which can transmit and receive Ethernet frames and/or TRILL encapsulated frames.
  • Also included in RBridge 2800 is a packet processor 2802, a virtual FC switch management module 2804, a logical FC switch 2805, a VCS configuration database 2806, a name services management module 2807, and a TRILL header generation module 2808.
  • packet processor 2802 extracts the source and destination MAC addresses of incoming frames, and attaches proper Ethernet or TRILL headers to outgoing frames.
  • Virtual FC switch management module 2804 maintains the state of logical FC switch 2805, which is used to join other VCS switches using the FC switch fabric protocols.
  • VCS configuration database 2806 maintains the configuration state of every switch within the VCS.
  • TRILL header generation module 2808 is responsible for generating property TRILL headers for frames that are to be transmitted to other VCS member switches.
  • NS management module 2807 Based on the extracted MAC addresses of incoming frames, NS management module 2807 distributes the NS update frames to the rest of the VCS. NS management module 2807 also maintains a copy of NS database 2809.
  • NS database 2809 stores all the learned MAC address information from every member switch in the VCS. Equal Cost Multi-pathing
  • FIG. 29 illustrates an exemplary equal cost multi-pathing configuration in a VCS, in accordance with one embodiment of the present invention.
  • a VCS 2930 includes switches 2934, 2936, 2938, 2944, 2946, and 2948. Assume that a traffic flow enters VCS 2930 via ingress switch 2934 and exits VCS 2930 via egress switch 2948. Based on the hop distance, there are two equal-cost data paths, 2950 and 2952.
  • FSPF Fabric Shortest Path First
  • switch 2934's forwarding engine when determining the output interface, can return two possible output ports, corresponding to data paths 2950 and 2952, respectively. If load balancing is desired, traffic from switch 2934 to switch 2948 can be split between the two data paths.
  • the traffic splitting can be based on any field in a frame header.
  • the traffic can be split based on VLAN tags.
  • the traffic can also be split based on layer-4 port numbers or application types.
  • the VCS can achieve loss-less packet transport by implementing a number of flow control mechanisms.
  • the VCS member switches implement a priority-based flow control (PFC)-like mechanism to ensure a loss-less packet transport between neighboring switches.
  • PFC priority-based flow control
  • traffic class is identified by the VLAN tag priority values.
  • Priority-based flow control is intended to eliminate frame loss due to congestion. This is achieved by a mechanism similar to the IEEE 802.3x PAUSE, but operating on individual priorities. This mechanism enables support for higher layer protocols that are highly loss sensitive while not affecting the operation of traditional LAN protocols utilizing other priorities. Details of PFC can be found in the IEEE 802.1Qbb standard, available at http://www.ieee802.Org/l/pages/802.lbb.html, which is incorporated by reference herein.
  • the VCS member switch also employ enhanced transmission selection mechanisms, which support allocation of bandwidth amongst different traffic classes.
  • enhanced transmission selection will allow other traffic classes to use the available bandwidth.
  • the bandwidth-allocation priorities can coexist with strict priorities.
  • the VCS can prioritize traffic to provide different service characteristics to traffic classes. It is possible to share bandwidth between priorities carrying bursty loads rather than servicing them with strict priority while allowing strict priority for time-sensitive and management traffic requiring minimum latency. Also, when traffic at a given priority level does not use its allocation, it is possible to allow other priorities to use that bandwidth. Details of ETS can be found in the IEEE 802. lQas standard, available at http://www.ieee802.Org/l/pages/802. laz.html, which is incorporated by reference herein.
  • the VCS member switches can also implement congestion notification mechanisms to facilitate source-oriented flow control.
  • FIG. 30 illustrates an example of VCS congestion notification, in accordance with one embodiment of the present invention.
  • a source host 3002 is transmitting frames to a destination host 3004 via a VCS 3000.
  • congestion occurs at an intermediary switch 3006.
  • a queue monitoring mechanism within switch 3006 is triggered when the content of queue 3008 passes a
  • switch 3006 can randomly select a frame in queue 3008, extract the source MAC address of the selected frame to construct a congestion notification frame, and send this notification frame to the source device corresponding to the extracted source MAC address (which is host 3002).
  • Switch 3006 can perform the same action with multiple frames in queue 3008, so that if multiple sources are contributing to the congestion, these sources can all be notified.
  • the trunked links between two neighboring VCS member switches can be further trunked to form a hybrid trunk.
  • FIG. 31 illustrates an exemplary hybrid trunk in accordance with one embodiment of the present invention.
  • two link trunk groups 3106 and 3108 are formed between VCS member switches 3102 and 3104.
  • LAG link aggregation group
  • trunks 3106 and 3108 can be regarded as logical links.
  • LAG 3110 can also include other individual, physical links (not shown).
  • FIG. 32 illustrates an exemplary VCS member switch, in accordance with one embodiment of the present invention.
  • the VCS member switch is a TRILL RBridge 3200 running special VCS software.
  • RBridge 3200 includes a number of Ethernet communication ports 3201, which can transmit and receive Ethernet frames and/or TRILL encapsulated frames.
  • Also included in RBridge 3200 is a packet processor 3202, a virtual FC switch management module 3204, a logical FC switch 3205, a VCS configuration database 3206, a traffic management module 3207, and a TRILL header generation module 3208.
  • packet processor 3202 extracts the source and destination MAC addresses of incoming frames, and attaches proper Ethernet or TRILL headers to outgoing frames.
  • Virtual FC switch management module 3204 maintains the state of logical FC switch 3205, which is used to join other VCS switches using the FC switch fabric protocols.
  • VCS configuration database 3206 maintains the configuration state of every switch within the VCS.
  • TRILL header generation module 3208 is responsible for generating property TRILL headers for frames that are to be transmitted to other VCS member switches.
  • Traffic management module 3207 facilitates the aforementioned traffic management functions, such as multi-pathing, flow control, congestion notification, and hybrid trunking.
  • a converged network extension (CNE) device can be implemented in a two-box solution, wherein one box is capable of L2/L3/FCoE switching and is part of the VCS, and the other facilitates the WAN tunneling to transport Ethernet and/or FC traffic over WAN.
  • the CNE device can also be implemented in a one -box solution, wherein a single piece of network equipment combines the functions of L2/L3/FCoE switching and WAN tunneling.
  • VCS as a layer-2 switch uses TRILL as its inter-switch connectivity and delivers a notion of single logical layer-2 switch.
  • This single logical layer-2 switch delivers a transparent LAN service.
  • All the edge ports of VCS support standard protocols and features like Link Aggregation Control Protocol (LACP), Link Layer Discovery Protocol (LLDP), VLANs, MAC learning, etc.
  • LACP Link Aggregation Control Protocol
  • LLDP Link Layer Discovery Protocol
  • VCS achieves a distributed MAC address database using Ethernet Name Service (eNS) and attempts to avoid flooding as much as possible.
  • eNS Ethernet Name Service
  • VCS also provides various intelligent services, such as virtual link aggregation group (vLAG), advance port profile management (APPM), End-to-End FCoE, Edge-Loop-Detection, etc.
  • vLAG virtual link aggregation group
  • APM advance port profile management
  • End-to-End FCoE End-to-End FCoE
  • Edge-Loop-Detection
  • each data center is represented as a single logical RBridge.
  • This logical RBridge can be assigned a virtual RBridge ID or use the RBridge ID of the CNE device that performs the WAN tunneling.
  • FIG. 33 illustrates an exemplary network architecture which includes CNE devices for facilitate cross-data-center communications, in accordance with one embodiment of the present invention.
  • two data centers 3344 and 3346 are coupled to a WAN 3326 via gateway routers 3324 and 3328, respectively.
  • Data center 3344 includes a VCS 3316, which couples to a number of hosts, such as host 3301, via its member switches, such as switch 3310.
  • Host 3301 includes two VMs 3302 and 3304, which are coupled to virtual switches 3306 and 3308 in a dual-homing configuration.
  • virtual switches 3306 and 3308 reside on two network interface cards on host 3301. Virtual switches 3306 and 3308 are coupled to VCS member switch 3310.
  • CNE device 3318 is configured to receive both Ethernet (or TRILL) traffic from member switch 3310 via an Ethernet (or TRILL) link 3312, and FC traffic via FC link 3314. Also coupled to CNE device 3318 is a target storage device 3320, and a cloned target storage device 3322 (denoted by dotted lines). CNE device 3318 maintains an FCIP tunnel to data center 3346 across WAN 3326 via gateway routers 3324 and 3328.
  • data center 3346 includes a VCS 3342, which in turn includes a member switch 3332.
  • Member switch 3332 is coupled to a host 3341, which includes VMs 3334 and 3336, both of which are coupled to virtual switches 3338 and 3340.
  • VCS 3342 Also included in VCS 3342 is a CNE device 3330.
  • CNE device is coupled to member switch 3332 via an Ethernet (TRILL) link and an FC link.
  • TRILL Ethernet
  • FC link FC link
  • CNE device 3330 is also coupled to target storage device 3322 and a clone of target storage device 3320.
  • CNE device 3318 modifies the egress TRILL frames' header so that the destination RBridge identifier is the RBridge identifier assigned to data center 3346. CNE device 3318 then uses the FCIP tunnel to deliver these TRILL frames to CNE device 3330, which in turn forwards these TRILL frames to their respective layer-2 destinations.
  • VCS uses FC control plane to automatically form a fabric and assign RBridge identifiers to each member switch.
  • the CNE architecture keeps the TRILL and SAN fabrics separate between data centers. From a TRILL point of view, each VCS (which corresponds to a respective data center) is represented as a single virtual RBrdige.
  • the CNE device can be coupled to a VCS member switch with both a TRILL link and an FC link. The CNE device can join the VCS via a TRILL link.
  • the CNE devices keeps the TRILL VCS fabric and SAN (FC) fabric separate, the FC link between the CNE device and the member switch is configured for FC multi-fabric.
  • a data center 3408 is coupled to a WAN via a gateway router 3410, and a data center 3420 is coupled to the WAN via a gateway router 3412.
  • Data center 3408 includes a VCS 3406, which includes a member switch 3404.
  • CNE device 3402 is coupled to VCS member switch 3404 via a TRILL link and an FC link. CNE device 3402 can join the VCS via the TRILL link.
  • FC link allows CNE device 3402 to maintain a separate FC fabric with VCS member switch 3404 to carry FC traffic.
  • the FC port on CNE device 3402 is an FC EX_port.
  • the corresponding port on member switch 3404 is an FC E_port.
  • the port on CNE device 3402 on the WAN side (coupling to gateway router 3410) is an FCIP VE_port.
  • Data center 3420 has a similar configuration.
  • each data center's VCS includes a node designated as the ROOT RBridge for multicast purposes.
  • the CNE devices in the VCSs exchange each VCS's ROOT RBridge identifier.
  • the CNE devices also exchange each data center's RBridge identifier. Note that this RBridge identifier represents the entire data center. Information related to data-center RBridge identifiers is distributed as a static route to all the nodes in the local VCS.
  • FIG. 35 A presents a diagram illustrating how CNE devices handle broadcast, unknown unicast, and multicast (BUM) traffic across data centers, in accordance with one embodiment of the present invention.
  • two data centers, DC-1 and DC-2 are coupled to an IP WAN via core IP routers.
  • the CNE device in DC-1 has an RBridge identifier of RB4, and the CNE device in DC-2 has an RBridge identifier of RB6.
  • a member switch RBI is coupled to host A.
  • a member switch RB5 is coupled to host Z.
  • host A needs to send multicast traffic to host Z, and that host A already has the knowledge of host Z's MAC address.
  • host A assembles an Ethernet frame 3502, which has host Z's MAC address (denoted as MAC-Z) as its destination address (DA), and host A's MAC address (denoted as MAC-A) as its source address (SA).
  • member switch RBI assembles a TRILL frame 3503, whose TRILL header 3506 includes the RBridge identifier of data center DC-l's root RBridge (denoted as "DC 1 -ROOT") as the destination RBridge, and RBI as the source RBridge.
  • the outer Ethernet header 3504 of frame 3503 has CNE device RB4's MAC address (denoted as MAC-RB4) as the DA, and member switch RBl's MAC address (denoted as MAC-RB 1 ) as the S A.
  • CNE device RB4 When frame 3503 reaches CNE device RB4, it further modifies the frame's TRILL header to produce frame 3505.
  • CNE device RB4 replaces the destination RBridge identifier in the TRILL header 3510 with data center DC-2's root RBridge identifier DC2-ROOT.
  • the source RBridge identifier is changed to data center DC-l's virtual RBridge identifier, DC1- RB (which allows data center DC-2 to learn data center DC-l's RBridge identifier).
  • Ethernet header 3508 has the core router's MAC address (MAC-RTR) as its DA, and CNE device RB4's MAC address (MAC-DC- 1) as its SA.
  • MAC-RTR core router's MAC address
  • MAC-DC- 1 CNE device RB4's MAC address
  • Frame 3505 is subsequently transported across the IP WAN in an FCIP tunnel and reaches CNE device RB6.
  • CNE device RB6 updates the header to produce frame 3507.
  • Frame 3507's TRILL header 3514 remains the same as frame 3505.
  • Ethernet header 3512 now has member switch RB5's MAC address, MAC-RB5, as its DA, and CNE device RB6's MAC address, MAC-RB6, as its SA. Once frame 3507 reaches member switch RB5, the TRILL header is removed, and the inner Ethernet frame is delivered to host Z.
  • a CNE device can be configured to allow or disallow unknown unicast, broadcast (e.g., ARP), or multicast (e.g., IGMP snooped) traffic to cross data center boundaries.
  • ARP e.g., ARP
  • multicast e.g., IGMP snooped
  • all TRILL encapsulated BUM traffic between data centers can be sent with the remote data center's root RBrdige identifier. This translation is done at the terminating point of the FCIP tunnel.
  • Additional mechanisms can be implemented to minimize BUM traffic across data centers. For instance, the TRILL ports between the CNE device and any VCS member switch can be configured to not participate in any of the VLAN MGIDs.
  • the eNS on both VCSs can be configured to synchronize their learned MAC address database to minimize traffic with unknown MAC DA. (Note that in one embodiment, before the learned MAC address databases are synchronized in different VCSs, frames with unknown MAC DAs are flooded within the local data center only.)
  • broadcast traffic such as ARP traffic can be reduced by snooping ARP responses to build ARP databases on VCS member switches.
  • the learned ARP databases are then exchanged and synchronized across different data centers using eNS.
  • Proxy-based ARP is used to respond to all know ARP requests in a VCS.
  • multicast traffic across data centers can be reduced by distributing the multicast group membership across data canters by sharing the IGMP snooping information via eNS. Forwarding Unicast Traffic Across Data Centers
  • corresponding destination RBridge i.e., the RBridge identifier of the member switch to which the destination host is attached, and the destination RBridge field in the TRILL header is updated accordingly.
  • FIG. 35B presents a diagram illustrating how CNE devices handle unicast traffic across data centers, in accordance with one embodiment of the present invention.
  • host A assembles an Ethernet frame 3502, which has host Z's MAC address (MAC-Z) as its DA, and host A's MAC address (MAC-A) as its SA.
  • member switch RBI assembles a TRILL frame 3503, whose TRILL header 3509 includes the RBridge identifier of data center DC-2's virtual Rbridge (denoted as "DC2-RB") as the destination RBridge, and RBI as the source RBridge.
  • the outer Ethernet header 3504 of frame 3503 has CNE device RB4's MAC address (MAC-RB4) as the DA, and member switch RBl's MAC address (MAC-RB 1 ) as the S A.
  • CNE device RB4 When frame 3503 reaches CNE device RB4, it further modifies the frame's TRILL header to produce frame 3505.
  • CNE device RB4 replaces the source RBridge identifier in the TRILL header 3511 with data center DC-l's virtual RBridge identifier DC1-RB (which allows data center DC-2 to learn data center DC-l's RBridge identifier).
  • Outer Ethernet header 3508 has the core router's MAC address (MAC-RTR) as its DA, and CNE device RB4's MAC address (MAC-DC- 1) as its SA.
  • Frame 3505 is subsequently transported across the IP WAN in an FCIP tunnel and reaches CNE device RB6.
  • CNE device RB6 updates the header to produce frame 3507.
  • Frame 3507's TRILL header 3515 has an updated destination RBridge identifier, which is RB5, the VCS member switch in DC-2 that couples to host Z.
  • the outer Ethernet header 3512 now has member switch RB5's MAC address, MAC-RB5, as its DA, and CNE device RB6's MAC address, MAC-RB6, as its SA.
  • the TRILL header is removed, and the inner Ethernet frame is delivered to host Z. Learning MAC Addresses and Distributing Configuration Information Across Data Centers
  • VCSs in different data-centers do not join each other; hence the distributed configurations are kept separate. However, in order to allow virtual machines to move across data-centers, there will be some configuration data that needs to be synchronized across data-centers.
  • a special module in either software or hardware is created for CNE purposes. This module is configured to retrieve the configuration information needed to facilitate moving of virtual machines across data centers and it is synchronized between two or more VCSs.
  • the learned MAC address databases are distributed across data centers. Also, edge port state change notifications (SCNs) are also distributed across data centers. When a physical RBridge is going down, the SCN is converted to multiple port SCNs on the inter-data-center FCIP link.
  • SCNs edge port state change notifications
  • a VCS can form a vLAG between two or more CNE devices.
  • the vLAG RBridge identifier is used as the data-center RBridge identifier.
  • the FCIP control plane is configured to be aware of this arrangement and exchange the vLAG RBridge identifers in such cases.
  • FIG. 14 illustrates an example where two CNE devices are used to construct a vLAG, in accordance with an embodiment of the present invention.
  • a VCS 1400 includes two CNE devices 1406 and 1408. Both CNE devices 1406 and 1408 forms a vLAG 1410 which is coupled to a core IP router.
  • vLAG 1410 is assigned a virtual RBridge identifier, which is also used as the data-center RBridge identifier for VCS 1400.
  • vLAG 1410 can facilitate both ingress and egress load balancing (e.g., based on equal-cost multi-pathing (ECMP)) for any member switch within VCS 1400.
  • ECMP equal-cost multi-pathing
  • FIG. 37 illustrates an exemplary CNE device, in accordance with one
  • a CNE device 3700 includes a number of TRILL ports 3702, FC ports 3704, and FCIP ports 3705.
  • TRILL ports 3702 and FC ports 3704 are used to handle traffic within the local data center.
  • FCIP ports 3705 are used to couple to WAN network equipment, such as IP routers. These ports are internally coupled to a packet processor 3706, which is responsible for updating a received frame's header(s).
  • an address management module 3708 which is responsible for maintaining the virtual data-center RBridge identifier, learning address information from remote data centers, and updating the source RBrdige field for outgoing frames to a remote data center.
  • an FCIP management module 3710 which maintains the FCIP tunnel and is responsible for exchanging configuration information via the FCIP tunnel
  • TRILL management module 3712 which manages the TRILL connection with the local VCS.
  • the methods and processes described herein can be embodied as code and/or data, which can be stored in a computer-readable non-transitory storage medium.
  • code and/or data can be stored in a computer-readable non-transitory storage medium.
  • the computer system When a computer system reads and executes the code and/or data stored on the computer-readable non- transitory storage medium, the computer system performs the methods and processes embodied as data structures and code and stored within the medium.
  • the methods and processes described herein can be executed by and/or included in hardware modules or apparatus.
  • These modules or apparatus may include, but are not limited to, an application-specific integrated circuit (ASIC) chip, a field-programmable gate array (FPGA), a dedicated or shared processor that executes a particular software module or a piece of code at a particular time, and/or other programmable-logic devices now known or later developed.
  • ASIC application-specific integrated circuit
  • FPGA field-programmable gate array
  • a dedicated or shared processor that executes a particular software module or a piece of code at a particular time
  • other programmable-logic devices now known or later developed.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

One embodiment of the present invention provides a switch system. The switch system includes one or more ports (208, 210) on the switch configured to transmit packets encapsulated based on the TRILL protocol. The switch system further includes a control mechanism. During operation, the control mechanism forms a logical switch based on the Fibre Channel protocol, receives an automatically assigned identifier for the logical switch without requiring manual configuration of the identifier, and joins a virtual cluster switch (200).

Description

VIRTUAL CLUSTER SWITCHING
Inventors: Suresh Vobbilisetty, Dilip Chatwani, Shiv Haris, Phanidhar Koganti, Vidyasagara R.
Guntaka, Jesse B. Willeke, and Senthilkumar Narayanasamy
BACKGROUND
Field
[0001] The present disclosure relates to network design. More specifically, the present disclosure relates to a method for a constructing a scalable switching system that facilitates automatic configuration.
Related Art
[0002] The relentless growth of the Internet has brought with it an insatiable demand for bandwidth. As a result, equipment vendors race to build larger, faster, and more versatile switches to move traffic. However, the size of a switch cannot grow infinitely. It is limited by physical space, power consumption, and design complexity, to name a few factors. More importantly, because an overly large system often does not provide economy of scale due to its complexity, simply increasing the size and throughput of a switch may prove economically unviable due to the increased per-port cost.
[0003] One way to increase the throughput of a switch system is to use switch stacking. In switch stacking, multiple smaller-scale, identical switches are interconnected in a special pattern to form a larger logical switch. However, switch stacking requires careful configuration of the ports and inter-switch links. The amount of required manual configuration becomes prohibitively complex and tedious when the stack reaches a certain size, which precludes switch stacking from being a practical option in building a large-scale switching system. Furthermore, a system based on stacked switches often has topology limitations which restrict the scalability of the system due to fabric bandwidth considerations. SUMMARY
[0004] One embodiment of the present invention provides a switch system. The switch includes one or more ports on the switch configured to transmit packets encapsulated based on a first protocol. The switch further includes a control mechanism. During operation, the control mechanism forms a logical switch based on a second protocol, receives an automatically assigned identifier for the logical switch without requiring manual configuration of the identifier, and joins a virtual cluster switch.
[0005] In a variation on this embodiment, the virtual cluster switch comprises one or more physical switches which are allowed to be coupled in an arbitrary topology. Furthermore, the virtual cluster switch appears to be one single switch.
[0006] In a further variation, the first protocol is a Transparent Interconnection of Lots of Links (TRILL) protocol, and the packets are encapsulated in TRILL headers.
[0007] In a variation on this embodiment, the logical switch formed by the control mechanism is a logical Fibre Channel (FC) switch.
[0008] In a further variation, the identifier assigned to the logical switch is an FC switch domain ID.
[0009] In a variation on this embodiment, the control mechanism is further configured to maintain a copy of configuration information for the virtual cluster switch.
[0010] In a further variation on this embodiment, the configuration information for the virtual cluster switch comprises a number of logical switch identifiers assigned to the physical switches in the virtual cluster switch.
[0011] In a variation on this embodiment, the switch includes a media access control (MAC) learning mechanism which is configured to learn a source MAC address and a corresponding VLAN identifier of an ingress packet associated with a port and communicate a learned MAC address, a corresponding VLAN identifier, and the corresponding port information to a name service.
[0012] One embodiment of the present invention provides a switching system that includes a plurality of switches configured to transport packets using a first protocol. Each switch includes a control mechanism. The plurality switches are allowed to be coupled in an arbitrary topology. Furthermore, the control mechanism automatically configures the respective switch within the switching system based on a second protocol without requiring manual configuration, and
the switching system appears externally as a single switch. [0013] In a variation on this embodiment, a respective switch in the switching system receives an automatically configured identifier associated with a logical switch formed on the respective switch.
[0014] In a further variation, the logical switch is a logical FC switch. In addition, the identifier is an FC switch domain ID.
[0015] In a further variation, the packets are transported between switches based on a TRILL protocol. The respective switch is assigned a TRILL RBridge identifier that corresponds to the FC switch domain ID.
[0016] In a variation on this embodiment, a respective switch maintains a copy of configuration information of all the switches in the switching system.
[0017] In a variation on this embodiment, the switching system includes a name service which maintains records of MAC addresses and VLAN information learned by a respective switch.
BRIEF DESCRIPTION OF THE FIGURES
[0018] FIG. 1 A illustrates an exemplary virtual cluster switch (VCS) system, in accordance with an embodiment of the present invention.
[0019] FIG. IB illustrates an exemplary VCS system where the member switches are configured in a CLOS network, in accordance with an embodiment of the present invention.
[0020] FIG. 2 illustrates the protocol stack within a virtual cluster switch, in accordance with an embodiment of the present invention.
[0021] FIG. 3 illustrates an exemplary configuration of a virtual cluster switch, in accordance with an embodiment of the present invention.
[0022] FIG. 4 illustrates an exemplary configuration of how a virtual cluster switch can be connected to different edge networks, in accordance with an embodiment of the present invention.
[0023] FIG. 5A illustrates how a logical Fibre Channel switch fabric is formed in a virtual cluster switch in conjunction with the example in FIG. 4, in accordance with an embodiment of the present invention.
[0024] FIG. 5B illustrates an example of how a logical FC switch can be created within ; physical Ethernet switch, in accordance with one embodiment of the present invention.
[0025] FIG. 6 illustrates an exemplary VCS configuration database, in accordance with an embodiment of the present invention.
[0026] FIG. 7A illustrates an exemplary process of a switch joining a virtual cluster switch, in accordance with an embodiment of the present invention.
[0027] FIG. 7B presents a flowchart illustrating the process of a default switch joining a VCS, in accordance with one embodiment of the present invention.
[0028] FIG. 7C presents a flowchart illustrating the process of a switch re-joining a previously joined VCS, in accordance with one embodiment of the present invention.
[0029] FIG. 7D presents a fiowchart illustrating the general operation of a switch during a join process, in accordance with one embodiment of the present invention.
[0030] FIG. 8 presents a fiowchart illustrating the process of looking up an ingress frame's destination MAC address and forwarding the frame in a VCS, in accordance with one embodiment of the present invention.
[0031] FIG. 9 illustrates how data frames and control frames are transported through a VCS, in accordance with one embodiment of the present invention.
[0032] FIG. 10 illustrates a logical VCS access layer (VAL) which includes an automatic port profile manager, in accordance with one embodiment of the present invention.
[0033] FIG. 11 illustrates an example of the operation of automatic migration of port profiles (AMPP), in accordance with one embodiment of the present invention
[0034] FIG. 12A illustrates exemplary port profile contents, in accordance with one embodiment of the present invention.
[0035] FIG. 12B illustrates three exemplary port profiles, in accordance with on embodiment of the present invention.
[0036] FIG. 13 illustrates how forwarding is achieved between VMs based on port profile membership, in accordance with one embodiment of the present invention.
[0037] FIG. 14 presents a fiowchart illustrating the process of creating and applying a port profile, in accordance with one embodiment of the present invention.
[0038] FIG. 15 illustrates an exemplary VCS member switch, in accordance with one embodiment of the present invention.
[0039] FIG. 16 illustrates an exemplary configuration of advanced link tracking in a VCS, in accordance with one embodiment of the present invention.
[0040] FIG. 17 illustrates an example where advanced link tracking allows virtual machines to re-route egress traffic when a link fails, in accordance with one embodiment of the present invention.
[0041] FIG. 18 presents a fiowchart illustrating the process of advance link tracking, in accordance with one embodiment of the present invention. [0042] FIG. 19 illustrates an exemplary switch that facilitates virtual cluster switching and advanced link tracking, in accordance with one embodiment of the present invention.
[0043] FIG. 20 illustrates an exemplary VCS network environment with virtual port grouping, in accordance with one embodiment of the present invention.
[0044] FIG. 21 A illustrates an exemplary data structure for storing virtual port grouping information, in accordance with one embodiment of the present invention.
[0045] FIG. 2 IB illustrates logical virtual networks within a VCS as a result of virtual port grouping, in accordance with one embodiment of the present invention.
[0046] FIG. 22 presents a flowchart illustrating the process of enforcing virtual port grouping, in accordance with one embodiment of the present invention.
[0047] FIG. 23 illustrates an exemplary switch that facilitates virtual cluster switching with virtual port grouping, in accordance with one embodiment of the present invention.
[0048] FIG. 24 illustrates an example of name service operation in a VCS, in accordance with one embodiment of the present invention.
[0049] FIG. 25 presents a flowchart illustrating the process of distributing learned MAC information by the Ethernet name service in a VCS, in accordance with one embodiment of the present invention.
[0050] FIG. 26 presents a flowchart illustrating the process of distributing information of a learned MAC address via an MCT, in accordance with one embodiment of the present invention.
[0051] FIG. 27 presents a flowchart illustrating the process of updating the link state in an MCT group, in accordance with one embodiment of the present invention.
[0052] FIG. 28 illustrates an exemplary switch that facilitates formation of a virtual cluster switch with Ethernet and MCT name services, in accordance with an embodiment of the present invention.
[0053] FIG. 29 illustrates an exemplary equal cost multi-pathing configuration in a VCS, in accordance with one embodiment of the present invention.
[0054] FIG. 30 illustrates an example of VCS congestion notification, in accordance with one embodiment of the present invention.
[0055] FIG. 31 illustrates an exemplary hybrid trunk in accordance with one
embodiment of the present invention.
[0056] FIG. 32 illustrates an exemplary VCS member switch, in accordance with one embodiment of the present invention. [0057] FIG. 33 illustrates an exemplary network architecture which includes CNE devices for facilitate cross-data-center communications, in accordance with one embodiment of the present invention.
[0058] FIG. 34 illustrates an exemplary implementation of CNE-enabled VCSs, in accordance with one embodiment of the present invention.
[0059] FIG. 35A presents a diagram illustrating how CNE devices handle broadcast, unknown unicast, and multicast (BUM) traffic across data centers, in accordance with one embodiment of the present invention.
[0060] FIG. 35B presents a diagram illustrating how CNE devices handle unicast traffic across data centers, in accordance with one embodiment of the present invention.
[0061] FIG. 36 illustrates an example where two CNE devices are used to construct a vLAG, in accordance with an embodiment of the present invention.
[0062] FIG. 37 illustrates an exemplary CNE device, in accordance with one
embodiment of the present invention.
DETAILED DESCRIPTION
[0063] The following description is presented to enable any person skilled in the art to make and use the invention, and is provided in the context of a particular application and its requirements. Various modifications to the disclosed embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other embodiments and applications without departing from the spirit and scope of the present invention. Thus, the present invention is not limited to the embodiments shown, but is to be accorded the widest scope consistent with the claims.
Overview
[0064] In embodiments of the present invention, the problem of building a versatile, cost-effective, and scalable switching system is solved by running a control plane with automatic configuration capabilities (such as the Fibre Channel control plane) over a conventional transport protocol, thereby allowing a number of switches to be inter-connected to form a single, scalable logical switch without requiring burdensome manual configuration. As a result, one can form a large-scale logical switch (referred to as a "virtual cluster switch" or VCS herein) using a number of smaller physical switches. The automatic configuration capability provided by the control plane running on each physical switch allows any number of switches to be connected in an arbitrary topology without requiring tedious manual configuration of the ports and links. This feature makes it possible to use many smaller, inexpensive switches to construct a large cluster switch, which can be viewed as a single logical switch externally.
[0065] It should be noted that a virtual cluster switch is not the same as conventional switch stacking. In switch stacking, multiple switches are interconnected at a common location (often within the same rack), based on a particular topology, and manually configured in a particular way. These stacked switches typically share a common address, e.g., IP address, so they can be addressed as a single switch externally. Furthermore, switch stacking requires a significant amount of manual configuration of the ports and inter-switch links. The need for manual configuration prohibits switch stacking from being a viable option in building a large- scale switching system. The topology restriction imposed by switch stacking also limits the number of switches that can be stacked. This is because it is very difficult, if not impossible, to design a stack topology that allows the overall switch bandwidth to scale adequately with the number of switch units.
[0066] In contrast, a VCS can include an arbitrary number of switches with individual addresses, can be based on an arbitrary topology, and does not require extensive manual configuration. The switches can reside in the same location, or be distributed over different locations. These features overcome the inherent limitations of switch stacking and make it possible to build a large "switch farm" which can be treated as a single, logical switch. Due to the automatic configuration capabilities of the VCS, an individual physical switch can dynamically join or leave the VCS without disrupting services to the rest of the network.
[0067] Furthermore, the automatic and dynamic configurability of VCS allows a network operator to build its switching system in a distributed and "pay-as-you-grow" fashion without sacrificing scalability. The VCS's ability to respond to changing network conditions makes it an ideal solution in a virtual computing environment, where network loads often change with time.
[0068] Although this disclosure is presented using examples based on the Transparent Interconnection of Lots of Links (TRILL) as the transport protocol and the Fibre Channel (FC) fabric protocol as the control-plane protocol, embodiments of the present invention are not limited to TRILL networks, or networks defined in a particular Open System Interconnection Reference Model (OSI reference model) layer. For example, a VCS can also be implemented with switches running multi-protocol label switching (MPLS) protocols for the transport. In addition, the terms "RBridge" and "switch" are used interchangeably in this disclosure. The use of the term "RBridge" does not limit embodiments of the present invention to TRILL networks only. The TRILL protocol is described in IETF draft "RBridges: Base Protocol Specification," available at http://tools.ietf.org/html/
draft-ietf-trill-rbridge-protocol, which is incorporated by reference herein
[0069] The terms "virtual cluster switch," "virtual cluster switching," and "VCS" refer to a group of interconnected physical switches operating as a single logical switch. The control plane for these physical switches provides the ability to automatically configure a given physical switch, so that when it joins the VCS, little or no manual configuration is required. VCS is not limited to a specific product family from a particular vendor. In addition, "VCS" is not the only term that can be used to name the switching system described herein. Other terms, such as "Ethernet fabric," "Ethernet fabric switch," "fabric switch," "cluster switch," "Ethernet mesh switch," and "mesh switch" can also be used to describe the same switching system. Hence, in some embodiments, these terms and "VCS" can be used interchangeably.
[0070] The term "RBridge" refers to routing bridges, which are bridges implementing the TRILL protocol as described in IETF draft "RBridges: Base Protocol Specification." Embodiments of the present invention are not limited to the application among RBridges. Other types of switches, routers, and forwarders can also be used.
[0071] The terms "frame" or "packet" refer to a group of bits that can be transported together across a network. "Frame" should not be interpreted as limiting embodiments of the present invention to layer-2 networks. "Packet" should not be interpreted as limiting
embodiments of the present invention to layer-3 networks. "Frame" or "packet" can be replaced by other terminologies referring to a group of bits, such as "cell" or "datagram."
VCS Architecture
[0072] FIG. 1 A illustrates an exemplary virtual cluster switch system, in accordance with an embodiment of the present invention. In this example, a VCS 100 includes physical switches 101, 102, 103, 104, 105, 106, and 107. A given physical switch runs an Ethernet-based transport protocol on its ports (e.g., TRILL on its inter-switch ports, and Ethernet transport on its external ports), while its control plane runs an FC switch fabric protocol stack. The TRILL protocol facilitates transport of Ethernet frames within and across VCS 100 in a routed fashion (since TRILL provides routing functions to Ethernet frames). The FC switch fabric protocol stack facilitates the automatic configuration of individual physical switches, in a way similar to how a conventional FC switch fabric is formed and automatically configured. In one
embodiment, VCS 100 can appear externally as an ultra-high-capacity Ethernet switch. More details on FC network architecture, protocols, naming/address conventions, and various standards are available in the documentation available from the NCITS/ANSI Ti l committee (www.tl l .org) and publicly available literature, such as "Designing Storage Area Networks," by Tom Clark, 2nd Ed., Addison Wesley, 2003, the disclosures of which are incorporated by reference in their entirety herein.
[0073] A physical switch may dedicate a number of ports for external use (i.e., to be coupled to end hosts or other switches external to the VCS) and other ports for inter-switch connection. Viewed externally, VCS 100 appears to be one switch to a device from the outside, and any port from any of the physical switches is considered one port on the VCS. For example, port groups 110 and 112 are both VCS external ports and can be treated equally as if they were ports on a common physical switch, although switches 105 and 107 may reside in two different locations.
[0074] The physical switches can reside at a common location, such as a data center or central office, or be distributed in different locations. Hence, it is possible to construct a large- scale centralized switching system using many smaller, inexpensive switches housed in one or more chassis at the same location. It is also possible to have the physical switches placed at different locations, thus creating a logical switch that can be accessed from multiple locations. The topology used to interconnect the physical switches can also be versatile. VCS 100 is based on a mesh topology. In further embodiments, a VCS can be based on a ring, tree, or other types of topologies.
[0075] In one embodiment, the protocol architecture of a VCS is based on elements from the standard IEEE 802.1Q Ethernet bridge, which is emulated over a transport based on the
Fibre Channel Framing and Signaling-2 (FC-FS-2) standard. The resulting switch is capable of transparently switching frames from an ingress Ethernet port from one of the edge switches to an egress Ethernet port on a different edge switch through the VCS.
[0076] Because of its automatic configuration capability, a VCS can be dynamically expanded as the network demand increases. In addition, one can build a large-scale switch using many smaller physical switches without the burden of manual configuration. For example, it is possible to build a high-throughput fully non-blocking switch using a number of smaller switches. This ability to use small switches to build a large non-blocking switch significantly reduces the cost associated switch complexity. FIG. IB presents an exemplary VCS with its member switches connected in a CLOS network, in accordance with one embodiment of the present invention. In this example, a VCS 120 forms a fully non-blocking 8x8 switch, using eight 4x4 switches and four 2x2 switches connected in a three-stage CLOS network. A large- scale switch with a higher port count can be built in a similar way. [0077] FIG. 2 illustrates the protocol stack within a virtual cluster switch, in accordance with an embodiment of the present invention. In this example, two physical switches 202 and 204 are illustrated within a VCS 200. Switch 202 includes an ingress Ethernet port 206 and an inter-switch port 208. Switch 204 includes an egress Ethernet port 212 and an inter-switch port 210. Ingress Ethernet port 206 receives Ethernet frames from an external device. The Ethernet header is processed by a medium access control (MAC) layer protocol. On top of the MAC layer is a MAC client layer, which hands off the information extracted from the frame's Ethernet header to a forwarding database (FDB) 214. Typically, in a conventional IEEE 802.1Q Ethernet switch, FDB 214 is maintained locally in a switch, which would perform a lookup based on the destination MAC address and the VLAN indicated in the Ethernet frame. The lookup result would provide the corresponding output port. However, since VCS 200 is not one single physical switch, FDB 214 would return the egress switch's identifier (i.e., switch 204's identifier). In one embodiment, FDB 214 is a data structure replicated and distributed among all the physical switches. That is, every physical switch maintains its own copy of FDB 214. When a given physical switch learns the source MAC address and VLAN of an Ethernet frame (similar to what a conventional IEEE 802.1Q Ethernet switch does) as being reachable via the ingress port, the learned MAC and VLAN information, together with the ingress Ethernet port and switch information, is propagated to all the physical switches so every physical switch's copy of FDB 214 can remain synchronized. This prevents forwarding based on stale or incorrect information when there are changes to the connectivity of end stations or edge networks to the VCS.
[0078] The forwarding of the Ethernet frame between ingress switch 202 and egress switch 204 is performed via inter-switch ports 208 and 210. The frame transported between the two inter-switch ports is encapsulated in an outer MAC header and a TRILL header, in accordance with the TRILL standard. The protocol stack associated with a given inter-switch port includes the following (from bottom up): MAC layer, TRILL layer, FC-FS-2 layer, FC E- Port layer, and FC link services (FC-LS) layer. The FC-LS layer is responsible for maintaining the connectivity information of a physical switch's neighbor, and populating an FC routing information base (RIB) 222. This operation is similar to what is done in an FC switch fabric. The FC-LS protocol is also responsible for handling joining and departure of a physical switch in VCS 200. The operation of the FC-LS layer is specified in the FC-LS standard, which is available at http://www.tl 1.org/ftp/
tl l/member/fc/ls/06-393v5.pdf, the disclosure of which is incorporated herein in its entirety.
[0079] During operation, when FDB 214 returns the egress switch 204 corresponding to the destination MAC address of the ingress Ethernet frame, the destination egress switch's identifier is passed to a path selector 218. Path selector 218 performs a fabric shortest-path first (FSPF)-based route lookup in conjunction with RIB 222, and identifies the next-hop switch within VCS 200. In other words, the routing is performed by the FC portion of the protocol stack, similar to what is done in an FC switch fabric.
[0080] Also included in each physical switch are an address manager 216 and a fabric controller 220. Address manager 216 is responsible for configuring the address of a physical switch when the switch first joins the VCS. For example, when switch 202 first joins VCS 200, address manager 216 can negotiate a new FC switch domain ID, which is subsequently used to identify the switch within VCS 200. Fabric controller 220 is responsible for managing and configuring the logical FC switch fabric formed on the control plane of VCS 200.
[0081] One way to understand the protocol architecture of VCS is to view the VCS as an FC switch fabric with an Ethernet/TRILL transport. Each physical switch, from an external point of view, appears to be a TRILL RBridge. However, the switch's control plane implements the FC switch fabric software. In other words, embodiments of the present invention facilitate the construction of an "Ethernet switch fabric" running on FC control software. This unique combination provides the VCS with automatic configuration capability and allows it to provide the ubiquitous Ethernet services in a very scalable fashion.
[0082] FIG. 3 illustrates an exemplary configuration of a virtual cluster switch, in accordance with an embodiment of the present invention. In this example, a VCS 300 includes four physical switches 302, 304, 306, and 308. VCS 300 constitutes an access layer which is coupled to two aggregation switches 310 and 312. Note that the physical switches within VCS 300 are connected in a ring topology. Aggregation switch 310 or 312 can connect to any of the physical switches within VCS 300. For example, aggregation switch 310 is coupled to physical switches 302 and 308. These two links are viewed as a trunked link to VCS 300, since the corresponding ports on switches 302 and 308 are considered to be from the same logical switch, VCS 300. Note that, without VCS, such topology would not have been possible, because the FDB needs to remain synchronized, which is facilitated by the VCS.
[0083] FIG. 4 illustrates an exemplary configuration of how a virtual cluster switch can be connected to different edge networks, in accordance with an embodiment of the present invention. In this example, a VCS 400 includes a number of TRILL RBridges 402, 404, 406, 408, and 410, which are controlled by the FC switch-fabric control plane. Also included in VCS 400 are RBridges 412, 414, and 416. Each RBridge has a number of edge ports which can be connected to external edge networks. [0084] For example, RBridge 412 is coupled with hosts 420 and 422 via 10GE ports. RBridge 414 is coupled to a host 426 via a 10GE port. These RBridges have TRILL-based inter- switch ports for connection with other TRILL RBridges in VCS 400. Similarly, RBridge 416 is coupled to host 428 and an external Ethernet switch 430, which is coupled to an external network that includes a host 424. In addition, network equipment can also be coupled directly to any of the physical switches in VCS 400. As illustrated here, TRILL RBridge 408 is coupled to a data storage 417, and TRILL RBridge 410 is coupled to a data storage 418.
[0085] Although the physical switches within VCS 400 are labeled as "TRILL
RBridges," they are different from the conventional TRILL RBridge in the sense that they are controlled by the FC switch fabric control plane. In other words, the assignment of switch addresses, link discovery and maintenance, topology convergence, routing, and forwarding can be handled by the corresponding FC protocols. Particularly, each TRILL RBridge's switch ID or nickname is mapped from the corresponding FC switch domain ID, which can be automatically assigned when a switch joins VCS 400 (which is logically similar to an FC switch fabric).
[0086] Note that TRILL is only used as a transport between the switches within VCS
400. This is because TRILL can readily accommodate native Ethernet frames. Also, the TRILL standards provide a ready-to-use forwarding mechanism that can be used in any routed network with arbitrary topology (although the actual routing in VCS is done by the FC switch fabric protocols). Embodiments of the present invention should be not limited to using only TRILL as the transport. Other protocols (such as multi-protocol label switching (MPLS) or Internet Protocol (IP)), either public or proprietary, can also be used for the transport.
VCS Formation
[0087] In one embodiment, a VCS is created by instantiating a logical FC switch in the control plane of each switch. After the logical FC switch is created, a virtual generic port
(denoted as G Port) is created for each Ethernet port on the RBridge. A G Port assumes the normal G Port behavior from the FC switch perspective. However, in this case, since the physical links are based on Ethernet, the specific transition from a G Port to either an FC F Port or E Port is determined by the underlying link and physical layer protocols. For example, if the physical Ethernet port is connected to an external device which lacks VCS capabilities, the corresponding G Port will be turned into an F Port. On the other hand, if the physical Ethernet port is connected to a switch with VCS capabilities and it is confirmed that the switch on the other side is part of a VCS, then the G Port will be turned into an E_port. [0088] FIG. 5A illustrates how a logical Fibre Channel switch fabric is formed in a virtual cluster switch in conjunction with the example in FIG. 4, in accordance with an embodiment of the present invention. RBridge 412 contains a virtual, logical FC switch 502. Corresponding to the physical Ethernet ports coupled to hosts 420 and 422, logical FC switch 502 has two logical F Ports, which are logically coupled to hosts 420 and 422. In addition, two logical N_Ports, 506 and 504, are created for hosts 420 and 422, respectively. On the VCS side, logical FC switch 502 has three logical E Ports, which are to be coupled with other logical FC switches in the logical FC switch fabric in the VCS.
[0089] Similarly, RBridge 416 contains a virtual, logical FC switch 512. Corresponding to the physical Ethernet ports coupled to host 428 and external switch 430, logical FC switch 512 has a logical F Port coupled to host 428, and a logical FL Port coupled to switch 430. In addition, a logical N Port 510 is created for host 428, and a logical NL Port 508 is created for switch 430. Note that the logical FL Port is created because that port is coupled to a switch (switch 430), instead of a regular host, and therefore logical FC switch 512 assumes an arbitrated loop topology leading to switch 430. Logical NL Port 508 is created based on the same reasoning to represent a corresponding NL Port on switch 430. On the VCS side, logical FC switch 512 has two logical E Ports, which to be coupled with other logical FC switches in the logical FC switch fabric in the VCS.
[0090] FIG. 5B illustrates an example of how a logical FC switch can be created within a physical Ethernet switch, in accordance with one embodiment of the present invention. The term "fabric port" refers to a port used to couple multiple switches in a VCS. The clustering protocols control the forwarding between fabric ports. The term "edge port" refers to a port that is not currently coupled to another switch unit in the VCS. Standard IEEE 802.1Q and layer-3 protocols control forwarding on edge ports.
[0091] In the example illustrated in FIG. 5B, a logical FC switch 521 is created within a physical switch (RBridge) 520. Logical FC switch 521 participates in the FC switch fabric protocol via logical inter-switch links (ISLs) to other switch units and has an FC switch domain ID assigned to it just as a physical FC switch does. In other words, the domain allocation, principal switch selection, and conflict resolution work just as they would on a physical FC ISL.
[0092] The physical edge ports 522 and 524 are mapped to logical F Ports 532 and 534, respectively. In addition, physical fabric ports 526 and 528 are mapped to logical E Ports 536 and 538, respectively. Initially, when logical FC switch 521 is created (for example, during the boot-up sequence), logical FC switch 521 only has four G Ports which correspond to the four physical ports. These G Ports are subsequently mapped to F Ports or E Ports, depending on the devices coupled to the physical ports.
[0093] Neighbor discovery is the first step in VCS formation between two VCS-capable switches. It is assumed that the verification of VCS capability can be carried out by a handshake process between two neighbor switches when the link is first brought up.
Distributed Configuration Management
[0094] In general, a VCS presents itself as one unified switch composed of multiple member switches. Hence, the creation and configuration of VCS is of critical importance. The VCS configuration is based on a distributed database, which is replicated and distributed over all switches. In other words, each VCS member switch maintains a copy of the VCS configuration database, and any change to the database is propagated to all the member switches. As a result, a network administrator can configure any part of the VCS from anywhere by, for example, executing a command line interface (CLI) command from any member switch.
[0095] In one embodiment, a VCS configuration database includes a global
configuration table (GT) of the VCS and a list of switch description tables (STs), each of which describes a VCS member switch. In its simplest form, a member switch can have a VCS configuration database that includes a global table and one switch description table, e.g.,
[<GT><ST>]. A VCS with multiple switches will have a configuration database that has a single global table and multiple switch description tables, e.g., [<GT><ST0><STl>...<STn-7>]. The number n corresponds to the number of member switches in the VCS. In one embodiment, the GT can include at least the following information: the VCS ID, number of nodes in the VCS, a list of VLANs supported by the VCS, a list of all the switches (e.g., list of FC switch domain IDs for all active switches) in the VCS, and the FC switch domain ID of the principal switch (as in a logical FC switch fabric). A switch description table can include at least the following information: the IN VCS flag, indication whether the switch is a principal switch in the logical FC switch fabric, the FC switch domain ID for the switch, the FC world-wide name (WWN) for the corresponding logical FC switch; the mapped ID of the switch, and optionally the IP address of the switch. Note that, as explained below, a switch can have an IP address dynamically assigned to it when it joins the VCS. The IP address can be derived from and have a one-to-one mapping to the FC switch domain ID assigned to the switch.
[0096] In addition, each switch's global configuration database is associated with a transaction ID. The transaction ID specifies the latest transaction (e.g., update or change) incurred to the global configuration database. The transaction IDs of the global configuration databases in two switches can be compared to determine which database has the most current information (i.e., the database with the more current transaction ID is more up-to-date). In one embodiment, the transaction ID is the switch's serial number plus a sequential transaction number. This configuration can unambiguously resolve which switch has the latest
configuration.
[0097] As illustrated in FIG. 6, a VCS member switch typically maintains two configuration tables that describe its instance: a VCS configuration database 600, and a default switch configuration table 604. VCS configuration database 600 describes the VCS
configuration when the switch is part of a VCS. Default switch configuration table 604 describes the switch's default configuration. VCS configuration database 600 includes a GT 602, which includes a VCS identifier (denoted as VCS ID) and a VLAN list within the VCS. Also included in VCS configuration database 600 are a number of STs, such as ST0, ST1, and STn. Each ST includes the corresponding member switch's MAC address and FC switch domain ID, as well as the switch's interface details. Note that each switch also has a VCS-mapped ID which is a switch index within the VCS.
[0098] In one embodiment, each switch also has a VCS-mapped ID (denoted as
"mappedID"), which is a switch index within the VCS. This mapped ID is unique and persistent within the VCS. That is, when a switch joins the VCS for the first time, the VCS assigns a mapped ID to the switch. This mapped ID persists with the switch, even if the switch leaves the VCS. When the switch joins the VCS again at a later time, the same mapped ID is used by the VCS to retrieve previous configuration information for the switch. This feature can reduce the amount of configuration overhead in VCS. Also, the persistent mapped ID allows the VCS to "recognize" a previously configured member switch when it re-joins the VCS, since a dynamically assigned FC fabric domain ID would change each time the member switch joins and is configured by the VCS.
[0099] Default switch configuration table 604 has an entry for the mappedID that points to the corresponding ST in VCS configuration database 600. Note that only VCS configuration database 600 is replicated and distributed to all switches in the VCS. Default switch
configuration table 604 is local to a particular member switch.
[00100] The "IN VCS" value in default switch configuration table 604 indicates whether the member switch is part of a VCS. A switch is considered to be "in a VCS" when it is assigned one of the FC switch domains by the FC switch fabric with two or more switch domains. If a switch is part of an FC switch fabric that has only one switch domain, i.e., its own switch domain, then the switch is considered to be "not in a VCS." [00101] When a switch is first connected to a VCS, the logical FC switch fabric formation process allocates a new switch domain ID to the joining switch. In one embodiment, only the switches directly connected to the new switch participate in the VCS join operation.
[00102] Note that in the case where the global configuration database of a joining switch is current and in sync with the global configuration database of the VCS based on a comparison of the transaction IDs of the two databases (e.g., when a member switch is temporarily disconnected from the VCS and re-connected shortly afterward), a trivial merge is performed. That is, the joining switch can be connected to the VCS, and no change or update to the global VCS configuration database is required.
[00103] When a switch joins a VCS (see the description below), the VCS assigns an FC switch domain ID to the logical FC switch formed within the joining switch. The joining switch can be automatically assigned an IP address (which in one embodiment can be internal to the VCS) corresponding to the FC switch domain ID. For example, the joining switch's IP address can be 127.10.10.FC_domain_ID. In addition, each port on the joining switch can be
automatically assigned a MAC address which is unique to that port, on that switch. For instance, a port on the joining switch can be assigned a MAC address of OUI:FC_domain_ID:0:0, where OUI is the Organizationally Unique Identifier for the port, and FC domain ID is the switch domain ID assigned to the logical FC switch. The IP and MAC address assignment process can be part of the software within the switch which controls the FC switch formation and the join/merge process.
[00104] The automatically assigned switch IP address and port MAC address for a given VCS member switch allow any port on the switch to be remotely configured from anywhere within the VCS. For example, a configuration command of a given member switch can be issued from a host connected to any member switch in the VCS and identifies the switch to be configured by its IP address and optionally one or more port MAC addresses. Such
configuration command might include information on VLAN configuration, quality-of-service (QoS) configuration, and/or access-control configuration, each of which can be port-specific. In one embodiment, the change to a switch's configuration is tentatively transmitted to the switch. After the switch confirms and validates the change, a commit-change command is transmitted to all the member switches in the VCS, so the global configuration database can be updated throughout the VCS. In a further embodiment, the change is tentatively transmitted to all the member switches in the VCS, and the commit-change command is only sent out after all the switches confirm and validate the tentatively change. VCS Join and Merge
[00105] FIG. 7A illustrates an exemplary process of a switch joining a virtual cluster switch, in accordance with an embodiment of the present invention. In this example, it is assumed that a switch 702 is within an existing VCS, and a switch 704 is joining the VCS.
During operation, both switches 702 and 704 trigger an FC State Change Notification (SCN) process. Subsequently, both switches 702 and 704 perform a PRE-INVITE operation. The pre- invite operation involves the following process.
[00106] When a switch joins the VCS via a link, both neighbors on each end of the link present to the other switch a VCS four-tuple of <Prior VCS ID, SWITCH MAC, mappedID, IN_VCS> from a prior incarnation, if any. Otherwise, the switch presents to the counterpart a default tuple. If the VCS ID value was not set from a prior join operation, a VCS ID value of -1 is used. In addition, if a switch's IN VCS flag is set to 0, it sends out its interface configuration to the neighboring switch. In the example in FIG. 7, both switches 702 and 704 send the above information to the other switch.
[00107] After the above PRE-INVITE operation, a driver switch for the join process is selected. By default, if a switch's IN_VCS value is 1 and the other switch's IN_VCS value is 0, the switch with IN_VCS = 1 is selected as the driver switch. If both switches have their IN_VCS values as 1, then nothing happens, i.e., the PRE-INVITE operation would not lead to an INVITE operation. If both switches have their IN VCS values as 0, then one of the switches is elected to be the driving switch (for example, the switch with a lower FC switch domain ID value). The driving switch's IN_VCS value is then set to 1 and drives the join process.
[00108] After switch 702 is selected as the driver switch, switch 702 then attempts to reserve a slot in the VCS configuration database corresponding to the mappedID value in switch 704 's PRE-INVITE information. Next, switch 702 searches the VCS configuration database for switch 704 's MAC address in any mappedID slot. If such a slot is found, switch 702 copies all information from the identified slot into the reserved slot. Otherwise, switch 702 copies the information received during the PRE-INVITE from switch 704 into the VCS configuration database. The updated VCS configuration database is then propagated to all the switches in the VCS as a prepare operation in the database (note that the update is not committed to the database yet).
[00109] Subsequently, the prepare operation may or may not result in configuration conflicts, which may be flagged as warnings or fatal errors. Such conflicts can include inconsistencies between the joining switch's local configuration or policy setting and the VCS configuration. For example, a conflict arises when the joining switch is manually configured to allow packets with a particular VLAN value to pass through, whereas the VCS does not allow this VLAN value to enter the switch fabric from this particular RBridge (for example, when this VLAN value is reserved for other purposes). In one embodiment, the prepare operation is handled locally and/or remotely in concert with other VCS member switches. If there is an un- resolvable conflict, switch 702 sends out a PRE-INVITE -FAILED message to switch 704.
Otherwise, switch 702 generates an INVITE message with the VCS's merged view of the switch (i.e., the updated VCS configuration database).
[00110] Upon receiving the INVITE message, switch 704 either accepts or rejects the INVITE. The INVITE can be rejected if the configuration in the INVITE is in conflict with what switch 704 can accept. If the INVITE is acceptable, switch 704 sends back an INVITE- ACCEPT message in response. The INVITE -ACCEPT message then triggers a final database commit throughout all member switches in the VCS. In other words, the updated VCS configuration database is updated, replicated, and distributed to all the switches in the VCS.
[00111] If more than one switch in a VCS has connectivity to the new joining switch, all these neighboring member switches may send PRE-INVITE to the new joining switch. The joining switch can send out only one PRE-INVITE to a randomly selected neighboring member switch to complete the join process. Various use cases of the join process are described below. In the following description, a "joining switch" refers to a switch attempting to join a VCS. A "neighboring VCS member switch" or "neighboring member switch" refers to a VCS member switch to which the joining switch is connected.
[001121 VCS pre-provisioned to accept a switch. A VCS is pre-configured (e.g., the global configuration database) with the MAC address of a joining switch with an optionally pre- allocated mapped ID for the joining switch. The joining switch may be allowed to carry any value in the VCS ID field of its existing configuration. The neighboring VCS member switch can assign an FC switch domain ID and the proper VCS ID to the joining switch in the INVITE message. In one embodiment, the joining switch may be pre-provisioned to join an existing VCS (e.g., with the parameters in the default switch configuration table, such as mappedID, VCS ID, and IN VCS, populated with values corresponding to the VCS). If the pre-provisioned parameters do not guarantee a slot with the same mappedID in the global configuration database when the switch joins the VCS, the switch can revert to the default joining procedure described below.
[00113] Default switch joins a VCS. A default switch is one that has no records of any previous joining with a VCS. A switch can become a default switch if it is forced into a factory default state. A joining default switch can present its initial configuration information (for example, its interface configuration details) to a neighboring VCS member switch. In one embodiment, a slot in the VCS configuration database is selected based on a monotonically incrementing number, which is used as the mapped ID for the joining switch. The corresponding FC switch domain ID which is allocated to the joining switch and the joining switch's MAC is updated accordingly in this slot. The neighboring VCS member switch then initiates a prepare transaction, which propagates to all VCS member switches and requires an explicit validation of the joining switch's configuration information from each VCS member switch. If the prepare transaction fails, a PRE -INVITE-FAILED message is sent to the joining switch and the joining process is aborted.
[00114] FIG. 7B presents a flowchart illustrating the process of a default switch joining a
VCS, in accordance with one embodiment of the present invention. During operation, after a joining switch with default configuration is connected to a neighboring VCS member switch, the VCS member switch reserves a slot in the global configuration database (operation 722). The reserved slot corresponds to a mappedID value which is also assigned to the joining switch. Subsequently, the logical FC switch within the neighboring VCS member switch allocates an FC switch domain ID for the joining switch (operation 724). This operation resembles a similar fabric login operation in the FC switch fabric join process.
[00115] The neighboring VCS member switch then tentatively updates the reserved slot in the global configuration database with the allocated FC switch domain ID and the joining switch's MAC address (operation 726). Next, the neighboring VCS member switch transmits the joining switch's tentative configuration to all member switches in the VCS (operation 728), and determines whether the joining switch's configuration information is confirmed and validated by all VCS member switches (operation 730). If the joining switch's configuration is confirmed, the neighboring member switch then commits the changes to the global configuration database and completes the join process (operation 732). Otherwise, the join process is aborted and the tentative changes to the global configuration database are discarded (operation 734).
[00116] Switch re-joins a previously joined VCS. If for some reason a switch is joining a VCS to which the switch previously belongs (for example, due to a link failure), the FC switch domain ID that is re-allocated to the joining switch will most likely be the same. When such a switch joins the VCS, the neighboring VCS member switch first checks whether the joining switch's VCS ID is the same as the existing VCS ID on the member switch. If the two VCS ID values are the same, the neighboring member switch attempts to find a slot in the global configuration database with the same mappedID value which was received from the joining switching during the tuple-exchange process. If such a slot in the global database is available, the slot is reserved for the joining switch. In addition, the global configuration database is searched for a match to the joining switch's MAC address. If a match is found in another slot, the configuration information from that slot is copied to the reserved slot. Subsequently, the join process continues as described in FIG. 7 A. If the two VCS ID values are different, the system performs a join process as described blow for the use case "switch joins another VCS."
[00117] FIG. 7C presents a flowchart illustrating the process of a switch re-joining a previously joined VCS, in accordance with one embodiment of the present invention. During operation, a neighboring member switch first determines whether the joining switch's existing VCS ID is the same as the neighboring member switch's VCS ID (operation 740). If the two VCS IDs are different, the joining process proceeds to the operations illustrated in FIG. 7D (operation 741). If the two VCS IDs are the same, which means that the joining switch has previously been part of the same VCS, the neighboring member switch further determines whether there is a slot in the global configuration database with the same mappedID as the joining switch (operation 742). If so, the neighboring member switch reserves a slot in the global configuration database with the same mappedID (operation 744). Otherwise, the neighboring member switch reserves a slot in the global configuration database with a new mappedID, which is also communicated to the joining switch (operation 746).
[00118] Subsequently, the neighboring member switch determines whether the global configuration database contains a slot with the same MAC address as the joining switch
(operation 748). If there is such a slot, which means that the global configuration database contains a slot which has been used previously for the same joining switch's configuration information, such information is copied from the idenfied slot to the reserved slot (operation 750). Otherwise, the neighboring member switch proceeds to complete the join process as illustrated in FIG. 7A.
[001191 Switch joins another VCS. This use case occurs when a switch is disconnected from one VCS and then connected to a different VCS without being reset to the default state. This scenario can also occur when a switch is connected to a VCS while it is participating in another VCS. In such cases, there will be a VCS ID mismatch in the join process. In addition, the IN VCS field in the joining switch's configuration table might or might not be set. If the IN VCS field is not set, which means that the joining switch is not currently participating in a VCS, the join process can assign the switch a new VCS ID corresponding to the VCS the switch is joining. In one embodiment, if the IN VCS filed is set in the joining switch's configuration, which means that the joining switch is currently participating in a different VCS, the join process is disallowed. Optionally, the joining switch can complete the joining process after being set to the default state.
[00120] Initial joining of two switches which are both not in a VCS. When two switches are connected together and both of them are not in a VCS, an election process can be used to let one of them be the driving switch in the VCS formation process. In one embodiment, the switch with a lower FC switch domain ID would have its IN VCS field set to "1" and drives the join process.
[00121] Joining of two VCSs. In one embodiment, two VCSs are allowed to merge together. Similar to the FC switch fabric formation process, the logical FC switches in both VCSs would select a new principal FC switch. This newly selected principal FC switch then re-assigns FC switch domain IDs to all the member switches. After the FC switch domain IDs are assigned, a "fabric up" message which is broadcast to all the member switches starts the VCS join process.
[00122] During the join process, the principal FC switch's IN VCS field is set to "1," whereas all other member switches' IN_VCS fields are set to "0." Subsequently, each member switch can join the VCS (which initially only contains the switch with the principal FC switch) using the "switch joins another VCS" procedure described above.
[00123] Removal of a switch from VCS. When a switch is removed from a VCS, its neighboring member switch typically receives a "domain-unreachable" notification at its logical FC switch. Upon receiving this notification, the neighboring member switch disables this switch from the global VCS configuration database and propagates this change to all other member switches. Optionally, the neighboring member switch does not clear the slot previously used by the removed switch in the global configuration database. This way, if the departure of the switch is only temporary, the same slot in the configuration database can still be used when the switch re-joins the VCS.
[00124] If the VCS is temporarily disjoint due to a link failure, the logical FC
infrastructure in the member switches can detect the disconnection of the switch(es) and issues a number of "domain-unreachable" notifications. When the disjoint switch is reconnected to the VCS, a comparison between the switch's configuration information and the corresponding slot information in the global VCS configuration database allows the switch to be added to the VCS using the same slot (i.e., the slot with the same mappedID) in the global configuration database.
[00125] General operation. FIG. 7D presents a flowchart illustrating the general operation of a switch during a join process, in accordance with one embodiment of the present invention. This operation applies to both a joining switch and a neighboring VCS member switch. At the beginning of a join process, the logical FC switch within a switch receives an SCN notification on a newly detected switch domain ID on a link (operation 760). The system then exchanges the VCS four-tuple with the neighbor switch (operation 762). Subsequently, the system determines whether itself is part of a VCS (i.e., whether its IN_VCS = 1) (operation 764). If the system is not part of a VCS (which means the local switch is attempting to join a VCS), the system then waits for an INVITE from the neighbor member switch (operation 766). After the INVITE is received, the system determines whether the configuration information in the INVITE causes any un-resolved conflict with the local switch (operation 768). If there is an un-resolved conflict, the system rejects the INVITE (operation 770). Otherwise, the system accepts the INVITE (operation 772).
[00126] If the system determines that itself is already part of a VCS (i.e., its IN VCS = 1)
(operation 764), the system then further determines whether there is an existing slot in the global configuration database with the same mappedID as the joining switch (operation 774). If such a slot exists, the system then sends the INVITE to the joining switch (operation 775) and determines whether there is any un-resolved conflict between the configuration information stored in this slot and the information provided by the joining switch (operation 780). If so, the system revokes the INVITE (operation 782). Otherwise, the system updates the global configuration database with the joining switch's configuration information and propagates the update to all other member switches (operation 784).
[00127] If there is no slot in the global configuration database with the same mappedID as the joining switch (operation 774), the system allocates an interim slot in the global configuration database (operation 776), and sends an INVITE to the joining switch (operation 778). After receiving an INVITE acceptance from the joining switch (operation 779), the system then updates the global configuration database (operation 784) and completes the join process. Laver-2 Services in VCS
[00128] In one embodiment, each VCS switch unit performs source MAC address learning, similar to what an Ethernet bridge does. Each {MAC address, VLAN} tuple learned on a physical port on a VCS switch unit is registered into the local Fibre Channel Name Server (FC- NS) via a logical Nx Port interface corresponding to that physical port. This registration binds the address learned to the specific interface identified by the Nx Port. Each FC-NS instance on each VCS switch unit coordinates and distributes all locally learned {MAC address, VLAN} tuples with every other FC-NS instance in the fabric. This feature allows the dissemination of locally learned {MAC addresses, VLAN} information to every switch in the VCS. In one embodiment, the learned MAC addresses are aged locally by individual switches. [00129] FIG. 8 presents a flowchart illustrating the process of looking up an ingress frame's destination MAC address and forwarding the frame in a VCS, in accordance with one embodiment of the present invention. During operation, a VCS switch receives an Ethernet frame at one of its Ethernet ports (operation 802). The switch then extracts the frame's destination MAC address and queries the local FC Name Server (operation 804). Next, the switch determines whether the FC-NS returns an N_Port or an NL_Port identifier that corresponds to an egress Ethernet port (operation 806).
[00130] If the FC-NS returns a valid result, the switch forwards the frame to the identified N Port or NL Port (operation 808). Otherwise, the switch floods the frame on the TRILL multicast tree as well as on all the N Ports and NL Ports that participate in that VLAN
(operation 810). This flood/broadcast operation is similar to the broadcast process in a conventional TRILL RBridge, wherein all the physical switches in the VCS will receive and process this frame, and learn the source address corresponding to the ingress RBridge. In addition, each receiving switch floods the frame to its local ports that participate in the frame's VLAN (operation 812). Note that the above operations are based on the presumption that there is a one-to-one mapping between a switch's TRILL identifier (or nickname) and its FC switch domain ID. There is also a one-to-one mapping between a physical Ethernet port on a switch and the corresponding logical FC port. End-to-End Frame Delivery
[00131] FIG. 9 illustrates how data frames and control frames are transported in a VCS, in accordance with an embodiment of the present invention. In this example, a VCS 930 includes member switches 934, 936, 938, 944, 946, and 948. An end host 932 is communicating with an end host 940. Switch 934 is the ingress VCS member switch corresponding to host 932, and switch 938 is the egress VCS member switch corresponding to host 938. During operation, host 932 sends an Ethernet frame 933 to host 940. Ethernet frame 933 is first encountered by ingress switch 934. Upon receiving frame 933, switch 934 first extracts frame 933 's destination MAC address. Switch 934 then performs a MAC address lookup using the Ethernet name service, which provides the egress switch identifier (i.e., the RBridge identifier of egress switch 938). Based on the egress switch identifier, the logical FC switch in switch 934 performs a routing table lookup to determine the next-hop switch, which is switch 936, and the corresponding output port for forwarding frame 933. The egress switch identifier is then used to generate a TRILL header (which specifies the destination switch's RBridge identifier), and the next-hop switch information is used to generate an outer Ethernet header. Subsequently, switch 934 encapsulates frame 933 with the proper TRILL header and outer Ethernet header, and sends the encapsulated frame 935 to switch 936. Based on the destination RBridge identifier in the TRILL header of frame 935, switch 936 performs a routing table lookup and determines the next hop. Based on the next-hop information, switch 936 updates frame 935 's outer Ethernet header and forwards frame 935 to egress switch 938.
[00132] Upon receiving frame 935, switch 938 determines that it is the destination RBridge based on frame 935 's TRILL header. Correspondingly, switch 938 strips frame 935 of its outer Ethernet header and TRILL header, and inspects the destination MAC address of its inner Ethernet header. Switch 938 then performs a MAC address lookup and determines the correct output port leading to host 940. Subsequently, the original Ethernet frame 933 is transmitted to host 940.
[00133] As described above, the logical FC switches within the physical VCS member switches may send control frames to one another (for example, to update the VCS global configuration database or to notify other switches of the learned MAC addresses). In one embodiment, such control frames can be FC control frames encapsulated in a TRILL header and an outer Ethernet header. For example, if the logical FC switch in switch 944 is in
communication with the logical FC switch in switch 938, switch 944 can sends a TRILL- encapsulated FC control frame 942 to switch 946. Switch 946 can forward frame 942 just like a regular data frame, since switch 946 is not concerned with the payload in frame 942.
Automatic Port Profile Management
[00134] Today's server virtualization infrastructure (e.g. a Hypervisor, also called virtual machine monitor) associates a server side (e.g. Hypervisor or adapter) Virtual Ethernet Bridge (VEB) port profile to each Ethernet MAC address used by a virtual machine (VM) to access the network through a VEB port. Examples of the VEB's port profile attributes includes: the types of frames allowed on the port (e.g. all frames, only frames tagged with certain VLAN values, or untagged frames), the VLAN identifiers that are allowed to be used, and rate limiting attributes (e.g. port or access-control based rate limits). In today's server virtualization infrastructure, if the VM migrates from one physical server to another, the VEB's port profile migrates with it. In other words, today's server virtualization infrastructure provides automated port profile migration of the server's VEB port(s) that are associated with a VM.
[00135] However, in existing technologies, there remains a gap between the access and Quality of Service (QoS) controls supported in external layer 2 switches and server virtualization infrastructure. That is, external layer 2 switches have more advanced controls compared to server VEB implementations. Although server virtualization infrastructure is continually adding these controls, this gap is expected to remain. Some environments prefer the more advanced controls provided by external network switches. An example of such an environment is a multi- tier data center that has several types of applications, each with differing advanced network controls, running over the same layer-2 network. In this type of environment the network administrator often prefers the use of advanced access controls available in external switches.
[00136] Today's layer-2 networks do not provide a mechanism for automatically migrating switch access and traffic controls associated with an end-point device (e.g., a VM), when that device migrates from one switch to another. The migration may be physical, such as an Operating System image (application, middleware, Operating System and associated state) that is running on one physical system and is migrated to another system. The migration may be also be virtual, such as an Operating System image (OS image) that is running over a Hypervisor on one system and is migrated to run over a Hypervisor on another system.
[00137] Embodiments of the present invention provides a mechanism for automatically migrating port profiles resident in a switch and associated with an OS image to a port on a second switch, when that OS image migrates from one physical end-host system to another end- host system, which is attached to the second switch.
[00138] FIG. 10 illustrates a logical VCS access layer (VAL) which includes an automatic port profile manager, in accordance with one embodiment of the present invention. In this example, a VCS 1000 is coupled with a number of physical server systems, such as system 1002. Each physical server system runs a number of virtual machines (VMs, also called virtual servers). For example, system 1002 includes four VMs, one of which is VM 1004. A VM may be dedicated to a certain application (e.g., instant messaging services, directory services, data base applications, etc.) and may have its own requirement on the network. A VM running mission-critical applications may require a separate VLAN within VCS 1000 and may have more strict QoS requirement (such as guaranteed port bandwidth, low latency, and guaranteed packet delivery). A VM running non-critical applications may have much lower requirements.
[00139] The switches within VCS 100 which are coupled externally to the physical end- host systems form a logical VCS access layer (VAL) 1010. The automatic migration of port profiles (AMPP) is implemented in VAL 1010. During operation, various port profiles, which are often tailored to different requirements of the VMs, are created and distributed to all the member switches in VCS 1000. As described in detail below, when the packets generated by a VM are detected by an ingress member switch of VCS 1000, the VM's source MAC address is recognized and used to identify the corresponding port profile, which is then applied to the appropriate ingress switch port. When a VM moves from one physical server to another, the MAC-address detection mechanism can quickly identify the new physical switch port to which the VM is coupled to, and apply the same port profile to the new port.
[00140] FIG. 11 illustrates an example of the operation of AMPP, in accordance with one embodiment of the present invention. In this example, a VCS 1100 includes two switches 1120 and 1122, which are coupled to two physical servers, 1116 and 1118, respectively. Physical server 1116 hosts four VMs, 1102, 1104, 1106, and 1008. Each VM has a virtual port (VP, or virtual network interface card, VNIC). For example, VM 1102 has a VP 1110. A respective VP is assigned a virtual MAC address. The four VPs are logically coupled to a virtual switch 1112 which is provided by a hypervisor 1114. Virtual switch 1112 is responsible for dispatching outgoing and incoming traffic through a physical NIC 1117. Note that an Ethernet frame generated by a respective VM has the virtual MAC of the corresponding VP as its source address. Logically, virtual switch 1112 functions as an aggregation point that provides a link to the ingress member switch in VCS 1100. Physical server 1118 has a similar architecture.
During operation, a VM can migrate from one physical server to another (e.g., "VMotion" function provided by VMware). This migration can be event-driven or pre-scheduled. Such migration is often used to cope with changing dynamics in a number of parameters, such as server load, power consumption, resource utilization, etc.
[00141] During operation, one or more port profiles can be created to specify a number of requirements/restrictions/limitations that should be enforced at a VCS switch port corresponding to one or more VMs. For example, a port profile for VM 1102 (which can be identified by the virtual MAC address of VP 1110) can be created and distributed to every member switch of VCS 1100. When VM 1102 sends its first Ethernet frame to the network, switch 1120 would learn this source MAC address. Upon learning VP 1110's MAC address, switch 1120 then searches its port profile database and identifies the matching port profile. Subsequently, the identified port profile is applied to the port on switch 1120 which is coupled to system 1116. In addition, the same port profile is applied to the port where the matching MAC address is the destination MAC address of a frame. This way, the same network parameters are enforced at both ingress and egress ports of the VCS. Note that the port profile might include "soft" parameters. In other words, the requirements and limitations in the port profile may be specific to certain MAC addresses, and may not be "hard" limitations on the physical parameters of the switch port, since traffic from/to multiple VMs is handled by the same physical switch port.
[00142] In one embodiment, VCS 1 100 provides a mechanism that distributes all the port profiles and the port-profile-to-MAC mapping information to all the member switches. The port profiles can be created using a command line interface (CLI) or other network management software. In addition, upon migration of a VM (such as a VMware VMotion), the target switch port in the VCS can automatically activate the correct port profile configuration.
[00143] FIG. 12A illustrates exemplary port profile contents, in accordance with one embodiment of the present invention. As shown in FIG. 12A, a port profile can contain the entire configuration needed for a VM to gain access to a LAN or WAN, which can include: Fibre Channel over Ethernet (FCoE) configuration, VLAN configuration, QoS related configuration, and security related configuration (such as access control lists, ACLs). The list above is by no means complete or exhaustive. Furthermore, it is not necessary that a port profile contains every type of configuration information.
[00144] In one embodiment, a port profile can be capable of operating as a self contained configuration container. In other words, if a port profile is applied to a new switch without any additional configuration, the port profile should be sufficient to set the switch's global and local (interface level) configuration and allow the switch to start carrying traffic.
[00145] A VLAN configuration profile within a port profile can define:
• a VLAN membership which includes tagged VLANs and an untagged VLAN; and
• ingress/egress VLAN filtering rules based on the VLAN membership.
[00146] A QoS configuration profile within a port profile can define:
• mapping from an incoming frame's 802. lp priority to internal queue priority; (if the port is in QoS untrusted mode, all incoming frame's priorities would be mapped to the default best-effort priority)
• mapping from an incoming frame's priority to outgoing priority;
• scheduling profile, such as weighted Round-Robin or strict-priority based
queuing;
• mapping of an incoming frame's priority to strict-priority based or weighted
Round-Robin traffic classes;
• flow control mechanisms on a strict-priority based or weight Round-Robin traffic class; and
• limitations on multicast datarate.
[00147] An FCoE configuration profile within a port profile defines the attributes needed for the port to support FCoE, which can include:
• FCoE VLAN;
• FCMAP;
• FCoE Priority; and • virtual Fabric ID.
[00148] A security configuration profile within a port profile defines the security rules needed for the server port. However, the security rules can be different at different ports, so some of the locally configured ACLs can be allowed to override conflicting rules from a port profile. A typical security profile can contain the following attributes:
• Enable 802. lx with EAP TLV extensions for VM mobility; and
• MAC based standard and extended ACLs.
[00149] In one embodiment, each port profile can have one or more MAC addresses associated with it. FIG. 12B illustrates three exemplary port profiles, in accordance with on embodiment of the present invention. In this example, port profile PP-1 is associated with 5
MAC addresses. These MAC address can be virtual MAC addresses assigned to different VMs. The port-profile-to-MAC mapping information is distributed throughout the VCS. A port profile can be activated on a server port in three ways: (1) when a hypervisor binds a MAC address to a port profile ID; (2) through regular MAC learning; and (3) through a manual configuration process via a management interface.
[00150] It is possible to group a set of VMs in the network by associating them with one port profile. This group can be used to dictate forwarding between the VMs. FIG. 13 illustrates how forwarding is achieved between VMs based on port profile membership, in accordance with one embodiment of the present invention. In this example, port profile 1 has two members: MAC-1 and MAC-3. Port profile 2 has four members: MAC-2, MAC-4, MAC-5, and MAC-6. All the VMs belong to the same VLAN X. Based on the tuple <MAC, VLAN ID>, a policy group ID (GID) can be determined. All the MAC addresses mapped to the same port profile should belong to the same policy group which dictates the forwarding boundary. This configuration allows enforcing different forwarding domains within a VLAN, as illustrated in FIG. 13B. The system then ensures that both the source MAC address and destination MAC address are part of the same port profile.
[00151] FIG. 14 presents a flowchart illustrating the process of creating and applying a port profile, in accordance with one embodiment of the present invention. During operation, the system receives a user created port profile with the corresponding VM's MAC address (operation 1402). This MAC address is then associated with the port profile and can be later used to identify the profile. The system then determines whether the new profile creates dependencies on other existing profiles or conflicts (operation 1404). If so, the system allows the user to resolve the conflicting configuration and/or dependencies (operation 1406). [00152] Subsequently, the system distributes the port profile and the corresponding VM MAC address to every member switch throughout the VCS fabric (operation 1408). When a VM is initiated or migrated, the system then detects a matching virtual MAC address from the received ingress packets (operation 1410). Based on the learned MAC address, the system then activates the corresponding port profile on the switch port (operation 1412).
Exemplary VCS Member Switch with AMPP
[00153] FIG. 15 illustrates an exemplary VCS member switch, in accordance with one embodiment of the present invention. In this example, the VCS member switch is a TRILL RBridge 1500 running special VCS software. RBridge 1500 includes a number of Ethernet communication ports 1501, which can transmit and receive Ethernet frames and/or TRILL encapsulated frames. Also included in RBridge 1500 is a packet processor 1502, a virtual FC switch management module 1504, a logical FC switch 1505, a VCS configuration database 1506, an AMPP management module 1507, and a TRILL header generation module 1508.
[00154] During operation, packet processor 1502 extracts the source and destination
MAC addresses of incoming frames, and attaches proper Ethernet or TRILL headers to outgoing frames. Virtual FC switch management module 1504 maintains the state of logical FC switch 1505, which is used to join other VCS switches using the FC switch fabric protocols. VCS configuration database 1506 maintains the configuration state of every switch within the VCS. TRILL header generation module 1508 is responsible for generating property TRILL headers for frames that are to be transmitted to other VCS member switches.
[00155] Upon learning a new MAC address from a VM, AMPP management module 1507 identifies the port profile corresponding to the learned MAC, and applies the identified port profile. This dynamic port profile application process can respond to VM migration within a very short period of time, thereby facilitating automatic port configuration in a virtual computing environment.
Advanced Link Tracking
[00156] Today's server virtualization infrastructure (e.g. a Hypervisor, also called virtual machine monitor) typically provides one or more virtual switches (also called virtual Ethernet bridges, VEBs) within a physical server. Each virtual switch serves a number of virtual machines. When a number of such servers connect to a VCS, the number of communication sessions among the virtual machines can be quite large. In such a network environment, when a network link or port fails, the failure would typically disrupt the reachability to one or more virtual machines. This disruption can affect the communication sessions of some of the virtual machines. In conventional networks, such reachability disruption only triggers a topology change and/or MAC address learning update in the network, and the source virtual machines are not notified about these updates. Correspondingly, with conventional technologies, there is no way for a Hypervisor to re-configure the connectivity of the virtual machines absent of some signaling from the network via proprietary protocols.
[00157] Embodiments of the present invention facilitate advanced link tracking by monitoring any reachability disruption in the network and notifying the affected hypervisor. In response, the hypervisor can re-configure the connectivity of the virtual machines under its control to bypass the failed link or port. In one embodiment, this advanced link tracking function can be carried out in a logical VCS access layer.
[00158] FIG. 16 illustrates an exemplary configuration of advanced link tracking in a VCS, in accordance with one embodiment of the present invention. In this example, a VCS 1600 includes four switches (which can be RBridges), 1620, 1622, 1624, and 1626. A physical server 1618 is coupled to both switches 1622 and 1624 via two network interface cards (NICs), 1603 and 1605, respectively. Physical server 1618 hosts four VMs, 1622, 1624, 1626, and 1628, which are managed by a hypervisor 1601. Hypervisor 1601 provides two virtual switches, 1602 and 1604. Each VM has two virtual ports (VPs), and is coupled to both virtual switches 1602 and 1604 via the VPs. In other words, each VM within physical server 1618 is dual-homed with virtual switches 1602 and 1604. This configuration provides redundancy to each VM, so that when one of the physical NICs (i.e., NIC 1603 or 1605) fails, hypervisor 1601 can instruct the VMs to use the other working NIC. During normal operation, for load-balancing purposes, VMs 1622 and 1624 are configured to communicate via virtual switch 1602, and VMs 1626 and 1628 are configured to communicate via virtual switch 1604.
[00159] Also coupled to VCS 1600 is physical servers 1617, which has a similar configuration as server 1618. Server 1617 includes four VMs, 1632, 1634, 1636, and 1638. These four VMs are each dual-homed with virtual switches 1642 and 1644, which are provided by hypervisor 1641. Virtual switch 1642 is coupled to VCS member switch 1620 via a NIC 1643, and virtual switch 1644 is coupled to VCS member switch 1626 via a NIC 1645. During normal operation, VMs 1632 and 1634 communicate with VCS 1600 via virtual switch 1642 and NIC 1643, and VMs 1636 and 1638 communicate with VCS 1600 via virtual switch 1644 and NIC 1645.
[00160] Assume that VMs 1622 and 1624 are in communication with VMs 1636 and 1638. Since VMs 1636 and 1638 are configured by hypervisor 1641 to use virtual switch 1644 and NIC 1645, the traffic between VMs 1622 and 1624 and VMs 1636 and 1638 is normally carried by VCS member switch 1626. Now, assume the link between switches 1620 and 1626 fails. As a result, VMs 1636 and 1638 can no longer be reached via NIC 1645. In embodiments of the present invention, this rechability update information is not only reflected in the VCS topology update (which is handled by the routing protocol within VCS 1600), but also communicated to hypervisor 1601 via NIC 1603. This update can allow hypervisor 1601 to quickly re-configure VMs 1622 and 1624, so that these two VMs use virtual switch 1604 and NIC 1605 to access VCS 1600. This way, the traffic from VMs 1622 and 1624 can still reach VMs 1636 and 1638 via switch 1624, switch 1620, NIC 1643, and virtual switch 1642. The new data path bypasses the failed link between switches 1620 and 1626. This re-configuration can take place shortly after the link failure is detected, thereby facilitating fast recovery at the source VMs.
[00161] FIG. 17 illustrates an example where advanced link tracking allows virtual machines to re-route egress traffic when a link fails, in accordance with one embodiment of the present invention. In this example, two servers 1702 and 1704 are coupled to a VCS 1700. Server 1702 hosts four VMs, 1706, 1708, 1710, and 1712, all of which are dual-homed with virtual switches 1714 and 1716. During operation, VMs 1706 and 1708 access VCS 1700 via VS 1714, and VMs 1710 and 1712 access VCS 1700 via VS 1716. Server 1704 have a similar configuration as server 1702. Assume that throughout VCS 1700 there is only one path leading from VS 1714 to VS 1718 in server 1704. Assume further that during operation the egress port coupling to VS 1718 in server 1704 fails. As a result, VS 1718 is no longer reachable from VS 1714. The advanced link tracking mechanism can notify VS 1714 of the lost reachability to VS 1718. In one embodiment, VCS 1700 can communicate with a third entity which maintains the connectivity-pattern information among all the VMs (such as the vCenter by VMware) to obtain information on the affected VMs. In further embodiments, VCS 1700 can notify every external port of the lost reachability, and let the individual hypervisor to determine whether reconfiguration of the VM-to-VS connectivity is necessary.
[00162] FIG. 18 presents a flowchart illustrating the process of advance link tracking, in accordance with one embodiment of the present invention. During operation, the system first detects a link (or port) failure in the VCS (operation 1802). The system then determines whether the failure affects reachability of an end host (operation 1804). If the failure does not affect reachability of any end host, it is assumed that VCS can recover from the failure after its topology converges and the routing protocol updates every switch's forwarding table. If the reachability of an end host is affected, the system then optionally identifies ingress port(s) which are in communication with the affected end host(s) (operation 1806). Subsequently, the system notifies the end hosts via the ingress ports of the reachability disruption (operation 1808).
Exemplary VCS Member Switch with Advanced Link Tracking
[00163] FIG. 19 illustrates an exemplary VCS member switch, in accordance with one embodiment of the present invention. In this example, the VCS member switch is a TRILL RBridge 1900 running special VCS software. RBridge 1900 includes a number of Ethernet communication ports 1901, which can be coupled to one or more servers hosting virtual machines and which can transmit and receive Ethernet frames and/or TRILL encapsulated frames. Also included in RBridge 1900 is a packet processor 1902, a virtual FC switch management module 1904, a logical FC switch 1905, a VCS configuration database 1906, an advanced link tracking module 1907, and a TRILL header generation module 1908.
[00164] During operation, packet processor 1902 extracts the source and destination MAC addresses of incoming frames, and attaches proper Ethernet or TRILL headers to outgoing frames. Virtual FC switch management module 1904 maintains the state of logical FC switch 1905, which is used to join other VCS switches using the FC switch fabric protocols. VCS configuration database 1906 maintains the configuration state of every switch within the VCS. TRILL header generation module 1908 is responsible for generating property TRILL headers for frames that are to be transmitted to other VCS member switches.
[00165] Upon learning about disrupted reachability in the VCS, advanced link tracking module 1907 identifies the port(s) which are affected by the disruption, and notifies the hypervisor of the disruption. This notification can allow the hypervisor to expedite the reconfiguration of the affected VMs and minimize service disruption. Furthermore, advanced link tracking module 1907 also monitors the health of all the links corresponding to ports 1901. Upon detection of any link or port failure, advanced link tracking module 1907 can notify other switches in the VCS of the link state change and any reachability disruption.
Virtual Port Grouping
[00166] Today's server virtualization infrastructure (e.g. a Hypervisor, also called virtual machine monitor) typically provides one or more virtual switches (also called virtual Ethernet bridges, VEBs) within a physical server. Each virtual switch serves a number of virtual machines. When a number of such servers connect to a VCS, the number of communication sessions among the virtual machines can be quite large. Often, different virtual machines belong to different customers, and different customers usually require dedicated and isolated network resources for security and quality of service purposes.
[00167] In one embodiment, each customer's virtual machines are placed in the same group based on the MAC address and VLAN tag of their associated virtual ports. The grouping information is replicated and stored at every VCS member switch. During operation, when a frame arrives at a VCS member switch, the member switch can enforce the grouping policy by looking up the group ID corresponding to the frame's source MAC address and VLAN tag. If the frame's destination MAC address combined with the VLAN tag belong to the same group, then the frame is forwarded to the proper next-hop switch. Otherwise, the frame is dropped. This configuration ensures that each customer's virtual machines only communicate within themselves, thereby creating virtual partitions within a VCS.
[00168] FIG. 20 illustrates an exemplary VCS network environment with virtual port grouping, in accordance with one embodiment of the present invention. In this example, a VCS 2000 includes four switches (which can be RBridges), 2020, 2022, 2024, and 2026. A physical server 2018 is coupled to both switches 2022 and 2024 via two network interface cards (NICs), 2003 and 2005, respectively. Physical server 2018 hosts four VMs, 2022, 2024, 2026, and 2028, which are managed by a hypervisor 2001. Hypervisor 2001 provides two virtual switches, 2002 and 2004. Each VM has two virtual ports (VPs), and is coupled to both virtual switches 2002 and 2004 via the VPs. In other words, each VM within physical server 2018 is dual-homed with virtual switches 2002 and 2004. This configuration provides redundancy to each VM, so that when one of the physical NICs (i.e., NIC 2003 or 2005) fails, hypervisor 2001 can instruct the VMs to use the other working NIC. During normal operation, for load-balancing purposes, VMs 2022 and 2024 are configured to communicate via virtual switch 2002, and VMs 2026 and 2028 are configured to communicate via virtual switch 2004.
[00169] Also coupled to VCS 2000 is physical servers 2017, which has a similar configuration as server 2018. Server 2017 includes four VMs, 2032, 2034, 2036, and 2038. These four VMs are each dual-homed with virtual switches 2042 and 2044, which are provided by hypervisor 2041. Virtual switch 2042 is coupled to VCS member switch 2020 via a NIC 2043, and virtual switch 2044 is coupled to VCS member switch 2026 via a NIC 2045. During normal operation, VMs 2032 and 2034 communicate with VCS 2000 via virtual switch 2042 and NIC 2043, and VMs 2036 and 2038 communicate with VCS 2000 via virtual switch 2044 and NIC 2045.
[00170] Assume that VMs 2024, 2028, 2032, and 2036 belong to the same customer (as indicated by the shading in each drawing element in FIG. 20), and that these VMs are restricted to communicate only within themselves. Typically, the customer would set a particular VLAN value to these VMs. However, the customer VLAN value might not work within VCS 2000, because the customer VLAN value might conflict with existing VLAN settings within VCS 2000. One way to solve this problem is to place the MAC addresses corresponding to the virtual ports of a particular customer's virtual machines, together with the customer's VLAN value, in a customer-specific group, and assign a unique group ID to this group. This grouping information can be a data structure that maps a {MAC, VLAN TAG} tuple to a group ID. This data structure is replicated and distributed to every member switch in VCS 2000.
[00171] FIG. 21 A illustrates an exemplary data structure for storing virtual port grouping information, in accordance with one embodiment of the present invention. In this example, each {MAC, VLAN TAG} tuple maps to a group ID, which is used to restrict forwarding of frames between different groups.
[00172] FIG. 21B illustrates logical virtual networks within a VCS as a result of virtual port grouping, in accordance with one embodiment of the present invention. In this example, two servers 2102 and 2104 are coupled to a VCS 2100. Server 2102 hosts four VMs, 2106, 2108, 2110, and 2112, all of which are dual-homed with virtual switches 2114 and 2116. Server 2104 hosts four VMs, 2122, 2124, 2126, and 2128, all of which are dual-homed with virtual switches 2118 and 2120. VMs 2108, 2112, 2124, and 2128 belong to the same customer and are expected to communicate only within themselves.
[00173] During operation, a VM administrator 2124 configures VMs 2108, 2112,
2124, and 2128 with the same VLAN tag corresponding to their common customer.
Correspondingly, the MAC address of the virtual ports for these machines, together with the designated VLAN tag, are assigned with the same group ID. VMs 2106, 2110, 2122, and 2126 and their respective VLAN tags are assigned a different group ID. This grouping information is then communicated to VCS 2100 and stored at every member switch.
[00174] When the frames are processed and forwarded within VCS 2100, frames with one group ID are prohibited from being forwarded to a MAC address- VLAN combination that corresponds to a different group ID. Thus, effectively, the virtual port grouping creates two virtual networks 2120 and 2121 within VCS 2100.
[00175] FIG. 22 presents a flowchart illustrating the process of enforcing virtual port grouping, in accordance with one embodiment of the present invention. During operation, a VCS member switch receives in ingress frame from an end host (operation 2202). The switch then identifies the group ID based on the source MAC address and VLAN tag of the received frame (operation 2204). In addition, the switch further determines whether the destination MAC address and VLAN tag of the received frame point to the same group ID (operation 2206). If so, the switch identifies the output port based on the destination MAC address and VLAN tag (operation 2208), and forwards the frame to the identified output port (operation 2210).
Otherwise, the frame is discarded (operation 2212).
Exemplary VCS Member Switch with Virtual Port Grouping
[00176] FIG. 23 illustrates an exemplary VCS member switch, in accordance with one embodiment of the present invention. In this example, the VCS member switch is a TRILL RBridge 2300 running special VCS software. RBridge 2300 includes a number of Ethernet communication ports 2301, which can be coupled to one or more servers hosting virtual machines and which can transmit and receive Ethernet frames and/or TRILL encapsulated frames. Also included in RBridge 2300 is a packet processor 2302, a virtual FC switch management module 2304, a logical FC switch 2305, a VCS configuration database 2306, virtual port grouping module 2307, and a TRILL header generation module 2308.
[00177] During operation, packet processor 2302 extracts the source and destination
MAC addresses of incoming frames, and attaches proper Ethernet or TRILL headers to outgoing frames. Virtual FC switch management module 2304 maintains the state of logical FC switch 2305, which is used to join other VCS switches using the FC switch fabric protocols. VCS configuration database 2306 maintains the configuration state of every switch within the VCS. TRILL header generation module 2308 is responsible for generating property TRILL headers for frames that are to be transmitted to other VCS member switches. Virtual port grouping module 2307 is responsible for maintaining a copy of the grouping information and enforcing the grouping policies. As described in conjunction with FIG. 22, when a frame's {source MAC, VLAN TAG} and {destination MAC, VLAN TAG} do not map to the same group ID, the frame is prevented from being forwarded to any of the output ports. In one embodiment, virtual port grouping module 2307 can communicate with a VM administrator (such as the VMware Vcenter) to obtain the virtual port grouping information (e.g., the complete data structure illustrated in FIG. 21 A). VCS Name Services
[00178] VCS allows an interconnected fabric of RBridges to function as a single logical switch. The VCS name services facilitate fast distribution of run-time network state changes, including newly learned MAC addresses (which is referred to as "Ethernet name service" or "Ethernet NS" in this disclosure) and multi-chassis trunk (MCT) port state updates (which is referred to as "MCT name service" or "MCT NS" in this disclosure). More details on MCT are provided in US Patent Application No. 12/725,249, (attorney docket number BRCD-112- 0439US), entitled "REDUNDANT HOST CONNECTION IN A ROUTED NETWORK," by inventors Somesh Gupta, Anoop Ghanwani, Phanidhar Koganti, and Shunjia Yu, filed 16 March 2010, the disclosure of which is incorporated by reference herein.
[00179] The Ethernet NS provides the ability to distribute various information across the VCS. The MAC information learned at one member switch is distributed to all other member switches, which facilitates fast MAC moves (for example, during migration of virtual machines) and global MAC learning. In some embodiments, layer-2 multicast information, which can be a multicast MAC address with corresponding switch/port identifiers and VLAN tag, can be distributed to facilitate efficient VCS-wide multicast. Optionally, Ethernet NS provides a distribution mechanism and does not maintain a central storage of the MAC-related knowledge base. In other words, the Ethernet NS knowledge database is replicated and stored distributively among all the VCS member switches.
[00180] Each member switch maintains a database of all the MAC addresses learned throughout the VCS. This database can be used to minimize the amount of flooding (a default behavior of Ethernet switch when a frame's destination MAC address is not recognized).
Ethernet NS also provides VCS-wide distribution of multicast MAC-to-RBridge/Port mapping information which can be obtained by Internet Group Management Protocol (IGMP) snooping. (Details about IGMP and IGMP snooping can be found at IETF RFC 3376 available at http://tools.ietf.org/html/rfc3376 and IETF RFC 4541 available at
http://tools.ietf.org/html/rfc4541.) Ethernet NS distributes this information to all RBridges, thereby allowing the VCS to behave as a single switch. By tracking and forwarding IGMP join and leave information, the Ethernet NS can efficiently track the multicast MAC information and maintain an accurate layer-2 multicast group.
[00181] One of the requirements of presenting a VCS as a single switch is to support connection of trunked links from external hosts to different RBridges within the VCS fabric. Such trunking which involves connection to different RBridges is referred to as multi-chassis trunking (MCT). Conceptually, support within the VCS fabric for routing to a MCT destination is achieved by presenting each MCT group (i.e., each trunk) as a virtual RBridge. In some embodiments, the virtual RBridge is not assigned a domain ID and thus does not utilize FSPF for routing setup. Instead, the a primary RBridge hosting the MCT distributes the virtual RBridge ID and the corresponding link state updates to the VCS fabric. The primary RBridge is responsible for learning a new MAC via an MCT and distributing the new MAC information to the VCS.
[00182] When an RBridge joins the VCS it will request a dump of the local NS database from the remote RBridge. It will not respond to individual updates from the remote RBridge until the DB dump has been received. After the database is in sync between two RBridges, individual changes are detected locally and pushed remotely. If a local database receives domain unreachable it is responsible for removing all records for that remote domain and doing any local notification that this removal implies.
[00183] FIG. 24 illustrates an example of name service operation in a VCS, in accordance with one embodiment of the present invention. In this example, a VCS 2400 includes four member switches (Rbridges), 2402, 2404, 2406, and 2408. Assume that an end host 2414 is coupled to switch 2402 during operation. When end host 2414 sends its first Ethernet frame, switch 2402 would not recognize the source MAC address of this ingress frame. Upon receiving this ingress frame, switch 2402 then determines the port (or interface) on which the frame arrives and the frame's VLAG tag. Subsequently, switch 2402 assembles an Ethernet NS update frame which indicates the learned MAC address (which corresponds to end host 2414), its switch identifier (which in one embodiment is the RBridge ID of switch 2402), the port identifier, and the VLAG tag for the frame. In one embodiment, this frame is an FC registered state change notification (RSCN) encapsulated in a TRILL header. Note that switch 2402 can obtain the information of all other member switches in the VCS by looking up the global configuration database. Subsequently, switch 2402 can send the Ethernet NS update frame to switches 2404, 2408, and 2406, respectively. Upon receiving the Ethernet NS update frame, each member switch updates its own MAC database accordingly. In this way, when one of the member switches receives an Ethernet frame destined to end-host 2414, it can forward that frame to switch 2402 (instead of flooding the frame to all of its ports).
[00184] Also shown in the example in FIG. 24 is an MCT group 2416. MCT group 2416 is formed by an end host 2412 which is dual-homed with switches 2406 and 2408. Assume that switch 2406 is the primary RBridge in MCT group 2416. When end host 2412 and MCT group 2410 is first configured, switch 2406 assigns a virtual RBridge 2410 to MCT group 2410. In addition, switch 2406 notifies the rest of VCS 2400 about the MAC address of end host 2412. Note that the NS update associated the MAC address of end host 2412 indicates the identifier of virtual RBridge 2410 (instead of the identifier of either switch 2406 or switch 2408). In this way, the rest of VCS 2400 can associate end host 2412 with virtual RBridge 2410. When forwarding a frame destined to end host 2412, a member switch in VCS 2400 would forward the frame toward virtual RBridge 2410 (i.e., by setting RBridge 2410 as the destination RBridge in the TRILL header). Note that switch 2406 is also responsible for distributing the link state information with respect to the virtual connectivity between virtual RBridge 2410 and switches 2406 and 2408 (indicated by the dotted lines).
[00185] In case when one of the links (i.e., either the link between switch 2406 and end host 2412, or the link between switch 2408 and end host 2412) fails, as part of the MCT NS, in one embodiment, primary RBridge 2406 is responsible for updating the rest of the VCS 2400 that host 2412's MAC address is no longer associated with virtual RBidge 2410. Instead, the MAC address of host 2412 is now associated with the switch to which host 2412 remains connected. In a further embodiment, it can be the responsibility of the switch that remains connected to host 2412 to distribute the updated MAC address association to the rest of VCS 2400.
[00186] FIG. 25 presents a flowchart illustrating the process of distributing learned MAC information by the Ethernet name service in a VCS, in accordance with one embodiment of the present invention. During operation, a VCS member switch detects an ingress frame with a new source MAC address (operation 2502). The switch then identifies the port on which the ingress frame is received (operation 2504). Subsequently, the switch assembles an Ethernet NS update frame with the learned MAC address, the switch identifier, port identifier, and VLAN tag (operation 2506). The switch then distributes the Ethernet NS update frames to all member switches in the VCS (operation 2508).
[00187] FIG. 26 presents a flowchart illustrating the process of distributing information of a learned MAC address via an MCT, in accordance with one embodiment of the present invention. During operation, assume that one of the switches in a MCT group detects an ingress frame with a new source MAC address (operation 2602). The switch then determines whether the end host which generates the frame is dual-homed with the MCT group (operation 2604). In one embodiment, the switch can make this determination by communicating with the other switch of the MCT group. In a further embodiment, the switch can inspect the link aggregation group (LAG) ID of the ingress frame to determine whether the end host is transmitting using a LAG. If the frame is an MCT frame, the switch then assembles an Ethernet NS update frame with the MAC address, the virtual RBridge identifier corresponding to the MCT, a port identifier, and the VLAG tag of the frame (operation 2606).
[00188] If the frame is determined to be from a regular end host (i.e., not a dual-homed host), the switch assembles an Ethernet NS updated frame with the MAC address, the local physical switch identifier (as opposed to the virtual RBridge ID), the identifier of the port on which the frame is received, and the frame's VLAN tag (operation 2607). The switch then distributes the Ethernet NS update frames to all the member switches in the VCS (operation 2608).
[00189] FIG. 27 presents a flowchart illustrating the process of updating the link state in an MCT group, in accordance with one embodiment of the present invention. During operation, assume one of the MCT partner switches detects a link or port failure which is part of the MCT group (operation 2702). Note that this failure can be detected locally (which means a port on the local switch or a link coupled to a local port has failed), or be detected remotely (which means that the failure occurs on the partner switch and the local switch is notified of the failure by the partner switch). The switch then determines whether the MCT end host is still connected to the local switch (operation 2704). If the end host is no longer connected to the local switch, the local switch optionally notifies the other partner switch in the MCT of the failure (operation 2710) and takes no further actions, assuming that the partner switch will assume responsibility of updating the link state (using, for example, the same procedure illustrated in FIG. 27).
[00190] If the MCT end host is still connected to the local switch, the switch then assembles an NS update frame with the end host's MAC address, the local switch's identifier (e.g., the physical RBridge ID of the local switch), the identifier of the port thought which the end host is connected, and the proper VLAN tag (operation 2706). The switch then distributes the NS update frames to all member switches in the VCS (operation 2708).
[00191] FIG. 28 illustrates an exemplary switch that facilitates formation of a virtual cluster switch with Ethernet and MCT name services, in accordance with an embodiment of the present invention. The VCS member switch is a TRILL RBridge 2800 running special VCS software. RBridge 2800 includes a number of Ethernet communication ports 2801, which can transmit and receive Ethernet frames and/or TRILL encapsulated frames. Also included in RBridge 2800 is a packet processor 2802, a virtual FC switch management module 2804, a logical FC switch 2805, a VCS configuration database 2806, a name services management module 2807, and a TRILL header generation module 2808.
[00192] During operation, packet processor 2802 extracts the source and destination MAC addresses of incoming frames, and attaches proper Ethernet or TRILL headers to outgoing frames. Virtual FC switch management module 2804 maintains the state of logical FC switch 2805, which is used to join other VCS switches using the FC switch fabric protocols. VCS configuration database 2806 maintains the configuration state of every switch within the VCS. TRILL header generation module 2808 is responsible for generating property TRILL headers for frames that are to be transmitted to other VCS member switches. Based on the extracted MAC addresses of incoming frames, NS management module 2807 distributes the NS update frames to the rest of the VCS. NS management module 2807 also maintains a copy of NS database 2809. NS database 2809 stores all the learned MAC address information from every member switch in the VCS. Equal Cost Multi-pathing
[00193] Because VCS uses the Fabric Shortest Path First (FSPF) routing protocol and the TRILL transport, embodiments of the present invention can facilitate equal-cost or nearly-equal- cost multi-pathing for load balancing purposes. FIG. 29 illustrates an exemplary equal cost multi-pathing configuration in a VCS, in accordance with one embodiment of the present invention. In this example, a VCS 2930 includes switches 2934, 2936, 2938, 2944, 2946, and 2948. Assume that a traffic flow enters VCS 2930 via ingress switch 2934 and exits VCS 2930 via egress switch 2948. Based on the hop distance, there are two equal-cost data paths, 2950 and 2952. In one embodiment, when determining the output interface, switch 2934's forwarding engine can return two possible output ports, corresponding to data paths 2950 and 2952, respectively. If load balancing is desired, traffic from switch 2934 to switch 2948 can be split between the two data paths.
[00194] In one embodiment, the traffic splitting can be based on any field in a frame header. For example, the traffic can be split based on VLAN tags. The traffic can also be split based on layer-4 port numbers or application types.
Flow Control and Congestion Management
[00195] In some embodiments of the present invention, the VCS can achieve loss-less packet transport by implementing a number of flow control mechanisms. In one embodiment, the VCS member switches implement a priority-based flow control (PFC)-like mechanism to ensure a loss-less packet transport between neighboring switches. With priority-based flow control, traffic class is identified by the VLAN tag priority values. Priority-based flow control is intended to eliminate frame loss due to congestion. This is achieved by a mechanism similar to the IEEE 802.3x PAUSE, but operating on individual priorities. This mechanism enables support for higher layer protocols that are highly loss sensitive while not affecting the operation of traditional LAN protocols utilizing other priorities. Details of PFC can be found in the IEEE 802.1Qbb standard, available at http://www.ieee802.Org/l/pages/802.lbb.html, which is incorporated by reference herein.
[00196] In further embodiments, the VCS member switch also employ enhanced transmission selection mechanisms, which support allocation of bandwidth amongst different traffic classes. When the offered load in a traffic class does not use its allocated bandwidth, enhanced transmission selection will allow other traffic classes to use the available bandwidth. The bandwidth-allocation priorities can coexist with strict priorities. The VCS can prioritize traffic to provide different service characteristics to traffic classes. It is possible to share bandwidth between priorities carrying bursty loads rather than servicing them with strict priority while allowing strict priority for time-sensitive and management traffic requiring minimum latency. Also, when traffic at a given priority level does not use its allocation, it is possible to allow other priorities to use that bandwidth. Details of ETS can be found in the IEEE 802. lQas standard, available at http://www.ieee802.Org/l/pages/802. laz.html, which is incorporated by reference herein.
[00197] In some embodiments, the VCS member switches can also implement congestion notification mechanisms to facilitate source-oriented flow control. FIG. 30 illustrates an example of VCS congestion notification, in accordance with one embodiment of the present invention. In this example, assume a source host 3002 is transmitting frames to a destination host 3004 via a VCS 3000. Assume that congestion occurs at an intermediary switch 3006. As frames accumulate at switch 3006, its corresponding queue 3008 becomes full. A queue monitoring mechanism within switch 3006 is triggered when the content of queue 3008 passes a
predetermined threshold. In response, switch 3006 can randomly select a frame in queue 3008, extract the source MAC address of the selected frame to construct a congestion notification frame, and send this notification frame to the source device corresponding to the extracted source MAC address (which is host 3002). Switch 3006 can perform the same action with multiple frames in queue 3008, so that if multiple sources are contributing to the congestion, these sources can all be notified. Hybrid Trunking
[00198] In one embodiment, the trunked links between two neighboring VCS member switches can be further trunked to form a hybrid trunk. This way, the amount of link state maintenance traffic between the two switches can be minimized. FIG. 31 illustrates an exemplary hybrid trunk in accordance with one embodiment of the present invention. In this example, two link trunk groups 3106 and 3108 are formed between VCS member switches 3102 and 3104. Assuming that trunk groups 3106 and 3108 can be identified by both switches without using a link aggregation group (LAG) ID, it is possible to form a LAG 3110 based on trunks 3106 and 3108. In this case, trunks 3106 and 3108 can be regarded as logical links. LAG 3110 can also include other individual, physical links (not shown). [00199] FIG. 32 illustrates an exemplary VCS member switch, in accordance with one embodiment of the present invention. In this example, the VCS member switch is a TRILL RBridge 3200 running special VCS software. RBridge 3200 includes a number of Ethernet communication ports 3201, which can transmit and receive Ethernet frames and/or TRILL encapsulated frames. Also included in RBridge 3200 is a packet processor 3202, a virtual FC switch management module 3204, a logical FC switch 3205, a VCS configuration database 3206, a traffic management module 3207, and a TRILL header generation module 3208.
[00200] During operation, packet processor 3202 extracts the source and destination MAC addresses of incoming frames, and attaches proper Ethernet or TRILL headers to outgoing frames. Virtual FC switch management module 3204 maintains the state of logical FC switch 3205, which is used to join other VCS switches using the FC switch fabric protocols. VCS configuration database 3206 maintains the configuration state of every switch within the VCS. TRILL header generation module 3208 is responsible for generating property TRILL headers for frames that are to be transmitted to other VCS member switches. Traffic management module 3207 facilitates the aforementioned traffic management functions, such as multi-pathing, flow control, congestion notification, and hybrid trunking.
VCS with Converged Network Extension
[00201] One goal of the embodiments of the present invention is to extend a VCS and TRILL network across data centers and meet the scalability requirements needed by the deployments. A converged network extension (CNE) device can be implemented in a two-box solution, wherein one box is capable of L2/L3/FCoE switching and is part of the VCS, and the other facilitates the WAN tunneling to transport Ethernet and/or FC traffic over WAN. The CNE device can also be implemented in a one -box solution, wherein a single piece of network equipment combines the functions of L2/L3/FCoE switching and WAN tunneling.
[00202] As described above, VCS as a layer-2 switch uses TRILL as its inter-switch connectivity and delivers a notion of single logical layer-2 switch. This single logical layer-2 switch delivers a transparent LAN service. All the edge ports of VCS support standard protocols and features like Link Aggregation Control Protocol (LACP), Link Layer Discovery Protocol (LLDP), VLANs, MAC learning, etc. VCS achieves a distributed MAC address database using Ethernet Name Service (eNS) and attempts to avoid flooding as much as possible. VCS also provides various intelligent services, such as virtual link aggregation group (vLAG), advance port profile management (APPM), End-to-End FCoE, Edge-Loop-Detection, etc. [00203] In embodiments of the present invention, for the purpose of cross-data-center communication, each data center is represented as a single logical RBridge. This logical RBridge can be assigned a virtual RBridge ID or use the RBridge ID of the CNE device that performs the WAN tunneling.
[00204] FIG. 33 illustrates an exemplary network architecture which includes CNE devices for facilitate cross-data-center communications, in accordance with one embodiment of the present invention. In this example, two data centers 3344 and 3346 are coupled to a WAN 3326 via gateway routers 3324 and 3328, respectively. Data center 3344 includes a VCS 3316, which couples to a number of hosts, such as host 3301, via its member switches, such as switch 3310. Host 3301 includes two VMs 3302 and 3304, which are coupled to virtual switches 3306 and 3308 in a dual-homing configuration. In one embodiment, virtual switches 3306 and 3308 reside on two network interface cards on host 3301. Virtual switches 3306 and 3308 are coupled to VCS member switch 3310. Also included in VCS 3316 is a CNE device 3318. CNE device 3318 is configured to receive both Ethernet (or TRILL) traffic from member switch 3310 via an Ethernet (or TRILL) link 3312, and FC traffic via FC link 3314. Also coupled to CNE device 3318 is a target storage device 3320, and a cloned target storage device 3322 (denoted by dotted lines). CNE device 3318 maintains an FCIP tunnel to data center 3346 across WAN 3326 via gateway routers 3324 and 3328.
[00205] Similarly, data center 3346 includes a VCS 3342, which in turn includes a member switch 3332. Member switch 3332 is coupled to a host 3341, which includes VMs 3334 and 3336, both of which are coupled to virtual switches 3338 and 3340. Also included in VCS 3342 is a CNE device 3330. CNE device is coupled to member switch 3332 via an Ethernet (TRILL) link and an FC link. CNE device 3330 is also coupled to target storage device 3322 and a clone of target storage device 3320.
[00206] During operation, assume that VM 3302 needs to move from host 3301 to host
3341. Note that this movement is previously not possible, because virtual machines are visible only within the same layer-2 network domain. Once the layer-2 network domain is terminated by a layer-3 device, such as gateway router 3324, all the identifying information for a particular virtual machine (which is carried in layer-2 headers) is lost. However, in embodiments of the present invention, because CNE device extends the layer-2 domain from VCS 3316 to VCS
3342, the movement of VM 3302 from data center 3344 to data center 3346 is now possible.
[00207] When forwarding TRILL frames from data center 3344 to data center 3346, CNE device 3318 modifies the egress TRILL frames' header so that the destination RBridge identifier is the RBridge identifier assigned to data center 3346. CNE device 3318 then uses the FCIP tunnel to deliver these TRILL frames to CNE device 3330, which in turn forwards these TRILL frames to their respective layer-2 destinations.
TRILL Fabric Formation Across Data Centers
[00208] VCS uses FC control plane to automatically form a fabric and assign RBridge identifiers to each member switch. In one embodiment, the CNE architecture keeps the TRILL and SAN fabrics separate between data centers. From a TRILL point of view, each VCS (which corresponds to a respective data center) is represented as a single virtual RBrdige. In addition, the CNE device can be coupled to a VCS member switch with both a TRILL link and an FC link. The CNE device can join the VCS via a TRILL link. However, since the CNE devices keeps the TRILL VCS fabric and SAN (FC) fabric separate, the FC link between the CNE device and the member switch is configured for FC multi-fabric.
[00209] As illustrated in FIG. 34, a data center 3408 is coupled to a WAN via a gateway router 3410, and a data center 3420 is coupled to the WAN via a gateway router 3412. Data center 3408 includes a VCS 3406, which includes a member switch 3404. Also included in data center 3408 is a CNE device 3402. CNE device 3402 is coupled to VCS member switch 3404 via a TRILL link and an FC link. CNE device 3402 can join the VCS via the TRILL link.
However, the FC link allows CNE device 3402 to maintain a separate FC fabric with VCS member switch 3404 to carry FC traffic. In one embodiment, the FC port on CNE device 3402 is an FC EX_port. The corresponding port on member switch 3404 is an FC E_port. The port on CNE device 3402 on the WAN side (coupling to gateway router 3410) is an FCIP VE_port. Data center 3420 has a similar configuration.
[00210] In one embodiment, each data center's VCS includes a node designated as the ROOT RBridge for multicast purposes. During the initial setup, the CNE devices in the VCSs exchange each VCS's ROOT RBridge identifier. In addition, the CNE devices also exchange each data center's RBridge identifier. Note that this RBridge identifier represents the entire data center. Information related to data-center RBridge identifiers is distributed as a static route to all the nodes in the local VCS.
Forwarding BUM Traffic Across Data Centers
[00211] FIG. 35 A presents a diagram illustrating how CNE devices handle broadcast, unknown unicast, and multicast (BUM) traffic across data centers, in accordance with one embodiment of the present invention. In this example, two data centers, DC-1 and DC-2, are coupled to an IP WAN via core IP routers. The CNE device in DC-1 has an RBridge identifier of RB4, and the CNE device in DC-2 has an RBridge identifier of RB6. Furthermore, in the VCS in DC-1, a member switch RBI is coupled to host A. In the VCS in DC-2, a member switch RB5 is coupled to host Z.
[00212] Assume that host A needs to send multicast traffic to host Z, and that host A already has the knowledge of host Z's MAC address. During operation, host A assembles an Ethernet frame 3502, which has host Z's MAC address (denoted as MAC-Z) as its destination address (DA), and host A's MAC address (denoted as MAC-A) as its source address (SA). Based on frame 3502, member switch RBI assembles a TRILL frame 3503, whose TRILL header 3506 includes the RBridge identifier of data center DC-l's root RBridge (denoted as "DC 1 -ROOT") as the destination RBridge, and RBI as the source RBridge. (That is, within DC-1, the multicast traffic is distributed on the local multicast tree.) The outer Ethernet header 3504 of frame 3503 has CNE device RB4's MAC address (denoted as MAC-RB4) as the DA, and member switch RBl's MAC address (denoted as MAC-RB 1 ) as the S A.
[00213] When frame 3503 reaches CNE device RB4, it further modifies the frame's TRILL header to produce frame 3505. CNE device RB4 replaces the destination RBridge identifier in the TRILL header 3510 with data center DC-2's root RBridge identifier DC2-ROOT. The source RBridge identifier is changed to data center DC-l's virtual RBridge identifier, DC1- RB (which allows data center DC-2 to learn data center DC-l's RBridge identifier). Outer
Ethernet header 3508 has the core router's MAC address (MAC-RTR) as its DA, and CNE device RB4's MAC address (MAC-DC- 1) as its SA.
[00214] Frame 3505 is subsequently transported across the IP WAN in an FCIP tunnel and reaches CNE device RB6. Correspondingly, CNE device RB6 updates the header to produce frame 3507. Frame 3507's TRILL header 3514 remains the same as frame 3505. The outer
Ethernet header 3512 now has member switch RB5's MAC address, MAC-RB5, as its DA, and CNE device RB6's MAC address, MAC-RB6, as its SA. Once frame 3507 reaches member switch RB5, the TRILL header is removed, and the inner Ethernet frame is delivered to host Z.
[00215] In various embodiments, a CNE device can be configured to allow or disallow unknown unicast, broadcast (e.g., ARP), or multicast (e.g., IGMP snooped) traffic to cross data center boundaries. By having these options, one can limit the amount of BUM traffic across data centers. Note that all TRILL encapsulated BUM traffic between data centers can be sent with the remote data center's root RBrdige identifier. This translation is done at the terminating point of the FCIP tunnel. [00216] Additional mechanisms can be implemented to minimize BUM traffic across data centers. For instance, the TRILL ports between the CNE device and any VCS member switch can be configured to not participate in any of the VLAN MGIDs. In addition, the eNS on both VCSs can be configured to synchronize their learned MAC address database to minimize traffic with unknown MAC DA. (Note that in one embodiment, before the learned MAC address databases are synchronized in different VCSs, frames with unknown MAC DAs are flooded within the local data center only.)
[00217] To further minimize BUM traffic, broadcast traffic such as ARP traffic can be reduced by snooping ARP responses to build ARP databases on VCS member switches. The learned ARP databases are then exchanged and synchronized across different data centers using eNS. Proxy-based ARP is used to respond to all know ARP requests in a VCS. Furthermore, multicast traffic across data centers can be reduced by distributing the multicast group membership across data canters by sharing the IGMP snooping information via eNS. Forwarding Unicast Traffic Across Data Centers
[00218] The process of forwarding unicast traffic between data centers is described as follows. During the FCIP tunnel formation, the logical RBridge identifiers representing data centers are exchanged. When a TRILL frame arrives at the entry node of the FCIP tunnel, wherein the TRILL destination RBridge is set as the RBridge identifier of the remote data center, the source RBridge in the TRILL header is translated to the logical RBridge identifier assigned to the local data center. When the frame exits the FCIP tunnel, the destination RBridge field in the TRILL header is set as the local (i.e., the destination) data center's virtual RBridge identifier. The MAC DA and VLAN ID in the inner Ethernet header is then used to look up the
corresponding destination RBridge (i.e., the RBridge identifier of the member switch to which the destination host is attached, and the destination RBridge field in the TRILL header is updated accordingly.
[00219] In the destination data center, based on an ingress frame, all the VCS member switches learn the mapping between the MAC SA (in the inner Ethernet header of the frame) and the TRILL source RBridge (which is the virtual RBridge identifier assigned to the source data center). This allows future egress frames destined to that MAC address to be sent to the right remote data center. Note that since the RBridge identifier assigned to a given data center does not correspond to a physical RBridge, in one embodiment, a static route is used to map a remote data-center RBridge identifier to the local CNE device. [00220] FIG. 35B presents a diagram illustrating how CNE devices handle unicast traffic across data centers, in accordance with one embodiment of the present invention. Assume that host A needs to send unicast traffic to host Z, and that host A already has the knowledge of host Z's MAC address. During operation, host A assembles an Ethernet frame 3502, which has host Z's MAC address (MAC-Z) as its DA, and host A's MAC address (MAC-A) as its SA. Based on frame 3502, member switch RBI assembles a TRILL frame 3503, whose TRILL header 3509 includes the RBridge identifier of data center DC-2's virtual Rbridge (denoted as "DC2-RB") as the destination RBridge, and RBI as the source RBridge. The outer Ethernet header 3504 of frame 3503 has CNE device RB4's MAC address (MAC-RB4) as the DA, and member switch RBl's MAC address (MAC-RB 1 ) as the S A.
[00221] When frame 3503 reaches CNE device RB4, it further modifies the frame's TRILL header to produce frame 3505. CNE device RB4 replaces the source RBridge identifier in the TRILL header 3511 with data center DC-l's virtual RBridge identifier DC1-RB (which allows data center DC-2 to learn data center DC-l's RBridge identifier). Outer Ethernet header 3508 has the core router's MAC address (MAC-RTR) as its DA, and CNE device RB4's MAC address (MAC-DC- 1) as its SA.
[00222] Frame 3505 is subsequently transported across the IP WAN in an FCIP tunnel and reaches CNE device RB6. Correspondingly, CNE device RB6 updates the header to produce frame 3507. Frame 3507's TRILL header 3515 has an updated destination RBridge identifier, which is RB5, the VCS member switch in DC-2 that couples to host Z. The outer Ethernet header 3512 now has member switch RB5's MAC address, MAC-RB5, as its DA, and CNE device RB6's MAC address, MAC-RB6, as its SA. Once frame 3507 reaches member switch RB5, the TRILL header is removed, and the inner Ethernet frame is delivered to host Z. Learning MAC Addresses and Distributing Configuration Information Across Data Centers
[00223] Flooding across data centers of frames with unknown MAC Das is one way for the data centers to learn the MAC address in another data center. All unknown SAs are learned as MACs behind an RBridge and it is no exception for the CNE device. In one embodiment, eNS can be used to distribute learned MAC address database, which reduces the amount of flooding across data centers.
[00224] In order to optimize flushes, even though MAC addresses are learned behind RBridges, the actual VCS edge port associated with a MAC address is present in the eNS MAC updates. However, the edge port IDs might no longer be unique across data-centers. To resolve this problem, all eNS updates across data centers will qualify the MAC entry with the data- center's RBridge identifier. This configuration allows propagation of port flushes across data centers.
[00225] In the architecture described herein, VCSs in different data-centers do not join each other; hence the distributed configurations are kept separate. However, in order to allow virtual machines to move across data-centers, there will be some configuration data that needs to be synchronized across data-centers. In one embodiment, a special module (in either software or hardware) is created for CNE purposes. This module is configured to retrieve the configuration information needed to facilitate moving of virtual machines across data centers and it is synchronized between two or more VCSs.
[00226] In one embodiment, the learned MAC address databases are distributed across data centers. Also, edge port state change notifications (SCNs) are also distributed across data centers. When a physical RBridge is going down, the SCN is converted to multiple port SCNs on the inter-data-center FCIP link.
Redundancy in CNE-enabled VCSs
[00227] In order to protect the inter-data-center connectivity, a VCS can form a vLAG between two or more CNE devices. In this model, the vLAG RBridge identifier is used as the data-center RBridge identifier. The FCIP control plane is configured to be aware of this arrangement and exchange the vLAG RBridge identifers in such cases.
[00228] FIG. 14 illustrates an example where two CNE devices are used to construct a vLAG, in accordance with an embodiment of the present invention. In this example, a VCS 1400 includes two CNE devices 1406 and 1408. Both CNE devices 1406 and 1408 forms a vLAG 1410 which is coupled to a core IP router. vLAG 1410 is assigned a virtual RBridge identifier, which is also used as the data-center RBridge identifier for VCS 1400. Furthermore, vLAG 1410 can facilitate both ingress and egress load balancing (e.g., based on equal-cost multi-pathing (ECMP)) for any member switch within VCS 1400.
Routing Among FC and Ethernet Inter-switch Links
[00229] Existing routing models assume every inter-switch link (ISL) can be a path to a reachable domain. However, if an FCIP-enabled VCS node joins the VCS via both FC and Ethernet ISLs, extra care needs to be taken to ensure that only FCoE storage traffic uses the FC links while the Ethernet ISLs are used for the LAN traffic. This can be achieved by allowing only FCoE VLAN traffic to use the FC links, while all non-FCoE traffic are allowed to use only the Ethernet ISLs.
CNE Device Structure
[00230] FIG. 37 illustrates an exemplary CNE device, in accordance with one
embodiment of the present invention. In this example, a CNE device 3700 includes a number of TRILL ports 3702, FC ports 3704, and FCIP ports 3705. TRILL ports 3702 and FC ports 3704 are used to handle traffic within the local data center. FCIP ports 3705 are used to couple to WAN network equipment, such as IP routers. These ports are internally coupled to a packet processor 3706, which is responsible for updating a received frame's header(s).
[00231] Coupled to packet processor 3706 is an address management module 3708, which is responsible for maintaining the virtual data-center RBridge identifier, learning address information from remote data centers, and updating the source RBrdige field for outgoing frames to a remote data center. Also included in CNE device 3700 is an FCIP management module 3710, which maintains the FCIP tunnel and is responsible for exchanging configuration information via the FCIP tunnel, and a TRILL management module 3712, which manages the TRILL connection with the local VCS.
[00232] The methods and processes described herein can be embodied as code and/or data, which can be stored in a computer-readable non-transitory storage medium. When a computer system reads and executes the code and/or data stored on the computer-readable non- transitory storage medium, the computer system performs the methods and processes embodied as data structures and code and stored within the medium.
[00233] The methods and processes described herein can be executed by and/or included in hardware modules or apparatus. These modules or apparatus may include, but are not limited to, an application-specific integrated circuit (ASIC) chip, a field-programmable gate array (FPGA), a dedicated or shared processor that executes a particular software module or a piece of code at a particular time, and/or other programmable-logic devices now known or later developed. When the hardware modules or apparatus are activated, they perform the methods and processes included within them.
[00234] The foregoing descriptions of embodiments of the present invention have been presented only for purposes of illustration and description. They are not intended to be exhaustive or to limit this disclosure. Accordingly, many modifications and variations will be apparent to practitioners skilled in the art. The scope of the present invention is defined by the appended claims.

Claims

What Is Claimed Is:
1. A switch, comprising:
one or more ports configured to transmit packets encapsulated based on a first protocol; and
a control mechanism configured to:
form a logical switch based on a second protocol;
receive an automatically assigned identifier for the logical switch without requiring manual configuration of the identifier; and
join a virtual cluster switch.
2. The switch of claim 1,
wherein the virtual cluster switch comprises one or more physical switches which are allowed to be coupled in an arbitrary topology; and
wherein the virtual cluster switch appears to be one single switch.
3. The switch of claim 1, wherein the first protocol is based on an Ethernet protocol.
4. The switch of claim 3, wherein the first protocol is a Transparent Interconnection of Lots of Links (TRILL) protocol, and wherein the packets are encapsulated in TRILL headers.
5. The switch of claim 1, wherein the logical switch formed by the control mechanism is a logical Fibre Channel (FC) switch.
6. The switch of claim 5, wherein the identifier assigned to the logical switch is an
FC switch domain ID.
7. The switch of claim 1, wherein the control mechanism is further configured to maintain a copy of configuration information for the virtual cluster switch.
8. The switch of claim 7, wherein the configuration information for the virtual cluster switch comprises a number of logical switch identifiers assigned to the physical switches in the virtual cluster switch.
9. The switch of claim 1, further comprising a media access control (MAC) learning mechanism configured to:
learn a source MAC address and a corresponding VLAN identifier of an ingress packet associated with a port; and
communicate a learned MAC address, a corresponding VLAN identifier, and the corresponding port information to a name service.
10. The switch of claim 1, further comprising a forwarding mechanism configured to query a name service based on a received packet's destination MAC address and corresponding VLAN information prior to forwarding the received packet.
11. A switching system, comprising:
a plurality of switches configured to transport packets using a first protocol; and a control mechanism residing on a respective switch;
wherein the plurality of switches are allowed to be coupled in an arbitrary topology; wherein the control mechanism automatically configures the respective switch within the switching system based on a second protocol without requiring manual configuration; and
wherein the switching system appears externally as a single switch.
12. The switching system of claim 11, wherein a respective switch in the switching system receives an automatically configured identifier associated with a logical switch formed on the respective switch.
13. The switching system of claim 12,
wherein the logical switch is a logical FC switch; and
wherein the identifier is an FC switch domain ID.
14. The switching system of claim 13,
wherein the packets are transported between switches based on a TRILL protocol; and wherein the respective switch is assigned a TRILL RBridge identifier that corresponds to the FC switch domain ID.
15. The switching system of claim 11, wherein a respective switch maintains a copy of configuration information of all the switches in the switching system.
16. The switching system of claim 11, further comprising a name service which maintains records of MAC addresses and VLAN information learned by a respective switch.
17. A method, comprising :
transmitting packets encapsulated based on a first protocol;
forming a logical switch based on a second protocol;
receiving an automatically assigned identifier for the logical switch without requiring manual configuration of the identifier; and
joining a virtual cluster switch comprising one or more physical switches which are allowed to be coupled in an arbitrary topology, wherein the virtual cluster switch appears to be one single switch.
18. The method of claim 17, wherein the logical switch is a logical FC switch, and wherein the identifier assigned to the logical switch is an FC switch domain ID.
19. The method of claim 17, further comprising maintaining a copy of configuration information for the virtual cluster switch.
20. A switch means, comprising:
a communication means for transmitting packets encapsulated based on a first protocol; and
a control means comprising:
a logical switch means for forming a logical switch based on a
second protocol;
a receiving means for receiving an automatically assigned identifier for the logical switch without requiring manual configuration of the
identifier; and
a joining means for joining a virtual cluster switch.
PCT/US2011/034917 2010-05-03 2011-05-03 Virtual cluster switching WO2011140028A1 (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
CN201180030594.5A CN102986172B (en) 2010-05-03 2011-05-03 Virtual Cluster exchanges
EP16155677.4A EP3041173B1 (en) 2010-05-03 2011-05-03 Virtual cluster switching
CA2797278A CA2797278A1 (en) 2010-05-03 2011-05-03 Virtual cluster switching
EP21211732.9A EP4027611A1 (en) 2010-05-03 2011-05-03 Virtual cluster switching
JP2013509167A JP5801383B2 (en) 2010-05-03 2011-05-03 Virtual cluster exchange
EP11721162.3A EP2567512B1 (en) 2010-05-03 2011-05-03 Virtual cluster switching
US14/912,585 US20170155599A1 (en) 2010-05-03 2011-05-03 Virtual cluster switching

Applications Claiming Priority (48)

Application Number Priority Date Filing Date Title
US33067810P 2010-05-03 2010-05-03
US61/330,678 2010-05-03
US33366610P 2010-05-11 2010-05-11
US61/333,666 2010-05-11
US33494510P 2010-05-14 2010-05-14
US61/334,945 2010-05-14
US34595310P 2010-05-18 2010-05-18
US61/345,953 2010-05-18
US34960310P 2010-05-28 2010-05-28
US61/349,603 2010-05-28
US35083810P 2010-06-02 2010-06-02
US61/350,838 2010-06-02
US35226410P 2010-06-07 2010-06-07
US35225510P 2010-06-07 2010-06-07
US61/352,255 2010-06-07
US61/352,264 2010-06-07
US35281910P 2010-06-08 2010-06-08
US35277610P 2010-06-08 2010-06-08
US61/352,776 2010-06-08
US61/352,819 2010-06-08
US38080710P 2010-09-08 2010-09-08
US38080310P 2010-09-08 2010-09-08
US38081810P 2010-09-08 2010-09-08
US38081910P 2010-09-08 2010-09-08
US61/380,818 2010-09-08
US61/380,803 2010-09-08
US61/380,807 2010-09-08
US61/380,819 2010-09-08
US13/042,259 2011-03-07
US13/042,259 US9461840B2 (en) 2010-06-02 2011-03-07 Port profile management for virtual cluster switching
US13/087,239 2011-04-14
US13/087,239 US8867552B2 (en) 2010-05-03 2011-04-14 Virtual cluster switching
US13/092,877 2011-04-22
US13/092,460 2011-04-22
US13/092,752 2011-04-22
US13/092,752 US9270486B2 (en) 2010-06-07 2011-04-22 Name services for virtual cluster switching
US13/092,877 US9231890B2 (en) 2010-06-08 2011-04-22 Traffic management for virtual cluster switching
US13/092,580 US9716672B2 (en) 2010-05-28 2011-04-22 Distributed configuration management for virtual cluster switching
US13/092,580 2011-04-22
US13/092,724 2011-04-22
US13/092,701 US8989186B2 (en) 2010-06-08 2011-04-22 Virtual port grouping for virtual cluster switching
US13/092,724 US9001824B2 (en) 2010-05-18 2011-04-22 Fabric formation for virtual cluster switching
US13/092,701 2011-04-22
US13/092,460 US9769016B2 (en) 2010-06-07 2011-04-22 Advanced link tracking for virtual cluster switching
US13/098,360 US8625616B2 (en) 2010-05-11 2011-04-29 Converged network extension
US13/098,360 2011-04-29
US13/098,490 2011-05-02
US13/098,490 US10673703B2 (en) 2010-05-03 2011-05-02 Fabric switching

Publications (1)

Publication Number Publication Date
WO2011140028A1 true WO2011140028A1 (en) 2011-11-10

Family

ID=47352244

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2011/034917 WO2011140028A1 (en) 2010-05-03 2011-05-03 Virtual cluster switching

Country Status (5)

Country Link
EP (3) EP2567512B1 (en)
JP (1) JP5801383B2 (en)
CN (2) CN102986172B (en)
CA (1) CA2797278A1 (en)
WO (1) WO2011140028A1 (en)

Cited By (65)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013126062A (en) * 2011-12-14 2013-06-24 Kddi Corp Network traffic control device, control method and program
JP2013162418A (en) * 2012-02-07 2013-08-19 Nippon Telegr & Teleph Corp <Ntt> Cloud system, gateway device, communication control method, and communication control program
CN103441935A (en) * 2013-08-16 2013-12-11 北京星网锐捷网络技术有限公司 Method and device capable of automatically recognizing adjacency relation between server and access switch
WO2014086242A1 (en) * 2012-12-07 2014-06-12 中兴通讯股份有限公司 Multicast forwarding method and apparatus in multi-link transparent internet, and routing bridge
US20150071122A1 (en) * 2013-09-06 2015-03-12 Brocade Communications Systems, Inc. Transparent inteconnection of ethernet fabric switches
WO2015137977A1 (en) * 2014-03-14 2015-09-17 Hewlett-Packard Development Company, L.P. A switching fabric including a virtual switch
JP2016501462A (en) * 2012-11-12 2016-01-18 アルカテル−ルーセント Virtual chassis system control protocol
EP3043523A1 (en) * 2013-02-21 2016-07-13 Fujitsu Limited Switch and switch system
US20160277318A1 (en) * 2015-03-17 2016-09-22 Brocade Communications Systems, Inc. Identifier assignment to a new switch in a switch group
US9626255B2 (en) 2014-12-31 2017-04-18 Brocade Communications Systems, Inc. Online restoration of a switch snapshot
US9628407B2 (en) 2014-12-31 2017-04-18 Brocade Communications Systems, Inc. Multiple software versions in a switch group
US9628336B2 (en) 2010-05-03 2017-04-18 Brocade Communications Systems, Inc. Virtual cluster switching
US9628293B2 (en) 2010-06-08 2017-04-18 Brocade Communications Systems, Inc. Network layer multicasting in trill networks
US9660939B2 (en) 2013-01-11 2017-05-23 Brocade Communications Systems, Inc. Protection switching over a virtual link aggregation
US9699029B2 (en) 2014-10-10 2017-07-04 Brocade Communications Systems, Inc. Distributed configuration management in a switch group
US9699001B2 (en) 2013-06-10 2017-07-04 Brocade Communications Systems, Inc. Scalable and segregated network virtualization
US9699117B2 (en) 2011-11-08 2017-07-04 Brocade Communications Systems, Inc. Integrated fibre channel support in an ethernet fabric switch
US9716672B2 (en) 2010-05-28 2017-07-25 Brocade Communications Systems, Inc. Distributed configuration management for virtual cluster switching
US9729387B2 (en) 2012-01-26 2017-08-08 Brocade Communications Systems, Inc. Link aggregation in software-defined networks
US9736085B2 (en) 2011-08-29 2017-08-15 Brocade Communications Systems, Inc. End-to end lossless Ethernet in Ethernet fabric
US9742693B2 (en) 2012-02-27 2017-08-22 Brocade Communications Systems, Inc. Dynamic service insertion in a fabric switch
US9769016B2 (en) 2010-06-07 2017-09-19 Brocade Communications Systems, Inc. Advanced link tracking for virtual cluster switching
US9774543B2 (en) 2013-01-11 2017-09-26 Brocade Communications Systems, Inc. MAC address synchronization in a fabric switch
US9800471B2 (en) 2014-05-13 2017-10-24 Brocade Communications Systems, Inc. Network extension groups of global VLANs in a fabric switch
US9807007B2 (en) 2014-08-11 2017-10-31 Brocade Communications Systems, Inc. Progressive MAC address learning
US9807005B2 (en) 2015-03-17 2017-10-31 Brocade Communications Systems, Inc. Multi-fabric manager
US9807031B2 (en) 2010-07-16 2017-10-31 Brocade Communications Systems, Inc. System and method for network configuration
US9807017B2 (en) 2013-01-11 2017-10-31 Brocade Communications Systems, Inc. Multicast traffic load balancing over virtual link aggregation
US9806906B2 (en) 2010-06-08 2017-10-31 Brocade Communications Systems, Inc. Flooding packets on a per-virtual-network basis
CN107483538A (en) * 2017-07-06 2017-12-15 聚好看科技股份有限公司 A kind of method and apparatus that access request bag is handled on the node of micro services cluster
US9848040B2 (en) 2010-06-07 2017-12-19 Brocade Communications Systems, Inc. Name services for virtual cluster switching
US9871676B2 (en) 2013-03-15 2018-01-16 Brocade Communications Systems LLC Scalable gateways for a fabric switch
US9887916B2 (en) 2012-03-22 2018-02-06 Brocade Communications Systems LLC Overlay tunnel in a fabric switch
US9912612B2 (en) 2013-10-28 2018-03-06 Brocade Communications Systems LLC Extended ethernet fabric switches
US9912614B2 (en) 2015-12-07 2018-03-06 Brocade Communications Systems LLC Interconnection of switches based on hierarchical overlay tunneling
US9942097B2 (en) 2015-01-05 2018-04-10 Brocade Communications Systems LLC Power management in a network of interconnected switches
US9998365B2 (en) 2012-05-18 2018-06-12 Brocade Communications Systems, LLC Network feedback in software-defined networks
US10003552B2 (en) 2015-01-05 2018-06-19 Brocade Communications Systems, Llc. Distributed bidirectional forwarding detection protocol (D-BFD) for cluster of interconnected switches
US10063473B2 (en) 2014-04-30 2018-08-28 Brocade Communications Systems LLC Method and system for facilitating switch virtualization in a network of interconnected switches
US10075394B2 (en) 2012-11-16 2018-09-11 Brocade Communications Systems LLC Virtual link aggregations across multiple fabric switches
US10164883B2 (en) 2011-11-10 2018-12-25 Avago Technologies International Sales Pte. Limited System and method for flow management in software-defined networks
US10171303B2 (en) 2015-09-16 2019-01-01 Avago Technologies International Sales Pte. Limited IP-based interconnection of switches with a logical chassis
CN109213702A (en) * 2017-06-30 2019-01-15 伊姆西Ip控股有限责任公司 The communication between virtual double control modules in virtual machine environment
DE112014005041B4 (en) 2013-12-13 2019-03-14 International Business Machines Corporation Trill network with multipath redundancy
US10237090B2 (en) 2016-10-28 2019-03-19 Avago Technologies International Sales Pte. Limited Rule-based network identifier mapping
US10277464B2 (en) 2012-05-22 2019-04-30 Arris Enterprises Llc Client auto-configuration in a multi-switch link aggregation
US10355879B2 (en) 2014-02-10 2019-07-16 Avago Technologies International Sales Pte. Limited Virtual extensible LAN tunnel keepalives
US10439929B2 (en) 2015-07-31 2019-10-08 Avago Technologies International Sales Pte. Limited Graceful recovery of a multicast-enabled switch
US10462049B2 (en) 2013-03-01 2019-10-29 Avago Technologies International Sales Pte. Limited Spanning tree in fabric switches
US10476698B2 (en) 2014-03-20 2019-11-12 Avago Technologies International Sales Pte. Limited Redundent virtual link aggregation group
US10579406B2 (en) 2015-04-08 2020-03-03 Avago Technologies International Sales Pte. Limited Dynamic orchestration of overlay tunnels
US10581758B2 (en) 2014-03-19 2020-03-03 Avago Technologies International Sales Pte. Limited Distributed hot standby links for vLAG
US10616108B2 (en) 2014-07-29 2020-04-07 Avago Technologies International Sales Pte. Limited Scalable MAC address virtualization
US10764201B2 (en) 2017-11-28 2020-09-01 Dornerworks, Ltd. System and method for scheduling communications
EP3993359A1 (en) * 2020-10-19 2022-05-04 Google LLC Enhanced reconfigurable interconnect network
US11336512B2 (en) * 2013-01-25 2022-05-17 Dell Products L.P. System and method for determining the configuration of switches in virtual link trunking environments
US11343227B2 (en) 2020-09-28 2022-05-24 Vmware, Inc. Application deployment in multi-site virtualization infrastructure
US11374850B2 (en) 2020-04-06 2022-06-28 Vmware, Inc. Tunnel endpoint group records
US11374817B2 (en) 2020-04-06 2022-06-28 Vmware, Inc. Determining span of logical network element
US11438238B2 (en) 2020-04-06 2022-09-06 Vmware, Inc. User interface for accessing multi-site logical network
US11496392B2 (en) 2015-06-27 2022-11-08 Nicira, Inc. Provisioning logical entities in a multidatacenter environment
US11509522B2 (en) 2020-04-06 2022-11-22 Vmware, Inc. Synchronization of logical network state between global and local managers
US11516087B2 (en) 2020-11-30 2022-11-29 Google Llc Connecting processors using twisted torus configurations
US11777793B2 (en) 2020-04-06 2023-10-03 Vmware, Inc. Location criteria for security groups
US12107722B2 (en) 2022-07-20 2024-10-01 VMware LLC Sharing network manager between multiple tenants

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103795623B (en) * 2012-10-26 2017-03-15 杭州华三通信技术有限公司 A kind of method and apparatus for realizing flow intercommunication between virtual unit
CN103281248B (en) * 2013-06-09 2016-03-30 北京星网锐捷网络技术有限公司 The discover method of network topology, device and system
JP6061303B2 (en) * 2013-06-27 2017-01-18 日本電信電話株式会社 Bridge device, communication control device, communication control method, bridge program, and communication control program
CN105337750B (en) * 2014-07-22 2018-12-14 华为技术有限公司 Fibre channel sans configuration method and device
US11296930B2 (en) * 2014-09-30 2022-04-05 Nicira, Inc. Tunnel-enabled elastic service model
US10129180B2 (en) 2015-01-30 2018-11-13 Nicira, Inc. Transit logical switch within logical router
US10129142B2 (en) 2015-08-11 2018-11-13 Nicira, Inc. Route configuration for logical router
US10075363B2 (en) 2015-08-31 2018-09-11 Nicira, Inc. Authorization for advertised routes among logical routers
US10095535B2 (en) 2015-10-31 2018-10-09 Nicira, Inc. Static route types for logical routers
JP6802530B2 (en) 2016-01-06 2020-12-16 日本電気株式会社 Communication method
US10153973B2 (en) 2016-06-29 2018-12-11 Nicira, Inc. Installation of routing tables for logical router in route server mode
US10454758B2 (en) 2016-08-31 2019-10-22 Nicira, Inc. Edge node cluster network redundancy and fast convergence using an underlay anycast VTEP IP
US10809926B2 (en) * 2018-02-05 2020-10-20 Microsoft Technology Licensing, Llc Server system
US12063273B2 (en) 2018-02-05 2024-08-13 Microsoft Technology Licensing, Llc. Server system
CN110460544B (en) * 2018-05-08 2021-09-07 华为技术有限公司 Identification distribution method of switches in stack, optical cable and related equipment
CN110602022A (en) * 2018-06-12 2019-12-20 中兴通讯股份有限公司 Access authentication method of port, terminal and storage medium
CN111884922B (en) * 2020-07-21 2022-12-02 芯河半导体科技(无锡)有限公司 Local forwarding method for cross-device link aggregation
CN112019459B (en) * 2020-09-09 2021-10-26 苏州盛科通信股份有限公司 Message processing method and system based on dynamic online and offline of equipment in stacking system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060018302A1 (en) * 2004-07-22 2006-01-26 Alcatel Local area network with one or more virtual groups of core equipments appropriate for layer 2 switching
US20080159277A1 (en) * 2006-12-15 2008-07-03 Brocade Communications Systems, Inc. Ethernet over fibre channel
US20090245242A1 (en) * 2008-03-31 2009-10-01 International Business Machines Corporation Virtual Fibre Channel Over Ethernet Switch

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7209435B1 (en) * 2002-04-16 2007-04-24 Foundry Networks, Inc. System and method for providing network route redundancy across Layer 2 devices
US7751416B2 (en) * 2003-09-18 2010-07-06 Cisco Technology, Inc. Virtual network device
CN1960281B (en) * 2005-11-02 2010-07-21 盛科网络(苏州)有限公司 Virtual internet exchanging system having virtual line card and its transmission method
JP2009075718A (en) * 2007-09-19 2009-04-09 Hitachi Ltd Method of managing virtual i/o path, information processing system, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060018302A1 (en) * 2004-07-22 2006-01-26 Alcatel Local area network with one or more virtual groups of core equipments appropriate for layer 2 switching
US20080159277A1 (en) * 2006-12-15 2008-07-03 Brocade Communications Systems, Inc. Ethernet over fibre channel
US20090245242A1 (en) * 2008-03-31 2009-10-01 International Business Machines Corporation Virtual Fibre Channel Over Ethernet Switch

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
PERLMAN R: "Challenges and opportunities in the design of TRILL: a routed layer 2 technology", 2009 IEEE GLOBECOM WORKSHOPS, HONOLULU, HI, USA, 30 November 2009 (2009-11-30) - 4 December 2009 (2009-12-04), Piscataway, NJ, USA, XP002649647, ISBN: 978-1-4244-5626-0, DOI: 10.1109/GLOCOMW.2009.5360776 *
TOM CLARK: "Designing Storage Area Networks, 2nd Ed.", 2003, ADDISON WESLEY

Cited By (96)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10673703B2 (en) 2010-05-03 2020-06-02 Avago Technologies International Sales Pte. Limited Fabric switching
US9628336B2 (en) 2010-05-03 2017-04-18 Brocade Communications Systems, Inc. Virtual cluster switching
US9942173B2 (en) 2010-05-28 2018-04-10 Brocade Communications System Llc Distributed configuration management for virtual cluster switching
US9716672B2 (en) 2010-05-28 2017-07-25 Brocade Communications Systems, Inc. Distributed configuration management for virtual cluster switching
US11757705B2 (en) 2010-06-07 2023-09-12 Avago Technologies International Sales Pte. Limited Advanced link tracking for virtual cluster switching
US11438219B2 (en) 2010-06-07 2022-09-06 Avago Technologies International Sales Pte. Limited Advanced link tracking for virtual cluster switching
US9848040B2 (en) 2010-06-07 2017-12-19 Brocade Communications Systems, Inc. Name services for virtual cluster switching
US9769016B2 (en) 2010-06-07 2017-09-19 Brocade Communications Systems, Inc. Advanced link tracking for virtual cluster switching
US10419276B2 (en) 2010-06-07 2019-09-17 Avago Technologies International Sales Pte. Limited Advanced link tracking for virtual cluster switching
US10924333B2 (en) 2010-06-07 2021-02-16 Avago Technologies International Sales Pte. Limited Advanced link tracking for virtual cluster switching
US9806906B2 (en) 2010-06-08 2017-10-31 Brocade Communications Systems, Inc. Flooding packets on a per-virtual-network basis
US9628293B2 (en) 2010-06-08 2017-04-18 Brocade Communications Systems, Inc. Network layer multicasting in trill networks
US10348643B2 (en) 2010-07-16 2019-07-09 Avago Technologies International Sales Pte. Limited System and method for network configuration
US9807031B2 (en) 2010-07-16 2017-10-31 Brocade Communications Systems, Inc. System and method for network configuration
US9736085B2 (en) 2011-08-29 2017-08-15 Brocade Communications Systems, Inc. End-to end lossless Ethernet in Ethernet fabric
US9699117B2 (en) 2011-11-08 2017-07-04 Brocade Communications Systems, Inc. Integrated fibre channel support in an ethernet fabric switch
US10164883B2 (en) 2011-11-10 2018-12-25 Avago Technologies International Sales Pte. Limited System and method for flow management in software-defined networks
JP2013126062A (en) * 2011-12-14 2013-06-24 Kddi Corp Network traffic control device, control method and program
US9729387B2 (en) 2012-01-26 2017-08-08 Brocade Communications Systems, Inc. Link aggregation in software-defined networks
JP2013162418A (en) * 2012-02-07 2013-08-19 Nippon Telegr & Teleph Corp <Ntt> Cloud system, gateway device, communication control method, and communication control program
US9742693B2 (en) 2012-02-27 2017-08-22 Brocade Communications Systems, Inc. Dynamic service insertion in a fabric switch
US9887916B2 (en) 2012-03-22 2018-02-06 Brocade Communications Systems LLC Overlay tunnel in a fabric switch
US9998365B2 (en) 2012-05-18 2018-06-12 Brocade Communications Systems, LLC Network feedback in software-defined networks
US10277464B2 (en) 2012-05-22 2019-04-30 Arris Enterprises Llc Client auto-configuration in a multi-switch link aggregation
JP2016501462A (en) * 2012-11-12 2016-01-18 アルカテル−ルーセント Virtual chassis system control protocol
US10075394B2 (en) 2012-11-16 2018-09-11 Brocade Communications Systems LLC Virtual link aggregations across multiple fabric switches
CN110061915B (en) * 2012-11-16 2020-09-15 安华高科技股份有限公司 Method and system for virtual link aggregation across multiple fabric switches
CN110061915A (en) * 2012-11-16 2019-07-26 安华高科技股份有限公司 Virtual link polymerization across multiple fabric switch
US10003469B2 (en) 2012-12-07 2018-06-19 Zte Corporation Multicast forwarding method and apparatus in transparent interconnection of lots of link network, and routing bridge
WO2014086242A1 (en) * 2012-12-07 2014-06-12 中兴通讯股份有限公司 Multicast forwarding method and apparatus in multi-link transparent internet, and routing bridge
US9774543B2 (en) 2013-01-11 2017-09-26 Brocade Communications Systems, Inc. MAC address synchronization in a fabric switch
US9660939B2 (en) 2013-01-11 2017-05-23 Brocade Communications Systems, Inc. Protection switching over a virtual link aggregation
US9807017B2 (en) 2013-01-11 2017-10-31 Brocade Communications Systems, Inc. Multicast traffic load balancing over virtual link aggregation
US11336512B2 (en) * 2013-01-25 2022-05-17 Dell Products L.P. System and method for determining the configuration of switches in virtual link trunking environments
US9628410B2 (en) 2013-02-21 2017-04-18 Fujitsu Limited Switch and switch system for enabling paths between domains
EP3043523A1 (en) * 2013-02-21 2016-07-13 Fujitsu Limited Switch and switch system
US10462049B2 (en) 2013-03-01 2019-10-29 Avago Technologies International Sales Pte. Limited Spanning tree in fabric switches
US9871676B2 (en) 2013-03-15 2018-01-16 Brocade Communications Systems LLC Scalable gateways for a fabric switch
US9699001B2 (en) 2013-06-10 2017-07-04 Brocade Communications Systems, Inc. Scalable and segregated network virtualization
CN103441935B (en) * 2013-08-16 2016-05-25 北京星网锐捷网络技术有限公司 Automatically method and the device of the syntople of identified server and access switch
CN103441935A (en) * 2013-08-16 2013-12-11 北京星网锐捷网络技术有限公司 Method and device capable of automatically recognizing adjacency relation between server and access switch
US9806949B2 (en) 2013-09-06 2017-10-31 Brocade Communications Systems, Inc. Transparent interconnection of Ethernet fabric switches
US20150071122A1 (en) * 2013-09-06 2015-03-12 Brocade Communications Systems, Inc. Transparent inteconnection of ethernet fabric switches
US9912612B2 (en) 2013-10-28 2018-03-06 Brocade Communications Systems LLC Extended ethernet fabric switches
DE112014005041B4 (en) 2013-12-13 2019-03-14 International Business Machines Corporation Trill network with multipath redundancy
US10355879B2 (en) 2014-02-10 2019-07-16 Avago Technologies International Sales Pte. Limited Virtual extensible LAN tunnel keepalives
WO2015137977A1 (en) * 2014-03-14 2015-09-17 Hewlett-Packard Development Company, L.P. A switching fabric including a virtual switch
US10581758B2 (en) 2014-03-19 2020-03-03 Avago Technologies International Sales Pte. Limited Distributed hot standby links for vLAG
US10476698B2 (en) 2014-03-20 2019-11-12 Avago Technologies International Sales Pte. Limited Redundent virtual link aggregation group
US10063473B2 (en) 2014-04-30 2018-08-28 Brocade Communications Systems LLC Method and system for facilitating switch virtualization in a network of interconnected switches
US10044568B2 (en) 2014-05-13 2018-08-07 Brocade Communications Systems LLC Network extension groups of global VLANs in a fabric switch
US9800471B2 (en) 2014-05-13 2017-10-24 Brocade Communications Systems, Inc. Network extension groups of global VLANs in a fabric switch
US10616108B2 (en) 2014-07-29 2020-04-07 Avago Technologies International Sales Pte. Limited Scalable MAC address virtualization
US9807007B2 (en) 2014-08-11 2017-10-31 Brocade Communications Systems, Inc. Progressive MAC address learning
US10284469B2 (en) 2014-08-11 2019-05-07 Avago Technologies International Sales Pte. Limited Progressive MAC address learning
US9699029B2 (en) 2014-10-10 2017-07-04 Brocade Communications Systems, Inc. Distributed configuration management in a switch group
US9626255B2 (en) 2014-12-31 2017-04-18 Brocade Communications Systems, Inc. Online restoration of a switch snapshot
US9628407B2 (en) 2014-12-31 2017-04-18 Brocade Communications Systems, Inc. Multiple software versions in a switch group
US10003552B2 (en) 2015-01-05 2018-06-19 Brocade Communications Systems, Llc. Distributed bidirectional forwarding detection protocol (D-BFD) for cluster of interconnected switches
US9942097B2 (en) 2015-01-05 2018-04-10 Brocade Communications Systems LLC Power management in a network of interconnected switches
US10038592B2 (en) 2015-03-17 2018-07-31 Brocade Communications Systems LLC Identifier assignment to a new switch in a switch group
US20160277318A1 (en) * 2015-03-17 2016-09-22 Brocade Communications Systems, Inc. Identifier assignment to a new switch in a switch group
US9807005B2 (en) 2015-03-17 2017-10-31 Brocade Communications Systems, Inc. Multi-fabric manager
US10579406B2 (en) 2015-04-08 2020-03-03 Avago Technologies International Sales Pte. Limited Dynamic orchestration of overlay tunnels
US11496392B2 (en) 2015-06-27 2022-11-08 Nicira, Inc. Provisioning logical entities in a multidatacenter environment
US10439929B2 (en) 2015-07-31 2019-10-08 Avago Technologies International Sales Pte. Limited Graceful recovery of a multicast-enabled switch
US10171303B2 (en) 2015-09-16 2019-01-01 Avago Technologies International Sales Pte. Limited IP-based interconnection of switches with a logical chassis
US9912614B2 (en) 2015-12-07 2018-03-06 Brocade Communications Systems LLC Interconnection of switches based on hierarchical overlay tunneling
US10237090B2 (en) 2016-10-28 2019-03-19 Avago Technologies International Sales Pte. Limited Rule-based network identifier mapping
CN109213702B (en) * 2017-06-30 2022-08-30 伊姆西Ip控股有限责任公司 Communication between virtual dual control modules in a virtual machine environment
US10922119B2 (en) 2017-06-30 2021-02-16 EMC IP Holding Company LLC Communications between virtual dual control modules in virtual machine environment
CN109213702A (en) * 2017-06-30 2019-01-15 伊姆西Ip控股有限责任公司 The communication between virtual double control modules in virtual machine environment
CN107483538A (en) * 2017-07-06 2017-12-15 聚好看科技股份有限公司 A kind of method and apparatus that access request bag is handled on the node of micro services cluster
CN107483538B (en) * 2017-07-06 2021-01-01 聚好看科技股份有限公司 Method and device for processing access request packet on node of micro-service cluster
US10764201B2 (en) 2017-11-28 2020-09-01 Dornerworks, Ltd. System and method for scheduling communications
US11374817B2 (en) 2020-04-06 2022-06-28 Vmware, Inc. Determining span of logical network element
US11736383B2 (en) 2020-04-06 2023-08-22 Vmware, Inc. Logical forwarding element identifier translation between datacenters
US11381456B2 (en) 2020-04-06 2022-07-05 Vmware, Inc. Replication of logical network data between global managers
US11374850B2 (en) 2020-04-06 2022-06-28 Vmware, Inc. Tunnel endpoint group records
US11438238B2 (en) 2020-04-06 2022-09-06 Vmware, Inc. User interface for accessing multi-site logical network
US11882000B2 (en) 2020-04-06 2024-01-23 VMware LLC Network management system for federated multi-site logical network
US11509522B2 (en) 2020-04-06 2022-11-22 Vmware, Inc. Synchronization of logical network state between global and local managers
US11870679B2 (en) 2020-04-06 2024-01-09 VMware LLC Primary datacenter for logical router
US11528214B2 (en) 2020-04-06 2022-12-13 Vmware, Inc. Logical router implementation across multiple datacenters
US11799726B2 (en) 2020-04-06 2023-10-24 Vmware, Inc. Multi-site security groups
US11683233B2 (en) 2020-04-06 2023-06-20 Vmware, Inc. Provision of logical network data from global manager to local managers
US11394634B2 (en) 2020-04-06 2022-07-19 Vmware, Inc. Architecture for stretching logical switches between multiple datacenters
US11743168B2 (en) 2020-04-06 2023-08-29 Vmware, Inc. Edge device implementing a logical network that spans across multiple routing tables
US11777793B2 (en) 2020-04-06 2023-10-03 Vmware, Inc. Location criteria for security groups
US11757940B2 (en) 2020-09-28 2023-09-12 Vmware, Inc. Firewall rules for application connectivity
US11601474B2 (en) 2020-09-28 2023-03-07 Vmware, Inc. Network virtualization infrastructure with divided user responsibilities
US11343227B2 (en) 2020-09-28 2022-05-24 Vmware, Inc. Application deployment in multi-site virtualization infrastructure
EP3993359A1 (en) * 2020-10-19 2022-05-04 Google LLC Enhanced reconfigurable interconnect network
US11516087B2 (en) 2020-11-30 2022-11-29 Google Llc Connecting processors using twisted torus configurations
US12040949B2 (en) 2020-11-30 2024-07-16 Google Llc Connecting processors using twisted torus configurations
US12107722B2 (en) 2022-07-20 2024-10-01 VMware LLC Sharing network manager between multiple tenants

Also Published As

Publication number Publication date
EP4027611A1 (en) 2022-07-13
EP2567512A1 (en) 2013-03-13
EP2567512B1 (en) 2016-04-13
CN106850381A (en) 2017-06-13
CN102986172A (en) 2013-03-20
CN106850381B (en) 2020-04-10
EP3041173A1 (en) 2016-07-06
CA2797278A1 (en) 2011-11-10
JP5801383B2 (en) 2015-10-28
CN102986172B (en) 2016-11-09
EP3041173B1 (en) 2022-01-26
JP2013526234A (en) 2013-06-20

Similar Documents

Publication Publication Date Title
EP3041173B1 (en) Virtual cluster switching
US11438219B2 (en) Advanced link tracking for virtual cluster switching
US9942173B2 (en) Distributed configuration management for virtual cluster switching
US20170155599A1 (en) Virtual cluster switching
US9461911B2 (en) Virtual port grouping for virtual cluster switching
US9848040B2 (en) Name services for virtual cluster switching
US9231890B2 (en) Traffic management for virtual cluster switching
US8625616B2 (en) Converged network extension
US9485148B2 (en) Fabric formation for virtual cluster switching
US8995287B2 (en) AMPP active profile presentation
US8995435B2 (en) Port profile analytics
US10673703B2 (en) Fabric switching

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201180030594.5

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11721162

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2797278

Country of ref document: CA

WWE Wipo information: entry into national phase

Ref document number: 2011721162

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2013509167

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 3400/KOLNP/2012

Country of ref document: IN

WWE Wipo information: entry into national phase

Ref document number: 14912585

Country of ref document: US