SAN交换机划zone


# 创建别名为NewStorage对应1,6和1,7端口
[AB6505:admin> alias add NewStorage "1,6;1,7;"
rbash: alias: restricted
# 将新存储的别名添加到现有分区DE6000HtoIO01
6505:admin> zoneadd DE6000HtoIO01 NewStorage
# 直接添加具体端口到现有分区
B6505:admin> zoneadd "DE6000HtoIO01","1,6;1,7"
# 将更新后的分区加入到配置文件hpccfg
B6505:admin> cfgadd "hpccfg","DE6000HtoIO01"
"hpccfg" already contains "DE6000HtoIO01"
B6505:admin> cfgshow
Defined configuration:
 cfg:   hpccfg  DE6000HtoIO01
 zone:  DE6000HtoIO01
                DE6000H; IO01; 1,6; 1,7
 alias: DE6000H 1,0; 1,1; 1,2; 1,3
 alias: IO01    1,4; 1,5

Effective configuration:
 cfg:   hpccfg
 zone:  DE6000HtoIO01
                1,0
                1,1
                1,2
                1,3
                1,4
                1,5
# 激活配置文件以应用更改
B6505:admin> cfgenable hpccfg
You are about to enable a new zoning configuration.
This action will replace the old zoning configuration with the
current configuration selected. If the update includes changes 
to one or more traffic isolation zones, the update may result in  
localized disruption to traffic on ports associated with
the traffic isolation zone changes.
Do you want to enable 'hpccfg' configuration  (yes, y, no, n): [no] y
zone config "hpccfg" is in effect
Updating flash ...
B6505:admin> cfgshow
Defined configuration:
 cfg:   hpccfg  DE6000HtoIO01
 zone:  DE6000HtoIO01
                DE6000H; IO01; 1,6; 1,7
 alias: DE6000H 1,0; 1,1; 1,2; 1,3
 alias: IO01    1,4; 1,5

Effective configuration:
 cfg:   hpccfg
 zone:  DE6000HtoIO01
                1,0
                1,1
                1,2
                1,3
                1,4
                1,5
                1,6
                1,7

文章作者: TerSup
版权声明: 本博客所有文章除特別声明外,均采用 CC BY 4.0 许可协议。转载请注明来源 TerSup !
  目录