User Manual

Fabric OS 5.0.0 procedures user guide 133
2. Issue the alishow command.
The following example shows all zone aliases beginning with arr.
If no parameters are specified, the entire zone database (both the defined and effective configuration) is
displayed.
Creating and maintaining zones
To create a zone:
1. Connect to the switch and log in as admin.
2. Issue the zonecreate command.
3. Issue the cfgsave command to save the change to the defined configuration.
Example:
To add devices (members) to a zone:
1. Connect to the switch and log in as admin.
2. Issue the zoneadd command.
3. Issue the cfgsave command to save the change to the defined configuration.
Example:
To remove devices (members) from a zone:
1. Connect to the switch and log in as admin.
2. Issue the zoneremove command.
3. Issue the cfgsave command to save the change to the defined configuration.
Example:
switch:admin> alishow “arr*”
alias: array1 21:00:00:20:37:0c:76:8c
alias: array2 21:00:00:20:37:0c:66:23
switch:admin> zonecreate “greenzone”, “2,32; 2,33; 2,34; 4,4”
switch:admin> zonecreate “redzone”, “21:00:00:20:37:0c:66:23; 4,3”
switch:admin> cfgsave
switch:admin> zoneadd “greenzone”, “1,2”
switch:admin> zoneadd “redzone”, “21:00:00:20:37:0c:72:51”
switch:admin> zoneadd “bluezone”, “4,6[0x02]; 21:00:00:20:37:0c:66:23[0xEF]
switch:admin> cfgsave
switch:admin> zoneremove “greenzone”, “1,2”
switch:admin> zoneremove “redzone”, “21:00:00:20:37:0c:72:51”
switch:admin> zoneremove “bluezone”, “4,6[0x02];
21:00:00:20:37:0c:66:23[0xEF]
switch:admin> cfgsave