You are on page 1of 8

C H A P T E R

Configuring FCIP
This chapter explains how to configure your SN 5428-2 Storage Router for FCIP and contains the following sections:

Prerequisite Tasks, page 8-1 Configuration Tasks, page 8-2 Setting the Domain ID, page 8-2 Creating an FCIP Instance, page 8-3 Assigning an IP Address, page 8-3 Assigning a Protocol, Peer Name, and Peer IP Address, page 8-3 Configuring Operational Parameters, page 8-5 Verifying and Saving Configuration, page 8-6

FCIP is configured in the setup wizard. To configure the FCIP deployment option further and to verify the configuration, you can use the procedure in this chapter, or you can use the web-based GUI. To access the web-based GUI, point your browser to the storage routers management interface IP address. After logging on, click the Help link to access online help for the GUI.

Prerequisite Tasks
Before performing FCIP configuration tasks on the SN 5428-2, make sure you have configured all system parameters as described in Chapter 2, First-Time Configuration, or Chapter 3, Configuring System Parameters. To configure an FCIP instance, you will need the IP address and communication protocol of the FCIP instance on the peer storage router (another SN5428-2 configured for FCIP).

Cisco SN 5428-2 Storage Router Software Configuration Guide 78-15471-01

8-1

Chapter 8 Configuration Tasks

Configuring FCIP

Configuration Tasks
To configure FCIP on an SN 5428-2 Storage Router, perform the following steps:
Step 1 Step 2 Step 3 Step 4 Step 5 Step 6

If not already done, set the domain ID to a different value on one of the peer SN5428-2s. Create an FCIP instance. Assign an interface and IP address to the FCIP instance for use by the peer storage router (another SN 5428-2 configured for FCIP). Assign protocol and FCIP peer IP address. (Optional) Configure operational parameters as needed. Verify and save configuration.

Note

Although this is shown as the last step, you can verify and save the configuration at any point in the process of performing the configuration tasks. Save your configuration by using the save all bootconfig CLI command. This command saves all configuration data to the bootable configuration, which is then used when the storage router is rebooted.

Setting the Domain ID


Domain IDs must be unique between FCIP peers to avoid conflict. If the domain IDs are the same for both peer SN 5428s, use the following procedure to set one of the peers to a different value.

Command
Step 1 Step 2

Description Enter Administrator mode. Set the domain ID for the SN 5428-2. For example, set the switched zoned fabric domain ID to 42.

enable fcswitch domainid 42

Cisco SN 5428-2 Storage Router Software Configuration Guide

8-2

78-15471-01

Chapter 8

Configuring FCIP Creating an FCIP Instance

Creating an FCIP Instance


Creating an FCIP instance consists of naming the new instance. Use the following procedure to create an FCIP instance. Command
Step 1 Step 2

Description Enter Administrator mode. Create an FCIP instance by naming the new instance. For example, name the instance fcip1. The FCIP instance named fcip1 uses the Gigabit Ethernet interface, ge1; the instance named fcip2 uses ge2. See Chapter 12, Command Line Interface Reference, for more information about the fcip command.

enable fcip fcip1

Step 3

fcip fcip1 description Access to (Optional) Add a description of what the FCIP instance is for. For SAN island 5 example, add the description Access to SAN island 5 to the FCIP instance fcip1.

Assigning an IP Address
Use the following procedure to assign an IP address to the FCIP instance. Command
Step 1 Step 2

Description Enter Administrator mode.

enable

fcip fcip1 networkif 10.1.0.16/24 Assign an IP address to the FCIP instance. For example, assign IP address 10.1.0.16 to the FCIP instance fcip1. See Chapter 12, Command Line Interface Reference, for more information about the fcip networkif command.

Assigning a Protocol, Peer Name, and Peer IP Address


An FCIP instance runs with a point-to-point connection to an FCIP instance on a peer SN 5428-2. Each FCIP instance can be configured with one peer. To configure the peer of an FCIP instance, you assign a protocol and an arbitrary peer name, and specify the IP address of the peer. The peer name will be required for operational configuration changes, if any. Assigning protocol consists of selecting a protocol type according to one of the following scenarios:

