Users Guide

356 Fabric OS Administrator’s Guide
53-1002920-02
Zone creation and maintenance
12
Viewing a zone in the defined configuration
Use the following procedure to view a zone in the configuration.
1. Connect to the switch and log in using an account with admin permissions.
2. Enter the zoneShow command, using the following syntax:
zoneshow[--sort] ["pattern"] [, mode]
If no parameters are specified, the entire zone database (both the defined and effective
configuration) is displayed.
Example
The following example shows all zones beginning with A, B, or C, in ascending order:
switch:admin> zoneshow --sort "[A-C]*"
zone: Blue_zone 1,1; array1; 1,2; array2
zone: Bobs_zone 4,5; 4,6; 4,7; 4,8; 4,9
Viewing zone configuration names without case distinction
Use the following procedure to view selected zone configuration names for a given pattern without
case distinction.
1. Connect to the switch and log in using an account with admin permissions.
2. Use the zoneShow command to view configuration names.
zoneshow[--ic] ["pattern"] [, mode]
Example
The following example shows all green zones using pattern search, regardless of the case:
switch:admin> zoneshow --ic GREEN*
zone: GREEN 44,4; 21:00:00:20:37:0c:71:02; 8,9
zone: green 2,2; 2,3; 21:00:00:20:37:0c:76:8c
Examining changes in the zone database
Fabric OS allows you to check for and display any differences between the transaction buffer and
the committed database by appending the options --transdiffs and --transdiffsonly to the
zoneShow and cfgShow commands.
The options use the format in the following commands:
zoneShow –-transdiffs
zoneShow –-transdiffsonly
cfgShow --transdiffs
cfgShow –-transdiffsonly
To reflect the changes made to the zone database (a new zone is added or an existing zone is
deleted, or a zone member is added or deleted or any other valid zone database entity is modified),
the following notation is used.
An asterisk (*) at the start indicates a change in that zone, zone configuration, alias or any
other entity in the zone database.
A plus sign (+) before any entity (an alias or a zone name or a configuration) indicates that it is
a newly added entity.