Table of Contents

Brocade Fabric OS CLI Commands

Brocade Fabric OS Zoning Configuration Examples



Commands

Check Zone

Operation Command Complement
cfgshow
zoneshow

Setting Zone

Operation Command Complement
zonecreate "ZoneName","DomainID,Port" zonecreate "TEST_Zone","1,0;1,1"
zonedelete "ZoneName" zonedelete "TEST_zone"
zoneadd "ZoneName","DomainID,Port" zoneadd "TEST_zone","1,5"
zoneremove "ZoneName","DomainID,Port" zoneremove "TEST_Zone","1,1"

Setting Zone Config

Operation Command Complement
create zone configuration cfgcreate "ConfigName","ZoneName"
cfgcreate "ConfigName","ZoneName1;ZoneName2"
add zone configuration cfgadd "ConfigName","ZoneName"
cfgadd "ConfigName","ZoneName1;ZoneName2"
cfgadd "tes_fcsw1_cfg","TEST_Zone"
remove zone configuration cfgremove "ConfigName","ZoneName" cfgremove "test_fcsw1_cfg","TEST_Zone"
enable zone configruration cfgenable "ConfigName" cfgenable test01sw_cfg
delete all zone configurations cfgdelete "ConfigName" cfgdelete test01sw_cfg
cfgsave

Example

Adding new Zone

# zonecreate "TEST_Zone","1,0;1,1;1,2"
# cfgadd "testfcsw1_cfg","TEST_Zone"
# cfgsave
# cfgenable testfcsw1_cfg

Deleting existing Zone

# cfgremove "testfcsw1_cfg","TEST_Zone"
# zonedelete "TEST_Zone"
# cfgsave
# cfgenable testfcsw1_cfg


Adding new port to existing zone

# zoneadd "TEST_Zone","1,3"
# cfgsave
# cfgenable testfcsw1_cfg

Deleting port from existing zone

# zoneremove "TEST_Zone","1,3"
# cfgsave
# cfgenable testfcsw1_cfg

rename Zone Name

zoneshow
zoneObjectRename "OLD_Zone", "NEW_Zone" 
zoneshow
cfgsave
cfgenable fcsw1_cfg






Brocade Fabric OS CLI Commands