If the peer FCIP instance is configured as a TCP client, assign protocol tcpserver as described in this section. If the peer FCIP instance is configured as a TCP server, assign protocol tcpclient as described in this section. If the peer FCIP instance is configured to use raw IP, assign protocol raw as described in this section.

Cisco SN 5428-2 Storage Router Software Configuration Guide 78-15471-01

8-3

Chapter 8 Assigning a Protocol, Peer Name, and Peer IP Address

Configuring FCIP

Assigning Protocol: tcpserver


If the peer FCIP instance is configured as a TCP client, use the following procedure to assign an arbitrary peer name and configure the peers IP address. Command
Step 1 Step 2

Description Enter Administrator mode. Assign an arbitrary name to the peer FCIP instance, and enter its IP address. For example, assign the name fcip1san5 to the peer of FCIP instance fcip2. The IP address of the peer is in dotted quad notation 10.1.0.47, and connection is made using TCP protocol, with fcip2 acting as a TCP server. The TCP server will listen for a TCP connection attempt from its peer, which must be configured as a TCP client.
Note

enable fcip fcip2 destination fcip1san5 tcpserver 10.1.0.47

If you are configuring two FCIP instances on the SN 5428-2, do not configure both instances as TCP servers. Instead, configure both instances as TCP clients, or one as a TCP server and the other as a TCP client. If both instances have to be TCP servers then they should use different TCP ports.

See Chapter 12, Command Line Interface Reference, for more information about the fcip destination command.

Assigning Protocol: tcpclient


If the peer FCIP instance is configured as a TCP server, use the following procedure to assign an arbitrary name to the peer and configure the peers IP address. Command
Step 1 Step 2

Description Enter Administrator mode. Assign an arbitrary name to the peer FCIP instance, and enter its IP address. For example, assign the name fcip2san5 to the peer of FCIP instance fcip2. The IP address of the peer is in dotted quad notation 10.1.0.46, and connection is made using TCP protocol, with fcip2 acting as a TCP client. The TCP client will try to initialize the TCP connection with its peer, which must be configured as a TCP server. See Chapter 12, Command Line Interface Reference, for more information about the fcip destination command.

enable fcip fcip2 destination fcip2san5 tcpclient 10.1.0.46

Cisco SN 5428-2 Storage Router Software Configuration Guide

8-4

78-15471-01

Chapter 8

Configuring FCIP Configuring Operational Parameters

Assigning Protocol: raw


If the peer FCIP instance is configured to use raw IP, use the following procedure to assign an arbitrary name to the FCIP peer and configure the peers IP address.

Command
Step 1 Step 2

Description Enter Administrator mode. Assign an arbitrary name to the peer FCIP instance, and enter its IP address. For example, assign the name fcip1san5 to the peer of FCIP instance fcip1. The IP address of the peer is in dotted quad notation 10.1.0.48, and connection is made using raw protocol. See Chapter 12, Command Line Interface Reference, for more information about the fcip destination command.

enable fcip fcip1 destination fcip1san5 raw 10.1.0.48

Configuring Operational Parameters


For FCIP deployment, a large maximum transfer unit (MTU) size is desirable. To set the size of the MTU, use the interface ge? mtusize command to set MTU to its highest level, 9000, if possible. To configure FCIP operational parameters, use the fcip destination command. The default settings for operational command parameters are listed in this section. If modifications to these settings are necessary, see Chapter 12, Command Line Interface Reference, for details about the fcip destination command. Table 8-1 describes the optional operational parameters available for TCP protocol.
Table 8-1 Optional Operational Parameters: TCP Protocol

Description Number of seconds before a keep-alive packet is sent across an idle connection Value of the packet trace mask. Packets are traced for debugging problems. Range is from 0x0000 to 0xffff. A value of zero will disable packet tracing.

Default 60 0xffff

Keyword frinhiwater idlepingdelay pkttracemask

Maximum number of frames given to the Fibre Channel interface 688

