首页 > 其他分享 >向已有光交换的zone配置文件中添加新zone

向已有光交换的zone配置文件中添加新zone

时间:2023-01-09 16:25:51浏览次数:34  
标签:zoneTest zone 配置文件 admin zoneVT fcsw01 添加 configuration

Fabric OS (fcsw01)
Fabos Version 5.3.2c                   
fcsw01 login: admin
Password:
fcsw01:admin>
fcsw01:admin> zoneshow
Defined configuration:
 cfg:   zoneVTconf
                zoneVT
 zone:  zoneVT  1,2; 1,3 Effective configuration:
 no configuration in effect fcsw01:admin> zoneadd "zoneTest","1,8;1,9"
"zoneTest" not found
fcsw01:admin> zonecreate "zoneTest","1,8;1,9"
fcsw01:admin> zoneshow
Defined configuration:
 cfg:   zoneVTconf
                zoneVT
 zone:  zoneTest
                1,8; 1,9
 zone:  zoneVT  1,2; 1,3 Effective configuration:
 no configuration in effect fcsw01:admin> cfgcreate "zoneVTconf","zoneVT;zoneTest"
"zoneVTconf" duplicate name
fcsw01:admin> help |grep cfg
agtcfgdefault              Reset SNMP agent to factory default
auditcfg                   Modifies and displays audit log filter
cfgactvshow                Display Effective zone configuration information
cfgadd                     Add a member to a configuration
cfgclear                   Clear all zone configurations
cfgcreate                  Create a zone configuration
cfgdelete                  Delete a zone configuration
cfgdisable                 Disable a zone configuration
cfgenable                  Enable a zone configuration
cfgremove                  Remove a member from a configuration
cfgsave                    Save zone configurations in flash
cfgshow                    Print zone configuration information
cfgsize                    Print size details of zone database
cfgtransabort              Abort zone configuration transaction
cfgtransshow               Print zone configurations in transaction buffer
fastwritecfg               Configure FC fastwrite feature
fddcfg                     fddcfg manages the fabric data distribution
fwfrucfg                   Configure FRU state and notification
fwmailcfg                  Configure Fabric Watch Email Alert
httpcfgshow                Used to show the version of the Java plug-in used
passwdcfg                  passwdcfg manages the password policies.
perfcfgclear               Clear Performance settings from FLASH
perfcfgrestore             Restore Performance configuration from FLASH
perfcfgsave                Save Performance configuration to FLASH
portcfg                    Create/Delete a new ip interface/route/arp entry on
portcfgdefault             Restore the port configuration to defaults
portcfgeport               Enable/Disable a port from becoming E_Port
portcfgexport              Sets a port to be an EX_Port and sets and displays
portcfggport               Lock a port as a G_Port
portcfgislmode             Configure a port to be ISL R_RDY Mode
portcfglongdistance        Configure a Long Distance Port
portcfglport               Lock a port as a L_Port
portcfgnpivport            Enables and disables NPIV functionality on a port.
portcfgnport               Enable/disable N_Port capability for a port
portcfgpersistentdisable   Persistently disable a port
portcfgpersistentenable    Enable a persistently disabled port
portcfgshow                Displays port configuration settings.
portcfgspeed               Configure a port to a particular speed level
portcfgtrunkport           Configure a port for trunking
portcfgvexport             Sets a port to be an VEX_Port connected to FC-IP
supportshowcfgdisable      Disables a group of commands under supportshow
supportshowcfgenable       Enables a group of commands under supportshow
supportshowcfgshow         Displays the groups of commands enabled for
switchcfgpersistentdisable Persistently disable a switch
switchcfgpersistentenable  Enable a persistently disabled switch
switchcfgspeed             Configures all ports of the switch to a particular
switchcfgtrunk             Configure all ports on the switch for trunking
fcsw01:admin> cfgadd "zoneVTconf","zoneVT;zoneTest"
fcsw01:admin> cfgshow
Defined configuration:
 cfg:   zoneVTconf
                zoneVT; zoneTest
 zone:  zoneTest
                1,8; 1,9
 zone:  zoneVT  1,2; 1,3 Effective configuration:
 no configuration in effect fcsw01:admin> cfgenable zoneVTconf
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 'zoneVTconf' configuration  (yes, y, no, n): [no] y
zone config "zoneVTconf" is in effect
Updating flash ...
fcsw01:admin> cfgshow
Defined configuration:
 cfg:   zoneVTconf
                zoneVT; zoneTest
 zone:  zoneTest
                1,8; 1,9
 zone:  zoneVT  1,2; 1,3 Effective configuration:
 cfg:   zoneVTconf
 zone:  zoneTest
                1,8
                1,9
 zone:  zoneVT  1,2
                1,3 fcsw01: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] y
Nothing changed: nothing to save, returning ...
fcsw01:admin>

标签:zoneTest,zone,配置文件,admin,zoneVT,fcsw01,添加,configuration
From: https://www.cnblogs.com/rsrzrcj/p/17037348.html

相关文章

  • [VueJsDev] 日志 - nginxConfig 配置文件备份
    [VueJsDev]目录列表https://www.cnblogs.com/pengchenggang/p/17037320.htmlnginxConfig配置文件备份:::details目录目录nginxConfig配置文件备份Step.1:服务器......
  • 【Python】使用os模块设置工作路径和添加环境变量
    查看和设置工作路径importosprint(os.getcwd())#显示当前路径os.chdir('./example/path')#更改路径,''里面为更改的路径print(os.getcwd())#显示当前路径......
  • busybox添加和删除路由
    busybox添加路由的语法和一般linux和windows不一样添加routeadd-net221.130.33.60netmask255.255.255.255gw10.65.208.10//流量转发到网关、指定iproutead......
  • Cesium在球上添加图片(四个坐标点)
    需求需要在Cesium上添加图片,格式为png这类纯图片文件,端点坐标是四个。不能用SingleTileImageryProvider添加,因为SingleTileImageryProvider只支持Rectangle范围,即只能设置......
  • java的读取和写入properties配置文件
    本文主要讲述java读取和写入properties文件操作一.介绍Properties类  Properties用于读取和写入Xx.properties文件,获取k-v二.Properties类的读取和写入Propertie......
  • 新建Module_Module服务被调用_配置文件的属性被使用
    一、新建Module  二、Module服务被调用新建META-INF/spring.factoriesorg.springframework.boot.autoconfigure.EnableAutoConfiguration=\com.galileotime......
  • VS Studio报该项目不知道如何运行配置文件
    新建一个C#控制台项目后运行helloworld报错  解决办法:我的问题是VS新建项目的时候有两个控制台应用,需要选择下边的那个就可以了 ......
  • springboot的配置文件
    springboot为了简化spring,是一个用于方便使用spring的工具今天,这里分享springboot的配置文件一、分类springboot的配置文件有3种,分别以properties,yml,yaml后缀名结......
  • mysql5.7配置文件
    [client]port =3306socket =/data/mysql/mysql.sock[mysql]prompt="\u@mysqldb\R:\m:\s[\d]>"no-auto-rehash[mysqld]server-id={{server_id}}gtid-mode=onenforce......
  • 基于springboot项目加载配置文件优先级
    对于基于springboot项目,其加载配置文件有如下4中方式;1.配置文件位于jar包classes中2.配置文件位于jar同级目录3.配置文件位于jar包同级目录的config目录中4.在运行jar命令......