zoukankan      html  css  js  c++  java
  • delete zone and cfgsave on brocade by CMD

    brocade:user> cfgshow
    Defined configuration:
    cfg: cfg001 AMS_ESX_HBA1; AMS_ESX_HBA2; HUS_ESX_HBA1;
    HUS_ESX_HBA2; HUS_DB1_HBA1;
    HUS_DB2_HBA1
    zone: AMS_ESX_HBA1
    1,0; 1,1; 1,4
    zone: AMS_ESX_HBA2
    1,0; 1,1; 1,5
    zone: HUS_ESX_HBA1
    1,2; 1,4; 1,6
    zone: HUS_ESX_HBA2
    1,2; 1,5; 1,6
    zone: HUS_DB1_HBA1
    1,2; 1,3; 1,6
    zone: HUS_DB2_HBA1
    1,2; 1,6; 1,7

    Effective configuration:
    cfg: cfg001
    zone: AMS_ESX_HBA1
    1,0
    1,1
    1,4
    zone: AMS_ESX_HBA2
    1,0
    1,1
    1,5
    zone: HUS_ESX_HBA1
    1,2
    1,4
    1,6
    zone: HUS_ESX_HBA2
    1,2
    1,5
    1,6
    zone: HUS_DB1_HBA1
    1,2
    1,3
    1,6
    zone: HUS_DB2_HBA1
    1,2
    1,6
    1,7

    brocade:user> cfgremove "cfg001","AMS_ESX_HBA1"
    brocade:user> cfgremove "cfg001","AMS_ESX_HBA2"
    brocade:user> cfgshow
    Defined configuration:
    cfg: cfg001 HUS_ESX_HBA1; HUS_ESX_HBA2; HUS_DB1_HBA1;
    HUS_DB2_HBA1
    zone: AMS_ESX_HBA1
    1,0; 1,1; 1,4
    zone: AMS_ESX_HBA2
    1,0; 1,1; 1,5
    zone: HUS_ESX_HBA1
    1,2; 1,4; 1,6
    zone: HUS_ESX_HBA2
    1,2; 1,5; 1,6
    zone: HUS_DB1_HBA1
    1,2; 1,3; 1,6
    zone: HUS_DB2_HBA1
    1,2; 1,6; 1,7

    Effective configuration:
    cfg: cfg001
    zone: AMS_ESX_HBA1
    1,0
    1,1
    1,4
    zone: AMS_ESX_HBA2
    1,0
    1,1
    1,5
    zone: HUS_ESX_HBA1
    1,2
    1,4
    1,6
    zone: HUS_ESX_HBA2
    1,2
    1,5
    1,6
    zone: HUS_DB1_HBA1
    1,2
    1,3
    1,6
    zone: HUS_DB2_HBA1
    1,2
    1,6
    1,7

    brocade:user> zonedelete AMS_ESX_HBA1
    brocade:user> zonedelete AMS_ESX_HBA2
    brocade:user> cfgshow
    Defined configuration:
    cfg: cfg001 HUS_ESX_HBA1; HUS_ESX_HBA2; HUS_DB1_HBA1;
    HUS_DB2_HBA1
    zone: HUS_ESX_HBA1
    1,2; 1,4; 1,6
    zone: HUS_ESX_HBA2
    1,2; 1,5; 1,6
    zone: HUS_DB1_HBA1
    1,2; 1,3; 1,6
    zone: HUS_DB2_HBA1
    1,2; 1,6; 1,7

    Effective configuration:
    cfg: cfg001
    zone: AMS_ESX_HBA1
    1,0
    1,1
    1,4
    zone: AMS_ESX_HBA2
    1,0
    1,1
    1,5
    zone: HUS_ESX_HBA1
    1,2
    1,4
    1,6
    zone: HUS_ESX_HBA2
    1,2
    1,5
    1,6
    zone: HUS_DB1_HBA1
    1,2
    1,3
    1,6
    zone: HUS_DB2_HBA1
    1,2
    1,6
    1,7

    brocade:user> cfgenable cfg001
    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 'cfg001' configuration (yes, y, no, n): [no] y
    zone config "cfg001" is in effect
    Updating flash ...
    brocade:user> cfgshow
    Defined configuration:
    cfg: cfg001 HUS_ESX_HBA1; HUS_ESX_HBA2; HUS_DB1_HBA1;
    HUS_DB2_HBA1
    zone: HUS_ESX_HBA1
    1,2; 1,4; 1,6
    zone: HUS_ESX_HBA2
    1,2; 1,5; 1,6
    zone: HUS_DB1_HBA1
    1,2; 1,3; 1,6
    zone: HUS_DB2_HBA1
    1,2; 1,6; 1,7

    Effective configuration:
    cfg: cfg001
    zone: HUS_ESX_HBA1
    1,2
    1,4
    1,6
    zone: HUS_ESX_HBA2
    1,2
    1,5
    1,6
    zone: HUS_DB1_HBA1
    1,2
    1,3
    1,6
    zone: HUS_DB2_HBA1
    1,2
    1,6
    1,7

  • 相关阅读:
    C/C++中的堆、栈和队列
    网卡工作状态检测
    Delphi 2007 的midas程序注册问题
    使用SQL语句备份与恢复数据库
    C/C++中的堆、栈和队列
    Delphi 2007 的midas程序注册问题
    如何使用VirtualBox的共享文件夹(转)
    如何使用VirtualBox的共享文件夹(转)
    C语言struct的使用
    printf常用格式
  • 原文地址:https://www.cnblogs.com/oskb/p/3797626.html
Copyright © 2011-2022 走看看