• 光纤交换机增加zone配置


    光纤交换机当前配置情况如下:

    switchshow
    switchName:    swd77
    switchType:    71.2
    switchState:    Online  
    switchMode:    Native
    switchRole:    Principal
    switchDomain:    1
    switchId:    fffc01
    switchWwn:    10:00:00:05:33:c9:62:95
    zoning:        ON (cfg_1)
    switchBeacon:    OFF

    Index Port Address Media Speed State     Proto
    ==============================================
      0   0   010000   id    N8   Online      FC  F-Port  50:06:0e:80:10:05:e3:d0
      1   1   010100   id    N4   Online      FC  F-Port  21:01:00:e0:8b:ae:e9:64
      2   2   010200   id    N8   Online      FC  F-Port  50:06:0e:80:10:05:e3:d8
      3   3   010300   id    N8   No_Light    FC 
      4   4   010400   id    N4   Online      FC  F-Port  21:00:00:24:ff:03:df:65
      5   5   010500   id    N4   Online      FC  F-Port  21:00:00:24:ff:03:e0:23
      6   6   010600   id    N4   Online      FC  F-Port  21:00:00:24:ff:03:f9:d2
      7   7   010700   id    N4   Online      FC  F-Port  21:00:00:24:ff:03:fa:0f
      8   8   010800   --    N8   No_Module   FC  (No POD License) Disabled
      9   9   010900   --    N8   No_Module   FC  (No POD License) Disabled
    10  10   010a00   --    N8   No_Module   FC  (No POD License) Disabled
    11  11   010b00   --    N8   No_Module   FC  (No POD License) Disabled
    12  12   010c00   --    N8   No_Module   FC  (No POD License) Disabled
    13  13   010d00   --    N8   No_Module   FC  (No POD License) Disabled
    14  14   010e00   --    N8   No_Module   FC  (No POD License) Disabled
    15  15   010f00   --    N8   No_Module   FC  (No POD License) Disabled
    16  16   011000   --    N8   No_Module   FC  (No POD License) Disabled
    17  17   011100   --    N8   No_Module   FC  (No POD License) Disabled
    18  18   011200   --    N8   No_Module   FC  (No POD License) Disabled
    19  19   011300   --    N8   No_Module   FC  (No POD License) Disabled
    20  20   011400   --    N8   No_Module   FC  (No POD License) Disabled
    21  21   011500   --    N8   No_Module   FC  (No POD License) Disabled
    22  22   011600   --    N8   No_Module   FC  (No POD License) Disabled
    23  23   011700   --    N8   No_Module   FC  (No POD License) Disabled
    swd77:admin>
    swd77:admin> cfgshow
    Defined configuration:
    cfg:    cfg_1    CAS1; CAS2; CDB1; CDB2
    zone:    CAS1    AMS2500_0a; AMS2500_0b; AMS2500_1a; AMS2500_1b; CAS_FC_A
    zone:    CAS2    AMS2500_0a; AMS2500_0b; AMS2500_1a; AMS2500_1b; CAS_FC_B
    zone:    CDB1    AMS2500_0a; AMS2500_0b; AMS2500_1a; AMS2500_1b; CDB_FC_A
    zone:    CDB2    AMS2500_0a; AMS2500_0b; AMS2500_1a; AMS2500_1b; CDB_FC_B
    alias:    AMS2500_0a   
            1,0
    alias:    AMS2500_0b   
            1,1
    alias:    AMS2500_1a   
            1,2
    alias:    AMS2500_1b   
            1,3
    alias:    CAS_FC_A   
            1,6
    alias:    CAS_FC_B   
            1,7
    alias:    CDB_FC_A   
            1,4
    alias:    CDB_FC_B   
            1,5

    Effective configuration:
    cfg:    cfg_1   
    zone:    CAS1    1,0
            1,1
            1,2
            1,3
            1,6
    zone:    CAS2    1,0
            1,1
            1,2
            1,3
            1,7
    zone:    CDB1    1,0
            1,1
            1,2
            1,3
            1,4
    zone:    CDB2    1,0
            1,1
            1,2
            1,3
            1,5

    创建新zone,并保存.

    swd77:admin> zonecreate "MCC_OFS1", "50:06:0e:80:10:05:e3:d0; 50:06:0e:80:10:05:
    e3:d8; 21:01:00:e0:8b:ae:e9:64"


    swd77:admin> cfgsave
    You are about to save the Defined zoning configuration. This
    action will only save the changes on Defined configuration.
    Any changes made on the Effective configuration will not
    take effect until it is re-enabled.
    Do you want to save Defined zoning configuration only?  (yes, y, no, n): [no] yes
    sw0 Updating flash ...
    2012/05/15-09:19:11, [ZONE-1024], 51, FID 128, INFO, swd77, cfgSave completes successfully.

    Updating flash ...

    将新建的zone加入到configuration中,并保存.

    swd77:admin> cfgadd "cfg_1", "MCC_OFS1"

    swd77:admin> cfgsave
    You are about to save the Defined zoning configuration. This
    action will only save the changes on Defined configuration.
    Any changes made on the Effective configuration will not
    take effect until it is re-enabled.
    Do you want to save Defined zoning configuration only?  (yes, y, no, n): [no] yes
    sw0 Updating flash ...
    2012/05/15-09:22:02, [ZONE-1024], 52, FID 128, INFO, swd77, cfgSave completes successfully.

    Updating flash ...

    enable configuration,使新加的zone配置生效.

    swd77:admin> cfgenable cfg_1
    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 'cfg_1' configuration  (yes, y, no, n): [no] yes
    2012/05/15-09:22:34, [ZONE-1004], 53, FID 128, INFO, swd77, port 0 (0x0) enforcement changed to Session Based HARD Zoning.
    sw0 Updating flash ...
    2012/05/15-09:22:34, [ZONE-1004], 54, FID 128, INFO, swd77, port 1 (0x1) enforcement changed to Session Based HARD Zoning.
    2012/05/15-09:22:34, [ZONE-1004], 55, FID 128, INFO, swd77, port 2 (0x2) enforcement changed to Session Based HARD Zoning.
    2012/05/15-09:22:35, [ZONE-1022], 56, FID 128, INFO, swd77, The effective configuration has changed to cfg_1. 
    zone config "cfg_1" is in effect
    Updating flash ...

    swd77:admin> cfgactvshow

    Effective configuration:
    cfg:    cfg_1   
    zone:    CAS1    1,0
            1,1
            1,2
            1,3
            1,6
    zone:    CAS2    1,0
            1,1
            1,2
            1,3
            1,7
    zone:    CDB1    1,0
            1,1
            1,2
            1,3
            1,4
    zone:    CDB2    1,0
            1,1
            1,2
            1,3
            1,5
    zone:    MCC_OFS1   
            50:06:0e:80:10:05:e3:d0
            50:06:0e:80:10:05:e3:d8
            21:01:00:e0:8b:ae:e9:64

    上述命令显示新加的zone已经生效.

  • 相关阅读:
    实现分布式爬虫
    hadoop安装文档
    远程连接mysql和redis配置
    scrapy(2)
    10月10号动手动脑
    10月6日和动手动脑
    10月4日
    课程总结
    又学java的第一天
    第一节测试总结
  • 原文地址:https://www.cnblogs.com/cqubityj/p/2503402.html
Copyright © 2020-2023  润新知