28 miscelleneous commands, 1 file commands, 1 apply – Planet Technology IP DSLAM IDL-4801 User Manual

Page 672

Advertising
background image

IDL series User Guide

672

5.28 Miscelleneous Commands

5.28.1 File Commands

5.28.1.1 Apply

Description:

Use this command to apply a configuration file stored on the system

Command Syntax:

Apply fname <file-name> [version <version>] [besteffort true|false]

Parameters:

Name

Description

fname <file-name>

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

directories. The directories are /nvram/cfg/

factorydef/, /nvram/user/, /sdram/cfg, /sdram/user.

Type: mandatory

Valid values: string of up to 128 characters: (‘A’-’Z’,

‘a’-‘z’, ‘0’-‘9’, ’-‘,’_’)

version <version>

This specifies the version of the file that needs to be

applied.

Type: Optional

Default Value: Incase of multiple version files the

active copy gets applied. Not valid for single version

file.

besteffort true|false

If the besteffort flag is false, command execution (as

specified in "file-name"file) stops immediately after a

command returns an error. If the besteffort flag is

true, command execution (as specified in

"file-name"file) continues even if a command returns

an error.

Type : Optional

Default value : false

Mode:

Super-User

Advertising
This manual is related to the following products: