
5.28 Miscelleneous Commands
5.28.1File Commands
5.28.1.1Apply
Description:
Use this command to apply a configuration file stored on the system
Command Syntax:
Apply fname 
Parameters:
| 
 | Name | 
 | Description | 
| 
 | 
 | 
 | 
 | 
| 
 | 
 | 
 | This specifies the name of the configuration file (the | 
| 
 | 
 | 
 | extension of the file shall be .cfg) to be applied. The | 
| 
 | 
 | 
 | file shall contain valid CLI commands. The user shall | 
| 
 | 
 | 
 | specify the filename for files present in the system as | 
| 
 | fname  | 
 | directories. The directories are /nvram/cfg/ | 
| 
 | 
 | 
 | factorydef/, /nvram/user/, /sdram/cfg, /sdram/user. | 
| 
 | 
 | 
 | Type: mandatory | 
| 
 | 
 | 
 | Valid values: string of up to 128 characters:  | 
| 
 | 
 | 
 | |
| 
 | 
 | 
 | 
 | 
| 
 | 
 | 
 | This specifies the version of the file that needs to be | 
| 
 | 
 | 
 | applied. | 
| 
 | version <version> | 
 | Type: Optional | 
| 
 | 
 | Default Value: Incase of multiple version files the | |
| 
 | 
 | 
 | |
| 
 | 
 | 
 | active copy gets applied. Not valid for single version | 
| 
 | 
 | 
 | file. | 
| 
 | 
 | 
 | 
 | 
| 
 | 
 | 
 | If the besteffort flag is false, command execution (as | 
| 
 | 
 | 
 | specified in  | 
| 
 | 
 | 
 | command returns an error. If the besteffort flag is | 
| 
 | besteffort truefalse | 
 | true, command execution (as specified in | 
| 
 | 
 | ||
| 
 | 
 | 
 | |
| 
 | 
 | 
 | an error. | 
| 
 | 
 | 
 | Type : Optional | 
| 
 | 
 | 
 | Default value : false | 
| 
 | 
 | 
 | 
 | 
Mode:
| 672 | IDL series User Guide | 
| 
 | 
 |