LUN based hard zoning in fibre channel switches
First Claim
1. A method for processing frames using logical unit number (LUN) based hard zoning in a fibre channel network, comprising the steps of:
- (a) receiving a frame at a fibre channel port of a fibre channel switch element;
(b) comparing a source identifier field in the frame using a look up table having a plurality of entries;
wherein based on a compare mask, one or more of a Domain value, an Area value and a port identifier value in the source identifier of the frame is compared with the plurality of look up table entries;
(c) rejecting the frame if multiple entries in the look up table match the source identifier field in the frame;
(d) rejecting the frame after a match is found in step (b) and if a control code has a first value and a LUN table address field has a first value, wherein the LUN table address field is interpreted based on the control code value;
(e) transmitting the frame, after the source identifier field in the frame matches a look up table entry in step (b) and if the control code has the first value and the LUN address field has a second value, which identifies a valid LUN;
(f) using a LUN value in the frame to index a LUN bit map table, if (i) the frame is an FCP_CMD, (ii) the control code has the second value and (iii) the source identifier field in the frame matches a look up table entry; and
if an entry in the LUN bitmap table corresponding to the LUN value in the frame is set, then the frame is accepted, otherwise, the frame is rejected; and
(g) transmitting the frame (i) if the frame is a non_FCP_CMND, (ii) if the source identifier field in the frame matches a look up table entry and (iii) if the control code has the second value.
7 Assignments
0 Petitions
Accused Products
Abstract
A method and system for implementing LUN based hard zoning in a fiber channel network is provided. A LUN field in a Fiber Channel SCSI command frame is compared with a list of LUNS that are allowed for a particular frame source; and the frame is forwarded if the LUN is allowed for the frame source. The comparison is performed by a port receiving the frame by using an address look up table (“ALUT”). Hard zoning is based on various frame fields and/or ALUT control codes. Also provided is a method for processing a reply to a SCSI REPORT LUN command from an initiator. The method includes, intercepting a reply to a REPORT LUN command; editing the reply to remove unauthorized LUNs; and sending the edited reply to the initiator.
-
Citations
25 Claims
-
1. A method for processing frames using logical unit number (LUN) based hard zoning in a fibre channel network, comprising the steps of:
-
(a) receiving a frame at a fibre channel port of a fibre channel switch element; (b) comparing a source identifier field in the frame using a look up table having a plurality of entries;
wherein based on a compare mask, one or more of a Domain value, an Area value and a port identifier value in the source identifier of the frame is compared with the plurality of look up table entries;(c) rejecting the frame if multiple entries in the look up table match the source identifier field in the frame; (d) rejecting the frame after a match is found in step (b) and if a control code has a first value and a LUN table address field has a first value, wherein the LUN table address field is interpreted based on the control code value; (e) transmitting the frame, after the source identifier field in the frame matches a look up table entry in step (b) and if the control code has the first value and the LUN address field has a second value, which identifies a valid LUN; (f) using a LUN value in the frame to index a LUN bit map table, if (i) the frame is an FCP_CMD, (ii) the control code has the second value and (iii) the source identifier field in the frame matches a look up table entry; and
if an entry in the LUN bitmap table corresponding to the LUN value in the frame is set, then the frame is accepted, otherwise, the frame is rejected; and(g) transmitting the frame (i) if the frame is a non_FCP_CMND, (ii) if the source identifier field in the frame matches a look up table entry and (iii) if the control code has the second value. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 16, 17, 18, 22, 24)
-
-
9. A Fibre Channel switch element for processing Fibre Channel frames using logical unit number (LUN) based hard zoning, comprising:
-
a port for receiving a frame with a source identifier; an address look up table (ALUT) storing a plurality of entries for routing the frame; and a compare module using a compare mask for comparing one or more of a Domain value;
an Area value and a port identifier value in a source identifier in the received frame with an ALUT entry;
wherein (a) the frame is rejected if multiple entries in the ALUT match the source identifier field in the frame;
(b) the frame is rejected if a control code has a first value and a LUN table address field has a first value;
where the control code value is used for interpreting the LUN table address field,(c) the frame is transmitted, after the source identifier field in the frame matches an ALUT entry and if the control code has the first value and the LUN address field has a second value; and
(d) the frame is transmitted if the frame in a non_FCP_CMND, the source identifier field in the frame matches an ALUT entry and the control code has the second value; andwherein a LUN value in the frame is used to index a LUN bit map table, if (a) the frame is an FCP_CMD, (b) the control code has the second value and (c) the source identifier field in the frame matches a look up table entry and if an entry in the LUN bitmap table corresponding to the LUN value in the frame is set, then the frame is accepted, otherwise, the frame is rejected. - View Dependent Claims (10, 11, 12, 13, 14, 15, 19, 20, 21, 23, 25)
-
Specification