Cisco SN 5428-2 Storage Router Software Configuration Guide, Release�3.2
Chapter 5 - Configuring Fibre Channel Interfaces
Downloads: This chapterpdf (PDF - 241.0KB) The complete bookPDF (PDF - 7.29MB) | Feedback

Configuring Fibre Channel Interfaces

Table Of Contents

Configuring Fibre Channel Interfaces

Prerequisite Tasks

Configuration Tasks

Configuring FC Interfaces

Configuring an FC Port Type

Configuring a Donor Port to Extend Buffer Credits

Configuring the Domain ID

Internal FC Ports

Configuring Zoning

Verifying Configuration


Configuring Fibre Channel Interfaces


This chapter explains how to configure your SN 5428-2 Storage Router Fibre Channel (FC) interfaces. This includes configuring zoning, and contains the following sections:

Prerequisite Tasks

Configuration Tasks

Configuring FC Interfaces

Configuring the Domain ID

Configuring Zoning

Verifying Configuration

You can configure FC interfaces and zoning using CLI commands, as described in this chapter, or via the web-based GUI. To access the web-based GUI, point your browser to the storage router's management interface IP address. After logging on, click the Help link to access online help for the GUI.

Prerequisite Tasks

Before configuring FC interfaces or zoning, make sure you have configured all system parameters as described in "First-Time Configuration," or "Configuring System Parameters."

Configuration Tasks

To configure the SN 5428-2 for zoning, perform the following steps:


Step 1 Configure the FC interfaces.

Step 2 Configure the domain ID.

Step 3 Create a zone set and zone, and an optional alias.

Step 4 Add the zone to the zone set.

Step 5 Add members to the zone, and optionally, members to the alias.

Step 6 Activate the zone set.

Step 7 Verify configuration.


Configuring FC Interfaces

The SN 5428-2 has an integrated switch component with Fibre Channel interfaces (fc1 through fc8) that support the port types described in Table 5-1. The SN 5428-2 FC interfaces are auto configuring; for public devices and other switches, the SN 5428-2 can automatically set the port mode as each interface discovers the type of device to which it is connected.

Table 5-1 FC Port Types

Type
Description
Configuration

E_Port

Operates as an expansion port when connected to another SN 5428-2 or an FC-SW-2 compliant switch. Links multiple FC switches together into a fabric.

Self-discovered by configuring a G_Port or GL_Port.

F_Port

Port type is fabric. Supports connection to a single public device (N_Port).

Configured with the
interface fc? type command, or self-discovered by configuring a G_Port or GL_Port.

FL_Port

Port type is fabric loop (also known as "public loop"). Supports connection to a loop of up to 126 public devices (NL_Port).

Configured with the
interface fc? type command, or self-discovered by configuring a GL_Port.

G_Port

Port type is generic and can function as either an F_Port or an E_Port. Self-discovers as an F_Port when connected to a single public device, or as an E_Port when connected to another SN 5428-2 or an FC-SW-2 compliant switch. May also self-discover as an E_Port when connected to a switch running non-FC-SW-2 compliant firmware.

Configured with the
interface fc? type command.

GL_Port

Port type is generic loop; this is the default port type. Self-discovers as an FL_Port when connected to a loop of public devices, an F_Port when connected to a single device, or an E_Port when connected to another SN 5428-2 or an FC-SW-2 compliant switch. May also self-discover as an E_Port when connected to a switch running non-FC-SW-2 compliant firmware.

Configured with the
interface fc? type command.

TL_Port

Port type is translated loop. Supports connection to a loop of up to 126 private devices with the ability to communicate with "off-loop" devices, such as public fabric devices and private devices on other TL_Ports. TL_Ports connect to devices that confirm to the Fibre Channel-Private Loop SCSI Direct Attach (FC-PLDA) standard. A TL_Port acts as a proxy for the off-loop device, translating private frames to and from public frames. Each TL_Port can proxy up to 64 off-loop devices.

Configured with the
interface fc? type tl-port mode command.

Donor

Enables the SN 5428-2 to extend buffer credits from the donor port to selected FC ports.

Configured with the
interface fc? type donor command.


The following are the default operational characteristics for the FC interfaces:

