摘要:
One embodiment of the present invention provides a switch 101, 102, 103, 104, 105 in a network 100. The switch includes a virtual network module and a forwarding module. The virtual network module includes a global virtual local area network (VLAN) tag in a packet. The global VLAN tag is mapped to an edge VLAN tag in the packet and is associated with a datacenter domain 172, 174, wherein a VLAN 152, 154 associated with a packet received from an edge port of the switch can be referred to as an edge VLAN and a corresponding identifier or tag can be referred to as an edge VLAN tag. The datacenter domain indicates a set of ports associated with a datacenter 120 130. The forwarding module identifies an egress edge port for the packet based on the global VLAN tag. Preferably, the global VLAN tag is mapped to an internal virtual identifier (IVID), which is internal and local to the switch. Moreover, the forwarding module preferably is further adapted to identify the egress edge port based on a mapping between the egress port and the internal virtual identifier. The global VLAN tag may be mapped to a media access control (MAC) address in the packet. In an embodiment, the switch is member of a TRILL network 100 (Transparent Interconnection of Lots of Links) and the global VLAN tag can be included in an encapsulation header such as a TRILL header.
摘要:
One embodiment of the present invention provides a switch 700 comprising a storage device 750 to store a port profile in association with a datacenter domain. The datacenter domain indicates a set of ports associated with a datacenter. The port profile includes configuration information associated with one or more media access control (MAC) addresses. The switch further comprises a port profile module 740 to identify the port profile in response to identifying that a source MAC address of a packet is associated with the datacenter domain, wherein the source MAC address is in the one or more MAC addresses. The port profile module 740 applies the port profile to an ingress port of the packet. A port profile can contain the entire configuration needed for a virtual machine 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). 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.In an example, a switch segregates port profiles for a respective datacenter domain.