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

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>
posted @ 2023-01-09 16:05  冰如是  阅读(227)  评论(0编辑  收藏  举报