HP StorageWorks 8/20q Fibre Channel Switch Command Line Interface Guide 45
Modifying a switch configuration
To modify a switch configuration, open an Admin session with the admin start command. The Admin
session prevents other accounts from making changes at the same time through Telnet, Simple SAN
Connection Manager, or any other management application. To open a Config Edit session, enter the
config edit command and indicate which configuration you want to modify. If you do not specify a
configuration name, the active configuration is assumed.
The Config Edit session provides access to the set config commands with which you make
modifications to the port, switch, port threshold alarm, or zoning configuration components, as shown in
the following example:
8/20q FC Switch #> admin start
8/20q FC Switch (admin) #> config edit
The config named default is being edited.
8/20q FC Switch (admin-config)#> set config port . . .
8/20q FC Switch (admin-config)#> set config switch . . .
8/20q FC Switch (admin-config)#> set config security . . .
8/20q FC Switch (admin-config)#> set config threshold . . .
8/20q FC Switch (admin-config)#> set config zoning . . .
The config save command saves the changes you made during the Config Edit session. In this case,
changes to the configuration named Default are being saved to a new configuration named
config_10132003. However, the new configuration does not take effect until you activate it with the
config activate command:
8/20q FC Switch (admin-config)#> config save config_10132003
8/20q FC Switch (admin)#> config activate config_10132003
8/20q FC Switch (admin)#> admin end
The admin end command releases the Admin session for other administrators when you are finished
making changes to the switch. To make temporary changes to the switch administrative state, enter the
set switch state command.
The following is an example of the set config switch command. See Table 36 for descriptions of the
switch configuration parameters.
8/20q FC Switch #> admin start
8/20q FC Switch (admin) #> config edit
8/20q FC Switch (admin-config) #> set config switch
A list of attributes with formatting and default values will follow.
Enter a new value or simply press the ENTER key to accept the current value.
If you wish to terminate this process before reaching the end of the list
press 'q' or 'Q' and the ENTER key to do so.
AdminState (1=Online, 2=Offline, 3=Diagnostics) [Online ]
BroadcastEnabled (True / False) [True ]
InbandEnabled (True / False) [True ]
FDMIEnabled (True / False) [True ]
FDMIEntries (decimal value, 0-1000) [1000 ]
DefaultDomainID (decimal value, 1-239) [2 ]
DomainIDLock (True / False) [False ]
SymbolicName (string, max=32 chars) [8/20q FC Switch]
R_A_TOV (decimal value, 100-100000 msec) [10000 ]
E_D_TOV (decimal value, 10-20000 msec) [2000 ]
PrincipalPriority (decimal value, 1-255) [254 ]
ConfigDescription (string, max=64 chars) [Default Config]