Fairness disabled (switch has priority)

Fabric Address Notification (FAN) enabled

Automatically negotiated transfer rate (linkspeed auto)

Multi-Frame sequence bundling enabled (with a timeout value of 10)

GS-3 management server commands enabled

Port type of generic loop, which enables automatic selection of port type as Fabric (F_Port), Fabric Loop (FL_Port or public loop) or Expansion (E_Port or switch to switch)

Credit extension is not enabled (ext-credit is 0)

Configuring an FC Port Type

To configure an FC port type, select the appropriate port type based on the connected equipment, as described in Table 5-1.


Note If you are going to attach to a Fibre Channel fabric through an inter-switch link or by connecting to another SN 5428-2, verify that the named interface port type is set to generic loop (GL_Port), using the show interface command. If it is not, you must change the FC interface port type to GL_Port and reset the interface, as shown in the following procedure.


Use the following procedure to configure and reset a port type for an FC interface. Resetting the port type ensures that the port is configured correctly with the connected equipment. In this example, fc3 is the interface that is connected to your Fibre Channel switched fabric, and it is being set to port type gl-port.

 
Command
Description

Step 1 

enable

Enter Administrator mode.

Step 2 

interface fc3 type gl-port

Specify the port type to be used for the specified port.

See the interface fc? type command in "Command Line Interface Reference," for additional port types and details.

Step 3 

interface fc3 reset

Resets the FC interface.


Note Removing the cable to the FC interface port and re-attaching the cable also resets the interface.


Configuring a Donor Port to Extend Buffer Credits

You can configure one or more FC ports as donor ports to extend buffer credits to other FC ports. This feature is useful for counteracting performance degradation caused by transmission delay to distant devices.

The sole purpose of a donor port is to extend buffer credits to selected FC ports in the SN 5428-2 Storage Router; a donor port cannot provide connectivity to an FC device.

To donate credits, the donor port type must be donor. To receive credits, a selected FC port must be configured to receive extended credits and must be one of the following types: E_Port, F_Port or G_Port. A port with a running loop port type (FL_Port, GL_Port, or TL_Port) cannot receive donated credits. Each donor port donates 11 buffer credits, all of which must go to a single recipient port configured for credit extension.

Use the following procedure to configure a port to receive extended credits and to configure the donor port.

 
Command
Description

Step 1 

enable

Enter Administrator mode.

Step 2 

interface fc8 type donor

Set the FC interface port type to donor.

Step 3 

interface fc1 type f-port

Set the FC interface port type to F_Port.

Step 4 

interface fc1 ext-credit 11

Set a recipient interface port to receive credit extension. Buffer credits can be made available only in increments of 11, with a maximum of 77 credits.

See the interface fc? type and the interface fc? ext-credit commands in "Command Line Interface Reference," for additional details about extended credits.

Configuring the Domain ID

Each switch in the FC switched fabric zone has a domain ID. The SN 5428-2 must be configured with a domain ID that is unique and compatible with the FC switched fabric zone.

Use the following procedure to configure the unique domain ID.


Note Changing the domain ID in an operational fabric will cause traffic disruption. To avoid this problem, remove the SN 5428-2 from the fabric before making the configuration change. For example, disable all FC interfaces operating as E_Ports before making the configuration change. The domain ID change will be propagated to the fabric when the SN 5428-2 rejoins the fabric (when the FC interfaces are enabled).


 
Command
Description

Step 1 

enable

Enter Administrator mode.

Step 2 

fcswitch domainid 99

Assign a unique domain ID. The default setting for the SN 5428-2 is 1.

Note The domain ID must be within the operable range; see your Fibre Channel switched fabric administrator for the appropriate value.

At the prompt, enter yes to continue and change the domain ID (Example 5-1).

Example 5-1 "fcswitch domainid" Command Warning

[SN5428-2A] fcswitch domainid 99
*** Warning: changing domain ID in an operational fabric will cause traffic disruption.
Do you want to continue? [yes/no (no)] yes

Internal FC Ports

There are two internal FC ports in the SN 5428-2, initiator WWPN1 and initiator WWPN2. These two initiator ports identify the SN 5428-2 to the switched fabric. Both initiator WWPN1 and WWPN2 are required by your zone administrator to allow participation in zoning.

