You are on page 1of 8
8 CHAPTER
8
CHAPTER

Configuring FCIP

8 CHAPTER Configuring FCIP This chapter explains how to configure your SN 5428-2 Storage Router for

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 router’s 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

router (another SN5428-2 configured for FCIP). Cisco SN 5428-2 Storage Router Software Configuration Guide 78-15471-01 8-1

78-15471-01

8-1

Configuration Tasks

Chapter 8

Configuring FCIP

Configuration Tasks

 

To configure FCIP on an SN 5428-2 Storage Router, perform the following steps:

Step 1

If not already done, set the domain ID to a different value on one of the peer SN5428-2s.

Step 2

Create an FCIP instance.

Step 3

Assign an interface and IP address to the FCIP instance for use by the peer storage router (another SN 5428-2 configured for FCIP).

Step 4

Assign protocol and FCIP peer IP address.

Step 5

(Optional) Configure operational parameters as needed.

Step 6

Verify and save configuration.

as needed. Step 6 Verify and save configuration. Note Although this is shown as the last

Note

as needed. Step 6 Verify and save configuration. Note Although this is shown as the last

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.

which is then used when the storage router is rebooted. Setting the Domain ID Domain IDs

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

Description

Step 1

enable

Enter Administrator mode.

Step 2

fcswitch domainid 42

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

For example, set the switched zoned fabric domain ID to 42. Cisco SN 5428-2 Storage Router

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

Description

Step 1

enable

Enter Administrator mode.

Step 2

fcip fcip1

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.

Step 3

fcip fcip1 description “Access to SAN island 5”

(Optional) Add a description of what the FCIP instance is for. For 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

Description

Step 1

enable

Enter Administrator mode.

Step 2

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

protocol raw as described in this section. Cisco SN 5428-2 Storage Router Software Configuration Guide 78-15471-01

78-15471-01

8-3

Assigning a Protocol, Peer Name, and Peer IP Address

Chapter 8

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 peer’s IP address.

 

Command

Description

Step 1

enable

Enter Administrator mode.

Step 2

fcip fcip2 destination fcip1san5 tcpserver 10.1.0.47

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

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 peer’s IP address.

 

Command

Description

Step 1

enable

Enter Administrator mode.

Step 2

fcip fcip2 destination fcip2san5 tcpclient 10.1.0.46

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.

for more information about the fcip destination command. Cisco SN 5428-2 Storage Router Software Configuration Guide

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 peer’s IP address.

 

Command

Description

Step 1

enable

Enter Administrator mode.

Step 2

fcip fcip1 destination fcip1san5 raw 10.1.0.48

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.

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

Default

Keyword

Maximum number of frames given to the Fibre Channel interface

688

frinhiwater

Number of seconds before a keep-alive packet is sent across an idle connection

60

idlepingdelay

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.

0xffff

pkttracemask

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

262144

rxtcpwinsize

TCP port number where the server is listening to and where the client is connecting to

3225

tcpport

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

2097152

txtcpwinsize

Cisco SN 5428-2 Storage Router Software Configuration Guide

a TCP connection 2097152 txtcpwinsize Cisco SN 5428-2 Storage Router Software Configuration Guide 78-15471-01 8-5

78-15471-01

8-5

Verifying and Saving Configuration

Chapter 8

Configuring FCIP

Table 8-2 describes the optional operational parameters available for raw protocol.

Table 8-2

Operational Parameters: Raw Protocol

Description

Default

Keyword

Maximum number of bytes outstanding on a raw IP connection

16777216

bcouthiwater

Maximum number of frames given to the Fibre Channel interface

688

frinhiwater

Maximum number of frames outstanding on a raw IP connection

1024

frouthiwater

Number of seconds before a keep-alive packet is sent across an idle connection

60

idlepingdelay

Initial timeout of a transmitted frame on a raw IP connection

0

ticks 1

initialtimeout

IP protocol used in the IP header on a raw IP connection

0x04

ipprotocol

Maximum time for any one retransmission on a raw IP connection

48 ticks

maxtimeout

Maximum number of frames not acknowledged on a raw IP connection

16

peerneedsackhiwater

Value of the packet trace mask

0xffff

pkttracemask

Maximum number of times a packet is retransmitted on a raw IP connection

4

rexmitcount

Number of ticks to add to a packet’s timeout value before retransmitting the packet on a raw IP connection

0

ticks

timeoutincrement

Maximum time a packet is kept alive on a raw IP connection

0

ticks

totaltimeout

1. 60 ticks is approximately one second.

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

Description

Step 1

enable

Enter Administrator mode.

Step 2

show fcip fcip1

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

information for FCIP instance fcip1 . ( Example 8-1 ). Cisco SN 5428-2 Storage Router Software

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

LocalMode IpAddress

IsConnected

-----------

--------- --------------- -----------

fcip1san5

raw

10.1.0.48

TRUE

LinkState

---------

UP

fcip1 Trace Status

------------------

pktTracing

On, mask 0xffff

mboxTracing

On

mboxCmdCount

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 192ms 256ms 384ms 768ms

0x0

Cisco SN 5428-2 Storage Router Software Configuration Guide

192ms 256ms 384ms 768ms 0x0 Cisco SN 5428-2 Storage Router Software Configuration Guide 78-15471-01 8-7

78-15471-01

8-7

Verifying and Saving Configuration

Chapter 8

Configuring FCIP

and Saving Configuration Chapter 8 Configuring FCIP Cisco SN 5428-2 Storage Router Software Configuration Guide

Cisco SN 5428-2 Storage Router Software Configuration Guide

8-8

78-15471-01