Cfgdelete, Cfgremove, Cfgshow – StorageTek StorageNet 4000 User Manual

Page 30: Cfgdelete -4, Cfgremove -4, Cfgshow -4, Figure 4-8, Cfgdelete command -4, Figure 4-9, Cfgremove command -4

Advertising
background image

Zone Configuration Commands

4-4

8946121502

cfgDelete

Figure 4-8

shows the cfgDelete command. This command deletes an existing zone

configuration.

Figure 4-8 cfgDelete Command

cfgRemove

Figure 4-9

shows the cfgRemove command. This command removes one or more

cfg_members from an existing zone configuration.

Figure 4-9 cfgRemove Command

The members removed are found by an exact string match when removing multiple members
order is important. If this command results in all members being removed, the zone
configuration is deleted.

cfgShow

Figure 4-10

shows the cfgShow command. This command prints the specified zone

configuration definition if a parameter is given (otherwise all zone configuration information is
printed).

Figure 4-10 cfgShow Command

admin> cfgDelete “USA_cfg”

value = 0 = 0x0

admin> cfgRemove “USA_cfg”, “Green_zone”

value = 0 = 0x0

admin> cfgShow

Defined configuration:

cfg: USA_cfg Red_zone; Blue_zone; Green_zone

zone: Blue_zone

0,1; array1; 0,2; array2

zone: Red_zone

0,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

0,1

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

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

0,2

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

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

zone: Red_zone

0,0

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

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

value = 1 = 0x1

Advertising