======switchshow檢查那些Port沒有用============
FCIP port區分為 16-23port為GE0,24-31port為GE1
SW75_11:admin> switchshow
switchName: SW75
switchType: 46.2
switchState: Online
switchMode: Native
switchRole: Subordinate
switchDomain: 1
switchId: fffc01
switchWwn: 10:00:00:05:1b:55:0c:ab
zoning: ON (SW7)
switchBeacon: OFF
FC Router: ON
FC Router BB Fabric ID: 1
Address Mode: 0
Index Port Address Media Speed State Proto
==============================================
0 0 010000 id N4 Online FC E-Port 10:00:00:05:1e:03:6c:54 "TC7" (upstream)
1 1 010100 id N4 No_Light FC
2 2 010200 id N4 Online FC E-Port 10:00:00:05:1e:35:a5:51 "TC144" (downstream)
3 3 010300 id N4 No_Light FC
4 4 010400 id N4 No_Light FC
5 5 010500 id N4 No_Light FC
6 6 010600 id N4 No_Light FC
7 7 010700 id N4 No_Light FC
8 8 010800 id N4 No_Light FC
9 9 010900 id N4 No_Light FC
10 10 010a00 id N4 No_Light FC
11 11 010b00 id N4 No_Light FC
12 12 010c00 id N4 No_Light FC
13 13 010d00 id N4 No_Light FC
14 14 010e00 id N4 No_Light FC
15 15 010f00 id N4 No_Light FC
16 16 011000 -- -- Online VE VE-Port 50:00:51:ec:1b:37:4a:09 "fcr_fd_160" (downstream)
17 17 011100 -- -- Online VE VEX-Port 10:00:00:05:1e:7b:31:01 "dcx4s_42" (fabric id = 5 )
18 18 011200 -- -- Offline VE Disabled (Persistent)
19 19 011300 -- -- Offline VE Disabled (Persistent)
20 20 011400 -- -- Offline VE Disabled (Persistent)
21 21 011500 -- -- Offline VE Disabled (Persistent)
22 22 011600 -- -- Offline VE Disabled (Persistent)
23 23 011700 -- -- Offline VE Disabled (Persistent)
24 24 011800 -- -- Offline VE
25 25 011900 -- -- Offline VE Disabled (Persistent)
26 26 011a00 -- -- Offline VE Disabled (Persistent)
27 27 011b00 -- -- Offline VE Disabled (Persistent)
28 28 011c00 -- -- Offline VE Disabled (Persistent)
29 29 011d00 -- -- Offline VE Disabled (Persistent)
30 30 011e00 -- -- Offline VE Disabled (Persistent)
31 31 011f00 -- -- Offline VE Disabled (Persistent)
ge0 id 1G Online FCIP
ge1 id 1G Online FCIP
=====建立FCIP兩台switch port需disable然後各自建立為ve、vex這樣2台switch才能溝通=====
SW75_11:admin>portCfgPersistentDisable 16
SW75_11:admin>portcfgvexport 16 -a(admin) 1(啟用) -f 7(fabric id)
SW75_11:admin>portcfg ipif ge0 create 192.168.14.12 255.255.255.0 1500(mtu)設定IP
SW75_11:admin>portcfg iproute ge0 create 0.0.0.0 0.0.0.0 192.168.14.254 1 設定route 這樣才ping的通
SW75_11:admin> portshow iproute ge0
Port: ge0
IP Address Mask Gateway Metric Flags
-------------------------------------------------------------
0.0.0.0 0.0.0.0 192.168.14.254 1
192.168.14.0 255.255.255.0 192.168.14.12 0 Interface
SW75_11:admin>portcmd --ping ge0 -s 192.168.14.12 -d 192.168.8.22 (檢察介面是否可以互ping通)
Pinging 192.168.8.22 from ip interface 192.168.14.12 on 0/ge0 with 64 bytes of data
Reply from 192.168.8.22: bytes=64 rtt=5ms ttl=91
Reply from 192.168.8.22: bytes=64 rtt=5ms ttl=91
Reply from 192.168.8.22: bytes=64 rtt=5ms ttl=91
Reply from 192.168.8.22: bytes=64 rtt=5ms ttl=91
Ping Statistics for 192.168.8.22:
Packets: Sent = 4, Received = 4, Loss = 0 ( 0 percent loss)
Min RTT = 5ms, Max RTT = 5ms Average = 5ms
SW75_11:admin>fosconfig --enable fcr (開啟fc routing service)
SW75_11:admin>portcfg fciptunnel ge0 create 0 192.168.8.22 192.168.14.12 1000000(速率) -c(壓縮 -n(遠端wwn) 10:00:00:05:1b:a1:c3:74 -f(fastwrite) -t(tape pipelining)
SW75_11:admin> portshow fciptunnel all
Port: ge0
-------------------------------------------
Tunnel ID 0
Tunnel Description Not Configured
Remote IP Addr 192.168.8.22
Local IP Addr 192.168.14.12
Remote WWN 10:00:00:05:1b:a1:c3:74
Local WWN 10:00:00:05:1b:55:0c:ab
Compression on
Fastwrite on
Tape Pipelining on
Committed Rate 900000 Kbps (0.900000 Gbps)
SACK on
Min Retransmit Time 100
Keepalive Timeout 80
Max Retransmissions 9
VC QoS Mapping off
DSCP Marking (Control): 0, DSCP Marking (Data): 0
VLAN Tagging Not Configured
TCP Byte Streaming off
Status : Active
Connected Count: 3
Uptime 1 hour, 21 minutes, 14 seconds
SW75_11:admin> portCfgPersistentEnable 16