To include the SN 5428-2 in FC zoning, both ports (WWPN1 and WWPN2) must be included in the zone set. A default alias of iscsi is provided that contains both initiators WWPN1 and WWPN2.

Use the following procedure to display initiator WWPN1 and initiator WWPN2 and the iscsi alias.

 
Command
Description

Step 1 

enable

Enter Administrator mode.

Step 2 

show fcswitch

Display FC operational information (Example 5-2).

Step 3 

show fcalias all

Display iscsi alias information (Example 5-3)

Example 5-2 Display Initiator WWPN1 and WWPN2

[SN5428-2A]# show fcswitch
Global attributes                     Value
------------------------------------  -----
Domain ID                             99
Domain ID lock                        disabled
Active Zoneset                        None
Zoning Merge                          SW2
Zoning Default                        All
Zoning Autosave                       enabled
Distributed Services timeout (dstov)  5000
Fabric Services timeout (fstov)       1000
Error Detect timeout (edtov)          2000
Resource Allocation timeout (ratov)   10000
Buffer to Buffer Credit (interop)     12
Initiator WWPN1                       280000048aa58710
Initiator WWPN2                       290000048aa58710

Example 5-3 Display "iscsi" Alias

[SN5428-2A]# show fcalias all
Alias Name           Member type Member value
-------------------- ----------- ------------
iscsi                wwpn        280000048aa58710
                     wwpn        290000048aa58710

Configuring Zoning

The SN 5428-2 zoning feature provides the ability to actively participate in FC switched fabric zones and to manage zones. Managing a zone includes creating a zone set, creating zones as zone set members, then adding devices (using WWPN) as zone members.

After the zone members are added to the zone set, you must activate the zone set. The SN 5428-2 allows you to configure multiple zone sets to satisfy the different security and access needs of your storage area network; however, only one zone set can be active at one time.

Managing zoning include the following tasks:

Creating and deleting zone sets, zones, and aliases

Adding a zone to a zone set and removing a zone from a zone set

Adding a member to a zone or an alias using WWPN

Adding an alias to a zone

Activating and deactivating zone sets

Clearing zones on the local SN 5428-2

Clearing the fabric wide zoning database

To make changes to a new or an existing configuration, add, delete, or remove individual elements to create the desired configuration.


Note All zoning changes are automatically saved to the SN 5428-2 bootable configuration and, if the SN 5428-2 is connected to the FC switched fabric, the configuration changes are replicated throughout the fabric.


The configuration you create using the command line interface (or GUI) can be uploaded to a host for archiving. To restore the configuration to the zoning data base, use the restore fcswitch zones command. If the SN 5428-2 is connected to the FC switched fabric, the restored zoning database will be pushed into the fabric.

See "Command Line Interface Reference," for a complete list of all zoning and other commands.

The following are SN 5428-2 zoning limits:

Maximum of 256 zone sets

Maximum of 256 zones

Maximum of 256 aliases

Maximum of 2000 members per zone

Maximum of 2000 members per aliases

Maximum of 2000 total members

Creating a zone set, a zone, and an alias

To operate within a zone, the zone set, zone, and alias names must be unique. Before creating a zone set, zone, or alias, ensure that the SN 5428-2 is attached to the switched fabric. When the SN 5428-2 is attached to the switched fabric, you will not be allowed to use a name that is already in use.

Use the following procedure to create a zone set, a zone, and an alias. In this example, the zone set is named helen, the zone is named agamemnon, and the alias is named leto.


Note A zone set, zone, or alias name cannot exceed 31 characters in length and must begin with an alpha character.


 
Command
Description

Step 1 

enable

Enter Administrator mode.

Step 2 

zoneset helen

Specify a unique zone set name.

Step 3 

zone agamemnon

Specify a unique zone name.

Step 4 

fcalias leto

(Optional) Specify a unique alias name.

Adding a zone to a zone set

Use the following procedure to add a zone to a zone set. In this example, the zone set is named helen and the zone is named agamemnon.

 
Command
Description

Step 1 

enable

Enter Administrator mode.

Step 2 

zoneset helen zone agamemnon

