Hardware-enforced zoning is provided in Fibre Channel switches to protect
against breaching of assigned zones in a switch network which can occur
with software-based zoning techniques. The invention provides logic for
performing a hardware-based validation of the Source ID S_ID of frames
both at the point where the frame enters the Fibre Channel fabric, and at
the point where the frame leaves the fabric. The S_ID is verified against
an inclusion list or table of allowable S_IDs, which can be unique for
each fabric port. The invention provides a way to increase the range of
sources an inclusion table can express, by implementing wild cards, on an
entry-by entry basis. If the S_ID is valid, it will enter the fabric and
route normally. If invalid, the frame will not be routed but will be
disposed of by the fabric according to FC rules. This prevents incorrect
S_IDs from breaching the table-driven zoning at the point where frames
exit the fabric, to prevent unauthorized access to devices connected to
the switch network.