Configuring FCIP: Cisco MDS 9000 Family Configuration Guide OL-6973-03, Cisco MDS SAN-OS Release 2.x
Configuring FCIP: Cisco MDS 9000 Family Configuration Guide OL-6973-03, Cisco MDS SAN-OS Release 2.x
Configuring FCIP: Cisco MDS 9000 Family Configuration Guide OL-6973-03, Cisco MDS SAN-OS Release 2.x
C H A P T E R 33
Configuring FCIP
Cisco MDS 9000 Family IP storage (IPS) services extend the reach of Fibre Channel SANs by using
open-standard, IP-based technology. The switch can connect separated SAN islands using Fibre Channel
over IP (FCIP).
Note FCIP is specific to the IPS module and is available in Cisco MDS 9200 Switches or Cisco MDS 9500
Directors.
The Cisco MDS 9216I switch and the 14/2 Multiprotocol Services (MPS-14/2) module also allow you
to use Fibre Channel, FCIP, and iSCSI features. The MPS-14/2 module is available for use in any switch
in the Cisco MDS 9200 Series or Cisco MDS 9500 Series.
For information on configuring Gigabit Ethernet interfaces, see the “Configuring Gigabit Ethernet
Interfaces” section on page 37-4.
About FCIP
distributed Fibre Channel storage area networks (SAN islands) transparently over IP local area networks
(LANs), metropolitan area networks (MANs), and wide area networks (WANs). See Figure 33-1.
Virtual (E)ISL
Switch 1 Switch 2 Switch 3 Switch 4
WAN
Fibre Fibre
Channel Channel
91556
fabric IP router fabric
IP router
For more information about FCIP protocols, refer to the IETF standards for IP storage at
http://www.ietf.org. Also refer to Fibre Channel standards for switch backbone connection at
http://www.t11.org (see FC-BB-2).
To configure IPS modules or MPS-14/2 modules for FCIP, you should have a basic understanding of the
following concepts:
FCIP and VE Ports, page 33-2
FCIP Links, page 33-3
FCIP Profiles, page 33-4
FCIP Interfaces, page 33-4
Switch A
FC Switch C
F
F FC
FC F
E IP
GE VE
FC F
FC
Switch B
FCIP link
VE GE
FC E
F Virtual ISL
FC
91557
See the “E Port” section on page 11-3.
FCIP Links
FCIP Profiles
•
•
The FCIP profile’s local IP address determines the Gigabit Ethernet port where the FCIP links terminate
(see Figure 33-3).
Switch 2
Switch 1
Gigabit
Ethernet FCIP link 1
FCIP IP
interfaces network
Switch 4
FCIP
profile FCIP link 3
91558
FCIP Interfaces
•
•
• E port parameters—trunking mode and trunk allowed VSAN list.
Enabling FCIP
Command Purpose
Step 1 switch# config t
no fcip enable
Step 1
Step 2
Step 3
Step 4
Step 5
Switch 1 Switch 2
IP router IP router
IP
Network
IP address of Gigabit Ethernet IP address of Gigabit Ethernet
91561
interface 3/1 = 10.100.1.25 interface 3/1 = 10.1.1.1
fcip profile 10
switch1(config-profile)#
switch1(config-profile)# ip address
10.100.1.25
33-5
switch2#
switch2(config)#
switch2(config)#
switch2(config-profile)#
switch2(config-profile)#
Endpoint Endpoint
Interface FCIP = 51 Interface FCIP = 52
Profile = 10 Profile = 20
Connecting switch (peer) = 10.1.1.1 Connecting switch (peer) = 10.100.1.25
Switch 1 Switch 2
Switch 1 Switch 2
IP router IP router
IP
network
91562
IP address of Gigabit Ethernet IP address of Gigabit Ethernet
interface 3/1 = 10.100.1.25 interface 3/1 = 10.1.1.1
switch1#
switch(config)#
switch1(config)#
switch1(config-if)#
switch1(config-if)# use-profile 10
no shutdown
33-6
Advanced FCIP Profile Configuration
•
•
Creates the profile (if it does not already exist) and enters profile
configuration submode. The valid range is from 1 to 255.
•
• Keepalive Timeout, page 33-8
Maximum Retransmissions, page 33-9
33-7
Chapter 33 Configuring FCIP
Advanced FCIP Profile Configuration
Command Purpose
Step 1
Keepalive Timeout
Note
Command Purpose
Step 1
keepalive-timeout 120
no tcp
keepalive-timeout 120
Command Purpose
Step 1
max-retransmissions 6
no tcp
max-retransmissions 6
Path MTUs
PMTU discovery is a mechanism by which TCP learns of the PMTU dynamically and adjusts the
maximum TCP segment accordingly (RFC 1191).
By default, PMTU discovery is enabled on all switches with a timeout of 3600 seconds. If TCP reduces
the size of the maximum segment because of PMTU change, the reset-timeout specifies the time after
which TCP tries the original MTU.
To configure PMTU, follow these steps:
no tcp pmtu-enable
tcp pmtu-enable
tcp pmtu-enable
reset-timeout 90
no tcp pmtu-enable
reset-timeout 600
Selective Acknowledgments
no tcp sack-enable
tcp sack-enable
Window Management
33-9
round-trip-time
round-trip-time
min-available-bandwidth
max-bandwidth-mbps
Command Purpose
Step 1
900 min-available-bandwidth-mbps 300
round-trip-time-ms 10
no tcp max-bandwidth-mbps
900 min-available-bandwidth-mbps 300
round-trip-time-ms 10
tcp max-bandwidth-kbps
2000 min-available-bandwidth-kbps 2000
round-trip-time-us 200
Congestion
Note
33-10
Tip
Command Purpose
Step 1
Note
Command Purpose
Step 1 no tcp max-jitter
tcp max-jitter
Buffer Size
switch(config-profile)# Configure the advertised buffer size to 5000 KB. The valid
range is from 0 to 16384 KB.
switch(config-profile)# Reverts the switch to its factory default. The default is 0 KB.
To establish an FCIP link with the peer, you can use one of two options:
Peer IP address—Configures both ends of the FCIP link. Optionally, you can also use the peer TCP
port along with the IP address.
Special frames—Configures one end of the FCIP link when security gateways are present in the IP
network. Optionally, you can also use the switch WWN (sWWN) and profile ID along with the IP
address.
Peer IP Address
Command Purpose
Step 1
Step 2
Step 3
Special Frames
Note
Tip
Command Purpose
Step 1
12:12:34:45:ab:bc:cd:00
Step 3
Active Connections
Note
Command Purpose
Step 1
Step 2
Command Purpose
Step 1
Step 2
If the option is enabled, be sure to configure NTP on both switches (see the “NTP
Configuration” section on page 4-18).
Do not enable time stamp control on an FCIP interface that has tape acceleration or write acceleration
configured.
switch(config-if)#
switch(config-if)#
switch(config-if)#
B Port Interoperability Mode
Switch A
F FC Switch C
FC F
F FC
F IP
GE VE
FC E
FC
B port FC bridge
B FC
Switch A B
access
F FC
FCIP link
FC F
FC bridge
E
Switch C
FC B
FC B access IP
F FC
FC E
Switch B E
B access ISL
FC
E FC
FC E ISL
F
ISL
91559
FC
while VE
ports establish a virtual ISL over an FCIP link, B ports use a B access ISL
F FC
Fibre Channel
FC F port adapter (1G)
E
B B
access FC
FC IP
Switch B
FCIP link
Switch C
F FC
FC bridge
FC E
B
VE B access GE E
FC
ISL
FC E B access ISL
E
91560
FC
FCIP interface
Enables the reception of keepalive responses sent by a
remote peer.
Disables the reception of keepalive responses sent by a
remote peer (default).
Quality of Service
•
•
Configuring E Ports
•
•
–
–
Note
Chapter 33 Configuring FCIP
Advanced FCIP Features
FC
FCIP over
WAN
Command
RTT1
Transfer ready
Without
Data transfer acceleration
RT2
Status
FC
FCIP over
WAN
Command
Transfer ready
Data transfer
Transfer ready
RTT1 With
acceleration
Status
105224
Caution
Note
Caution
Command Purpose
Step 1
Step 2
Step 3
Note
Status 1 Status 1
120492
2048
no write-accelerator
tape-accelerator
no write-accelerator
tape-accelerator flow-control-buffer-size
2048
no write-accelerator
mode1 is a fast compression mode for high bandwidth links (> 25 Mbps)
mode2
mode3 is a high compression mode for low bandwidth links (< 10 Mbps)
auto (default) mode picks the appropriate compression scheme based on the bandwidth of the link
(the bandwidth of the link configured in the FCIP profile’s TCP parameters)
The IP compression feature behavior differs between the IPS module(s) or MPS-14/2 module(s) and
MPS-14/2 module—while mode2 and mode3 perform software compression in both modules, mode1
performs hardware-based compression in MPS-14/2 modules, and software compression in IPS-4 and
IPS-8 modules.
The Cisco MDS 9216i Switch also supports IP compression feature. The integrated supervisor module
has the same hardware components that are available in the MPS-14/2 module.
switch#
switch(config)#
switch(config)#
switch(config-if)#
switch(config-if)#
switch(config-if)#
switch(config-if)#
switch#
Displays Information About Tapes for which Exchanges are Tape Accelerated at the Host
End FCIP Link
switch#
switch#
fcip10 is up
Hardware is GigabitEthernet
Port WWN is 20:d0:00:0c:85:90:3e:80
Peer port WWN is 20:d4:00:0c:85:90:3e:80
Admin port mode is auto, trunk mode is on
Port mode is E, FCID is 0x720000
Port vsan is 91
Speed is 1 Gbps
Using Profile id 91 (interface GigabitEthernet4/1)
Peer Information
Peer Internet address is 3.3.3.2 and port is 3225
Write acceleration mode is off
Tape acceleration mode is off
Tape Accelerator flow control buffer size is 256 KBytes
IP Compression is disabled
Special Frame is disabled
Maximum number of TCP connections is 2
Time Stamp is disabled
QOS control code point is 0
QOS data code point is 0
B-port mode disabled
TCP Connection Information
50529025 Active TCP connections
Local 0.0.0.7:6, Remote 0.0.0.200:0
0 host table full 0 target entries in use
211419104 Attempts for active connections, 1500 close of connections
TCP Parameters
Path MTU 124160 bytes
Current retransmission timeout is 124160 ms
Round trip time: Smoothed 127829 ms, Variance: 14336
Advertized window: Current: 0 KB, Maximum: 14 KB, Scale: 14336
Peer receive window: Current: 0 KB, Maximum: 0 KB, Scale: 51200
Congestion window: Current: 14 KB, Slow start threshold: 49344 KB
Current Send Buffer Size: 206463 KB, Requested Send Buffer Size: 429496728
3 KB
CWM Burst Size: 49344 KB
5 minutes input rate 491913172779207224 bits/sec, 61489146597400903 bytes/se
c, 0 frames/sec
5 minutes output rate 491913175298921320 bits/sec, 61489146912365165 bytes/s
ec, 14316551 frames/sec
5702 frames input, 482288 bytes
5697 Class F frames input, 481736 bytes
5 Class 2/3 frames input, 552 bytes
0 Reass frames
0 Error frames timestamp error 0
5704 frames output, 482868 bytes
5698 Class F frames output, 482216 bytes
6 Class 2/3 frames output, 652 bytes
0 Error frames
switch#
fcip4
TCP Connection Information
...
5 minutes input rate 207518944 bits/sec, 25939868 bytes/sec, 12471 frames/sec
5 minutes output rate 205340328 bits/sec, 25667541 bytes/sec, 12340 frames/sec
2239902537 frames input, 4658960377152 bytes
18484 Class F frames input, 1558712 bytes
2239884053 Class 2/3 frames input, 4658958818440 bytes
0 Reass frames
0 Error frames timestamp error 0
2215051484 frames output, 4607270186816 bytes
18484 Class F frames output, 1558616 bytes
2215033000 Class 2/3 frames output, 4607268628200 bytes
0 Error frames
switch#
fcip4
TCP Connection Information
...
IP compression statistics
208752 rxbytes, 208752 rxbytes compressed
5143584 txbytes
0 txbytes compressed, 5143584 txbytes non-compressed
1.00 tx compression ratio
Example 33-9 Displays Detailed FCIP Interface Write Acceleration Counter Information, if Enabled
switch#
fcip4
TCP Connection Information
...
Write Accelerator statistics
6091 packets in 5994 packets out
0 frames dropped 0 CRC errors
0 rejected due to table full
0 ABTS sent 0 ABTS received
0 tunnel synchronization errors
37 writes recd 37 XFER_RDY sent (host)
0 XFER_RDY rcvd (target)
37 XFER_RDY rcvd (host)
0 XFER_RDY not proxied due to flow control (host)
0 bytes queued for sending
0 estimated bytes queued on the other side for sending
0 times TCP flow ctrl(target)
0 bytes current TCP flow ctrl(target)
Example 33-10 Displays Detailed FCIP Interface Tape Acceleration Counter Information, if Enabled
switch#
fcip4
TCP Connection Information
...
Tape Accelerator statistics
1 (host) tape sessions 0 (target) tape sessions
37 writes recd 33 STATUS proxied (host)
37 write good STATUS rcvd (host)
0 write good STATUS rcvd (target)
0 write bad STATUS rcvd (host)
0 write bad STATUS rcvd (target)
4 writes not TAed 8 queued flow ctrl (host)
0 recovery REC sent Got 0 ACCs 0 Rejects (host)
0 ABTS sent Got 0 ACCs (host)
0 REC Accs 0 REC Rjts 14 REC fwded (host)
0 SRR Accs 0 SRR Rjts 0 SRR fwded(host)
0 XferRdy retries 0 Status retries (host)
0 recovery REC sent Got 0 ACCs 0 Rejects (target)
0 recovery SRR sent Got 0 ACCs (target)
0 ABTS sent Got 0 ACCs (target)
0 tmf cmds rcvd (host)
0 tmf cmds rcvd (target)
Example 33-11 Displays the Compression Engine Statistics for the MPS-14/2 Module
Example 33-12 Displays Brief FCIP Interface Counter Information
Ethernet
FCIP link switch
IP
FC fabric network FC fabric
Ethernet Ethernet
switch FCIP link switch
90857
PortChannel of
two FCIP links
•
•
•
Chapter 33 Configuring FCIP
FCIP High Availability
FSPF
FCIP link
IP
FC fabric network FC fabric
90858
PortChannel of FCIP link
two FCIP tunnels
•
•
•
VRRP
FCIP link
IP
FC fabric FC fabric
network
90859
FCIP link
IP
FC fabric FC fabric
network
90860
Ethernet ports are
in PortChannel
Figure 33-14 PortChannels at the Fibre Channel and Ethernet Levels
FCIP FCIP
TCP TCP
IP IP
Ethernet Ethernet
Ethernet PortChannel
94176
Gigabit Ethenet link Gigabit Ethenet link Gigabit Ethenet link
Default Settings
Parameters Default
keepalive-timeout
max-retransmissions
Default FCIP Parameters (continued)