Assign the zone to the zone set.

Adding a member to an alias using WWPN

Use the following procedure to add a member to an alias using the device WWPN. In this example, the alias is called leto and the WWPN is 201b00491585c219.

 
Command
Description

Step 1 

enable

Enter Administrator mode.

Step 2 

fcalias leto member wwpn 201b00491585c219

Assign a WWPN member to the alias.

Adding a zone member to a zone using WWPN

Use the following procedure to add a zone member to a zone using the device WWPN. In this example, the zone is named agamemnon and the WWPN is 211b00491585c219.

 
Command
Description

Step 1 

enable

Enter Administrator mode.

Step 2 

zone agamemnon member wwpn 211b00491585c219

Assign a WWPN member to the zone.

Adding an alias to a zone

Use the following procedure to add an alias to a zone. In this example, the zone is named agamemnon and the alias is named leto. The default alias named iscsi is also added to the zone.

 
Command
Description

Step 1 

enable

Enter Administrator mode.

Step 2 

zone agamemnon member fcalias leto

zone agamemnon member fcalias iscsi

Assign the alias to the zone.

Note If the SN 5428-2 is going to participate in the zone, be sure to add the default alias named iscsi to the zone.

Activating a zone set

Activation of a zone set does not require rebooting or resetting the SN 5428-2. When you activate a zone set, the system compiles the zone sets of the same name from all switches in the fabric, then distributes this merged active zone set to each switch in the fabric.

Only one zone set can be active at one time; an active zone set must be deactivated to allow the activation of another zone set.

Use the following procedure to activate a zone set. In this example, the zone set helen (which includes the zone member agamemnon) is activated.

 
Command
Description

Step 1 

enable

Enter Administrator mode.

Step 2 

zoneset helen enable

Enable the zone set.

Note To activate a zone set, it must have at least one alias or one zone member assigned. You cannot activate an empty zone set.

Clearing zone configuration from the local SN 5428-2

When moving the SN 5428-2 from one FC zoned fabric to another, you must clear the SN 5428-2 zone configuration after you disconnect from the fabric and prior to connecting to the new fabric.


Note All ports operating as E_Ports must be inactive. If you try to clear the local zone configuration when there is an active E_Port on the SN 5428-2 Storage Router, the command fails and issues a warning message indicating the FC interfaces that are currently enabled.


Use the following procedure to clear the local zone configuration.

 
Command
Description

Step 1 

enable

Enter Administrator mode.

Step 2 

clear fcswitch zones local

Clear the zone configuration from the SN 5428-2.

Clearing the fabric wide zoning database

When reconfiguring the zones in the FC zoned fabric you must clear the zoning database and deactivate the active zone set for the entire switched fabric.

Use the following procedure to clear the local zoning database and deactivate the active zone set on the fabric.

 
Command
Description

Step 1 

enable

Enter Administrator mode.

Step 2 

clear fcswitch zones fabric

Clear the local zoning database and deactivate the active zone set for the entire switched fabric.

Verifying Configuration

Verify zoning is operational using the following procedure.

 
Command
Description

Step 1 

enable

Enter Administrator mode.

Step 2 

show devices

Display all attached devices to the SN 5428-2 (Example 5-4).

Note The show devices command displays an interface number for each device directly attached to that FC interface. If an interface number is not displayed, the associated device is not directly connected to an FC interface; the device is connected in the FC fabric.

Example 5-4 Verifying Zone Operation

[SN5428-2A]# show devices
Fabric Attached Devices detected
Interface WWPN             PortId   Device Type  Lun  Lunid Type    Lund
--------- ---------------- -------- ------------ ---- ------------- -----
fc1       22000003be3203bc 0x101e2  DASD         0    IEEE Extended 200f
fc1       2200001026448a0d 0x101e1  DASD         0    IEEE Extended 200b

Lun Description Table
Interface WWPN             Lun   Capacity Vendor       Product      Serial
--------- ---------------- ----- -------- ------------ ------------ ------
fc1       22000003be3203bc 0     17GB     SEAGATE      T207341EB    3EVON6B3000M
fc1       2200001026448a0d 0     17GB     SEAGATE      ST207340EB   3EVON4CW0002