裸奔系列之博科SAN交换机(5)---ZONE配置(核心功能)

这章怎么说那。。。其他章节都是垃圾。。。因为你最常干的就是巡检,其次就是划zone或者说zoning。
SAN网络默认是隔离的,就是我默认是反对你跟你女同学(同事)交往的。你想交往怎么办???求我呀,我跟你配置各zoning把你俩放在一起就可以同学啦。你就是initial端(主机端)你女同学是target端(存储端)。

SAN交换机默认是全隔离,划zone的目的就是打通通道。交换机实施完,最要工作就是巡检,划zone,保存配置,排错。
标准脚本
switch:admin> alicreate “storagename_hba2”, “2,32”
switch:admin> alicreate “hostname_hba7”, "21:00:00:20:37:0c:66:23 "

switch:admin> zonecreate “storagename_hostname”, “storagename_hba2; hostname_hba7”

switch:admin> cfgenable “cfg01”
You are about to enable a new zoning configuration.
This action will replace the old zoning configuration with the
current configuration selected.
Do you want to enable ‘USA_cfg’ configuration (yes, y, no, n): [no] y
zone config “USA_cfg” is in effect
Updating flash …
switch:admin> cfgsave

概念
zone configuration:
为一组zone的集合。一个zone可以同时属于不同的zone configuration之中。当一个zone configuration生效时,属于该zone configuration的所有zone都生效。
创建zone配置基本步骤:
创建alias -> 创建zone -> 创建zone configuration -> cfgsave -> cfgEnable
常用命令
configUpload:备份zone configuration
configDown

  • 0
    点赞
  • 12
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值