一、brocade级联授权
1、级联就是把2台以上的交换机变成一台光交机,解决端口不够问题,以及长距离数据传输问题。
2、查看license
命令:licenseshow
SQ9cbdcQ9QTRAdcl:
Fabric license
fEJFgsdfegr5hyktyjCZ94ZST9LN9RDNaJYPBA3AC:
Enhanced Group Management license
Zg7LG9KEH7m39PGrPswergerytrhfhstrytrB7G3P:
8 Gig FC license
级联授权:1、登陆后输入wwn命令,然后光交上查看一个卡片,上面有密码:Transaction key
2、然后去官网申请license
https://www.switchkeyactivation.com/slkInternet/brocade
3、license命令查看
4、级联成功后,级联端口变E_port,并且会有upstream或downstream,主交换机后面会标有 (UPstream),下级交换机会显示 (downstream)状态
3、修改domain ID
命令:1、switchdisable
2、configure
Configure...
Fabric parameters (yes, y, no, n): [no] y
Domain: (1..239) [1] 2
WWN Based persistent PID (yes, y, no, n): [no]
R_A_TOV: (4000..120000) [10000]
E_D_TOV: (1000..5000) [2000]
WAN_TOV: (0..30000) [0]
MAX_HOPS: (7..19) [7]
Data field size: (256..2112) [2112]
Sequence Level Switching: (0..1) [0]
Disable Device Probing: (0..1) [0]
Suppress Class F Traffic: (0..1) [0]
Per-frame Route Priority: (0..1) [0]
Long Distance Fabric: (0..1) [0]
BB credit: (1..27) [16]
Disable FID Check (yes, y, no, n): [no]
Insistent Domain ID Mode (yes, y, no, n): [no]
Configure edge hold time (yes, y, no, n): [no]
Virtual Channel parameters (yes, y, no, n): [no]
F-Port login parameters (yes, y, no, n): [no]
Zoning Operation parameters (yes, y, no, n): [no]
RSCN Transmission Mode (yes, y, no, n): [no]
Arbitrated Loop parameters (yes, y, no, n): [no]
System services (yes, y, no, n): [no]
Portlog events enable (yes, y, no, n): [no]
ssl attributes (yes, y, no, n): [no]
rpcd attributes (yes, y, no, n): [no]
cfgload attributes (yes, y, no, n): [no]
webtools attributes (yes, y, no, n): [no]
WARNING: The domain ID will be changed. The port level zoning may be affected
3、switchenable
4、命令配置
IP配置,博科交换机默认管理IP是10.77.77.77,命令设置IP:ipaddrset
创建zone命令
zonecreate "zonename","1,2;2,3" --注意不是1.2
cfgadd "cfg","zonename;zonename2"
cfgsave
cfgenable cfg
删除zone命令
cfgremove "cfg","zonename;zonename2"
zonedelete "zonename"
5、查看报错命令
sfpshow -all | grep -E "RX|TX|Port"
查看光衰值,RX/TX,同机房4dm,异地机房光纤在7dm
porterrshow
观察报错,主要看enc-out,crc-err是否报错,c3是否有丢包
enc-out:单独报错,是光纤线的问题
crc-err:数据帧crc效验错误,重启服务器,拔插过线都会有报错,需清除过10分钟后再观察是否有报错
disc c3:是否丢包
statsclear 清除报错
6、博科光交有两个网口,一个是console口,一个是网口10.77.77.77