APC IP DSLAM Betriebsanweisung Seite 581

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 603
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 580
573
8.28 Miscelleneous Commands
8.28.1 File Commands
8.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
Example $ apply fname /nvram/user/commands.cfg version 2
Output
The output of the command is dependent on the list of CLI commands
in commands.cfg file.
Example 1: The file commands.cfg has the following commands:
Verbose on
create atm port ifname atm-0 lowif dsl-0
Entry Created
If-Name : atm-0 LowIfName : dsl-0
MaxVccs : 2 MaxConfVccs : 4
MaxVpiBits : 3 MaxVciBits : 10
OAMSrc : 0xffffffffffffffffffffffffffffffff
Oper Status : Up Admin Status : Up
Example 2: The file commands.cfg has the following commands: create
atm port ifname atm-0 lowif dsl-0
The output would be:
Seitenansicht 580
1 2 ... 576 577 578 579 580 581 582 583 584 585 586 ... 602 603

Kommentare zu diesen Handbüchern

Keine Kommentare