Q-Logic 59226-00 B Manuel D’Utilisation

Page de 278
A – Command Line Interface
Working with Switch Configurations
59226-00 B
A-3
A
A.3.1
Modifying a Configuration
 A switch supports up to 10 configurations including the default configuration. 
Each switch configuration contains switch, port, port threshold alarm, and zoning 
configuration components.
The Show Switch command displays the name of the active configuration. A 
configuration name can have up to 31 characters excluding the pound symbol (#), 
semicolon (;), and comma (,). By editing the latest configuration and saving the 
results under a new name, you can create a history of configuration changes. Use 
the Config List command to display the names of the configurations stored on the 
switch
SANbox #> config list
  Current list of configurations
  ------------------------------
  default
  config_10132003
To modify a switch configuration you must open an Admin session with the Admin 
Start command. An Admin session prevents other accounts from making changes 
at the same time either through Telnet or SANsurfer Switch Manager. You must 
also open a Config Edit session with 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:
SANbox #> admin start
SANbox (admin) #> config edit default
   The config named default is being edited.
SANbox (admin-config)#> set config port . . .
SANbox (admin-config)#> set config switch . . .
SANbox (admin-config)#> set config threshold . . .
SANbox (admin-config)#> set config zoning . . .