Brocade Fabric OS Command Reference (Supporting Fabric OS v7.3.0) User Manual

Page 142

Advertising
background image

112

Fabric OS Command Reference

53-1003131-01

cfgShow

2

"pattern"

A regular expression that matches zone configuration names. The pattern must
be enclosed in quotation marks and can contain the following:

Question mark (?)

Matches any single character

Asterisk (*)

Matches any string of characters.

Range

Matches any character within the range. Ranges must be enclosed in square
brackets, for example, [0-9] or [a-f].

mode

Specify 0 to display the contents of the transaction buffer (the contents of the
current transaction) or specify 1 to display the contents of nonvolatile memory.
The default value is 0.

--transdiffs

Displays changes in the current transaction.

--transdiffsonly

Displays only the changes in the current transaction.

EXAMPLES

To display all zone configurations that start with "Test":

switch:admin> cfgshow "Test*"

cfg: Test1 Blue_zone

cfg: Test_cfg Red_zone; Blue_zone

To display all zone configurations that start with "Test", regardless of the case:

switch:admin> cfgshow -ic "Test*"

cfg: Test1 Blue_zone

cfg: TEST2_cfg Red_zone; Blue_zone

To display all zone configuration information:

switch:admin> cfgshow

Defined configuration:

cfg: USA1 Blue_zone

cfg: USA_cfg Red_zone; Blue_zone

zone: Blue_zone

1,1; array1; 1,2; array2

zone: Red_zone

1,0; loop1

alias: array1 21:00:00:20:37:0c:76:8c; \

21:00:00:20:37:0c:71:02

alias: array2 21:00:00:20:37:0c:76:22; \

21:00:00:20:37:0c:76:28

alias: loop1 21:00:00:20:37:0c:76:85; \

21:00:00:20:37:0c:71:df

Effective configuration:

cfg: USA_cfg

zone: Blue_zone

1,1

21:00:00:20:37:0c:76:8c

21:00:00:20:37:0c:71:02

1,2

21:00:00:20:37:0c:76:22

Advertising