Maximum number of outstanding bytes that can be received on a 262144 TCP connection TCP port number where the server is listening to and where the client is connecting to 3225

rxtcpwinsize tcpport txtcpwinsize

Maximum number of outstanding bytes that can be transmitted on 2097152 a TCP connection

Cisco SN 5428-2 Storage Router Software Configuration Guide 78-15471-01

8-5

Chapter 8 Verifying and Saving Configuration

Configuring FCIP

Table 8-2 describes the optional operational parameters available for raw protocol.
Table 8-2 Operational Parameters: Raw Protocol

Description Maximum number of bytes outstanding on a raw IP connection Maximum number of frames outstanding on a raw IP connection Number of seconds before a keep-alive packet is sent across an idle connection Initial timeout of a transmitted frame on a raw IP connection IP protocol used in the IP header on a raw IP connection Maximum number of frames not acknowledged on a raw IP connection Value of the packet trace mask Maximum number of times a packet is retransmitted on a raw IP connection Number of ticks to add to a packets timeout value before retransmitting the packet on a raw IP connection Maximum time a packet is kept alive on a raw IP connection
1. 60 ticks is approximately one second.

Default

Keyword frinhiwater frouthiwater idlepingdelay initialtimeout ipprotocol maxtimeout peerneedsackhiwater pkttracemask rexmitcount timeoutincrement totaltimeout

16777216 bcouthiwater 1024 60 0 ticks1 0x04 16 0xffff 4 0 ticks 0 ticks

Maximum number of frames given to the Fibre Channel interface 688

Maximum time for any one retransmission on a raw IP connection 48 ticks

Verifying and Saving Configuration


Verify the FCIP configuration using the procedures that follow. You can save the configuration at any time by using the save all bootconfig command. You must save the running configuration to the bootable configuration for it to be retained in the storage router when it is rebooted. Once you have saved the configuration, you can verify that the configuration to be used when the storage router is rebooted matches the currently running configuration. Use the following procedure to verify FCIP configuration. Command
Step 1 Step 2

Description Enter Administrator mode. Displays the operational and connection information for FCIP instance fcip1. (Example 8-1).

enable show fcip fcip1

Cisco SN 5428-2 Storage Router Software Configuration Guide

8-6

78-15471-01

Chapter 8

Configuring FCIP Verifying and Saving Configuration

Example 8-1

Verifying Existence of an FCIP instance

[SN5428-2A]# show fcip fcip1 Instance Device I/F Network I/F -------- ---------- ----------fcip1 fci1 ge1 10.1.0.16 Description ----------Access to SAN island 5 Destination ----------fcip1san5 LinkState --------UP fcip1 Trace Status -----------------pktTracing mboxTracing mboxCmdCount LocalMode --------raw IpAddress --------------10.1.0.48 IsConnected ----------TRUE

On, mask 0xffff On 0

fcip1 Connection Information ---------------------------idlePingDelay 60 txAck 0x4d txSeq 0x4f rxAck 0x4d rxSeq 0x4d peerNeedsAck 0x0 WackQ 0x0, 0xce05230 WackQCnt 0x0F WackQExtra 0x0 frOut 0x0 frOutHiWater 0x400 bcOut 0x0 bcOutHiWater 0x200000 burstOut 0x0 burstOutHiWater 0x200000 outFlowCtrlQ 0x0, 0x0 frIn 0x0 frInHiWater 0x2b0 inFlowCtrlQ 0x0, 0x0 blockMaxSize 0x0 oosPktQ 0x0, 0x0 ipProtocol 0x4 reXmitCnt 0x4 reXmitMaxTO 0x30 reXmitTimeOutIncr 0x0 reXmitInitialTimeOut 0x0 reXmitTotalTimeOut 0x0 192ms 256ms 384ms 768ms

Cisco SN 5428-2 Storage Router Software Configuration Guide 78-15471-01

8-7

Chapter 8 Verifying and Saving Configuration

Configuring FCIP

Cisco SN 5428-2 Storage Router Software Configuration Guide

8-8

78-15471-01