IP Library Granted Patent US 8,904,010
Granted Patent B2
US 8,904,010 · App. 13/387,313 · Granted Dec 2, 2014

Method for allocating virtual local area network resources by mapping VSAN IDS to MAC addresses and related FCOE device and FCOE system

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,904,010
App. No.
13/387,313
Granted
Dec 2, 2014
Kind
B2
Abstract

A method for allocating VLAN resources, an FCoE device and an FCoE system. A first device maps a virtual storage area network identity (VSAN ID) corresponding to a fiber channel (FC) message into a media access control (MAC) address according to a preset relation. The first device obtains a VLAN ID corresponding to the VSAN ID according to the preset relation and encapsulates the MAC address and the VLAN ID into an Ethernet message corresponding to the FC message. The preset relation is used for mapping multiple VSAN IDs, which correspond to the same VLAN ID, into different MAC addresses.

Claims (31)

1. A method for allocating virtual local area network (VLAN) resources, comprising:

mapping, by a first device, a virtual storage area network identity (VSAN ID) corresponding to a fibre channel (FC) message into a media access control (MAC) address according to a preset relation;

obtaining, by the first device, a VLAN ID corresponding to the VSAN ID according to the preset relation; and

encapsulating, by the first device, the MAC address and the VLAN ID into an Ethernet message corresponding to the FC message;

wherein the preset relation is used for mapping multiple VSAN IDs, which correspond to the same VLAN ID, into different MAC addresses.

2. The method according to claim 1 , wherein the preset relation is between VSAN IDs and corresponding VLAN IDs and MAC mapping addresses; and

mapping by a first device a virtual storage area network identity (VSAN ID) corresponding to a fibre channel (FC) message into a media access control (MAC) address according to a preset relation comprises:

determining the VSAN ID of the FC message;

obtaining from the preset relation a MAC mapping address corresponding to the VSAN ID; and

combining the MAC mapping address and an FC-ID of the FC message to form the MAC address.

3. The method according to claim 2 , wherein combining the MAC mapping address and an FC-ID of the FC message to form the MAC address comprises:

setting the FC-ID of the FC message as low bits of the MAC address, and setting the MAC mapping address as high bits of the MAC address.

4. The method according to claim 1 , further comprising:

receiving, by the first device, a first fibre channel over Ethernet initialization protocol (FIP) discovery advertisement message, wherein the first FIP discovery advertisement message carries the preset relation.

5. The method according to claim 4 , further comprising:

before receiving the first FIP discovery advertisement message, transmitting, by the first device, a first FIP discovery solicitation message including the VSAN ID of the first device to a second device.

6. The method according to claim 5 , further comprising:

obtaining, by the first device, a VSAN ID of a third device from a second FIP discovery solicitation message transmitted by the third device, and transmitting to the third device the preset relation of the VSAN ID corresponding to the third device via a second FIP discovery advertisement message.

7. The method according to claim 6 , wherein the preset relation of the VSAN ID corresponding to the third device is recorded in a predefined descriptor within the second FIP discovery advertisement message.

8. The method according to claim 5 , wherein the first device is an Ethernet node (ENode) or a fibre channel over Ethernet forwarder (FCF); and

the second device is an FCF.

9. A fibre channel over Ethernet (FCoE) device, comprising:

a storage module, adapted for storing a preset relation, wherein the preset relation is used for mapping multiple VSAN IDs, which correspond to the same VLAN ID, into different MAC addresses; and

an encapsulating module, adapted for mapping a VSAN ID corresponding to a fibre channel (FC) message into a MAC address according to the preset relation, obtaining a VLAN ID corresponding to the VSAN ID according to the preset relation, and encapsulating the MAC address and the VLAN ID into an Ethernet message corresponding to the FC message.

10. The FCoE device according to claim 9 , wherein the FCoE device is an Ethernet node (ENode) or a fibre channel over Ethernet forwarder (FCF).

11. The FCoE device according to claim 9 , wherein the preset relation is between VSAN IDs and corresponding VLAN IDs and MAC mapping addresses; and

the encapsulating module is adapted for determining the VSAN ID of the FC message, obtaining from the preset relation a MAC mapping address corresponding to the VSAN ID, setting an FC-ID of the FC message as low bits of the MAC address, and setting the MAC mapping address as high bits of the MAC address.

12. An FCoE system, comprising: an FCoE device as claimed in claim 9 and another device, wherein the another device comprises:

a relation generation module, adapted for generating a preset relation between VSAN IDs and corresponding VLAN Ds and MAC mapping addresses; and

an FIP message transmitting module, adapted for transmitting to the FCoE device the preset relation via an FIP discovery advertisement message.

13. The system according to claim 12 , wherein the FIP message transmitting module is adapted for transmitting said FIP discovery advertisement message carrying a predefined descriptor to the FCoE device, wherein the predefined descriptor includes said preset relation.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 22, 2016
From: H3C TECHNOLOGIES CO., LTD.; HANGZHOU H3C TECHNOLOGIES CO., LTD.
To: HEWLETT PACKARD ENTERPRISE DEVELOPMENT LP
Reel/Frame 039767/0263 →