-
B
r
o
c
a
d
e
7
< br>8
0
0
F
C
I
P
配
置
手
p>
册
目录
一、
二、
三、
四、
五、
六、
七、
八、
九、
十、
环境
.<
/p>
........................................
..................................................
................................................
1
清除
GE
口原有信息
......................
..................................................
...................................
2
配置
GE
口类型
........................
..................................................
..........................................
3
创建
ge
0
与
ge1
口
IP
.
........................
..................................................
.................................
3
创建
IP
路由
..................................................
..................................................
.......................
4
p>
创建
FCIP
隧道
.
...........................
..................................................
........................................
4
添加
Ci
rcuit
(电路)
..................
..................................................
.......................................
5
配置传输压缩
.
................................................ .................................................. ......................
6
建立
lsan zone ................
..................................................
..................................................
.....
6
测试数据复制
.
................................................ .................................................. ......................
7
一、
环境
BJSC-7800-01
BJSC-7800-02
7800-01
RJ45
RJ45
FC
FC
7800-02
7800-01
RJ45
7800-02
RJ45
RJ45
RJ45
FC
FC
10.0.100.1
10.0.100.2
RJ45
RJ45
10.0.10.1
10.0.10.2
二、
清除
GE
口原有信息
BJSC-7800-02:admin> portshow
fcipcircuit all
显示电路信息
-------------------------------------------- -----------------------------------
Tunnel Circuit
OpStatus Flags
Uptime
TxMBps
RxMBps ConnCnt CommRt
Met
------------------------
--------------------------------------------------
-----
16
0
ge0
InProg
----s
1m27s
0.00
0.00
4
20/100
0
16
1
ge1
InProg
----s
18m14s
0.00
0.00
4
30/90
0
--
--------------------------------------------------
---------------------------
Flags: circuit: s=sack
有
2
条电路,分别是
1
6 0
与
16 1
BJSC-7800-02:admin> portcfgdefault ge0<
/p>
直接清除
ge0
口信息失败
Circuit Configuration exists
using this GE port.
BJSC-7800-02:admin>
portcfg fcipcircuit 16 delete
0
需要先删除电路
Operation Succeeded
BJSC-7800-02:admin> portcfgdefault ge0<
/p>
清除
ge0
口信息成功
< br>
Operation Succeeded
BJSC-7800-02:admin> portcfgdefault
ge1
同上
Circuit
Configuration exists using this GE port.
BJSC-7800-02:admin> portcfg fcipcircuit
16 delete 1
同上
Operation Succeeded
BJSC-7800-02:admin> portcfgdefault
ge1
同上
Operation
Succeeded
BJSC-7800-02:admin>portcfg
fciptunnel 16 delete
删除隧道
shwitchshow
显示
GE
口结果
ge0
cu
1G
Online
FCIP
Copper
ge1
cu
1G
Online
FCIP
Copper
ge2
id
1G
No_Light
FCIP
ge3
--
1G
No_Module FCIP
ge4
--
1G
No_Module FCIP
ge5
--
1G
No_Module FCIP
ge0
电口
ge1
电口
光口
光口
Ge2
光口
Ge3
光口
Ge4
光口
Ge5
光口
当上面
2
个电口被使用后,下面的前
2
个光口将不能使用。
三、
配置
G
E
口类型
BJSC-7800-01:admin> portcfggemediatype
Usage:
portcfggemediatype GbE_port
[optical
光
|
copper
电
]
BJSC-7800-01:admin>
BJSC-7800-01:admin>
例如:
sw67:admin>portcfggemediatype
GE0 optical
四、
<
/p>
创建
ge0
与
g
e1
口
IP
BJSC-7800-01:admin>portcfg ipif ge0
create 10.0.100.1 255.255.255.0 1500
BJSC-7800-01:admin> portcfg ipif ge1
create 10.0.10.1 255.255.255.0 1500
BJSC-7800-01:admin> portshow ipif all <
/p>
显示
GE
口
IP
Port: ge0
Interface IPv4 Address
NetMask
Effective MTU
Flags
----------------------
----------------------------------------
0
10.0.100.1
255.255.255.0
1500
U R M
Port: ge1
Interface IPv4 Address
NetMask
Effective MTU
Flags
----------------------
----------------------------------------
0
10.0.10.1
255.255.255.0
1500
U R M
Flags: U=Up B=Broadcast
D=Debug L=Loopback P=Point2Point R=Running
N=NoArp PR=Promisc M=Multicast
S=StaticArp LU=LinkUp
BJSC-7800-01:admin>
对端
BJSC-7800-02
p>
配置
IP
为
GE0
10.0.100.2
GE1 10.0.10.2
五、
创建
IP
路由
测试环境直连方式可以
ping
通对端
,因此
配置路由
步骤可先忽略。
实际实施时不可省略此步。
BJSC-7800-01:admin> portcmd --ping ge0
-s 10.0.100.1 -d 10.0.100.2
Pinging
10.0.100.2 from ip interface 10.0.100.1 on 0/ge0
with 64 bytes of data
Reply from
10.0.100.2: bytes=64 rtt=2ms ttl=20
Reply from 10.0.100.2: bytes=64 rtt=0ms
ttl=20
Reply from 10.0.100.2: bytes=64
rtt=0ms ttl=20
Reply from 10.0.100.2:
bytes=64 rtt=2ms ttl=20
Ping Statistics for 10.0.100.2:
Packets: Sent = 4, Received = 4, Loss =
0 ( 0 percent loss)
Min
RTT = 0ms, Max RTT = 2ms Average = 1ms
BJSC-7800-01:admin>
六、
创建
FCIP
隧道
在第
16VE
口创建
FCIP
隧道
(
先写远端
IP
再写本端
IP,
后面的数字单位是
p>
K)
,
两边都要创建
BJSC-7800-01:admin>
portcfg fciptunnel 16 create 10.0.100.2 10.0.100.1
-b 50000 -B 100000
Operation Succeeded
当仅仅本端建立好后,状态为
InProg
BJSC-7800-01:admin> portshow fciptunnel
all
显示隧道信息
------
--------------------------------------------------
-----------------------
Tunnel Circuit
OpStatus Flags
Uptime
TxMBps
RxMBps ConnCnt CommRt
Met
------------------------
--------------------------------------------------
-----
16
-
InProg
-----
0s
0.00
0.00
0
-
- <
/p>
----------------------------------------
---------------------------------------
Flags: tunnel:
c=compression f=fastwrite t=Tapepipelining F=FICON
T=TPerf
circuit: s=sack
BJSC-7800-01:admin> portshow
fcipcircuit all
显示电路信息
-------------------------------------------- -----------------------------------
Tunnel Circuit
OpStatus Flags
Uptime
TxMBps
RxMBps ConnCnt CommRt
Met
------------------------
--------------------------------------------------
-----
16
0
ge0
InProg
----s
0s
0.00
0.00
0
50/100
0
-
-
-
-
-
-
-
-
-
上一篇:lacp原理
下一篇:五金模具常用专业术语中英文对照表[1]