Allied Telesis AT-8600, RAPIER I, X900-48FE, AT-8900, AT-8700XL File System Enhancement, Add file

Models: AT-9900 AT-8700XL AT-9800 AT-8600 RAPIER I AT-8800 AT-8900 X900-48FE

1 232
Download 232 pages 5.78 Kb
Page 21
Image 21

Software Version 2.8.1

21

File System Enhancement

This Software Version gives you 4 new commands for working with files.

Command Changes

The following table summarises the new commands:

Command

Change

 

 

add file

New command

 

 

create file

New command

 

 

reset file permanentredirect

New command

 

 

show file permanentredirect

New command

 

 

Command Reference Updates

This section describes each new command.

add file

Syntax ADD FIle=filename [COMmand=commandstring]

[SCRipt=scriptname] [PERManentredirect] [LIMIT=limit]

Description This new command takes output from a specific command or script and adds it to a text file when you next issue that command or script. This is useful for collecting debug output. If a file does not exist, one is created. While output is being redirected, the text file cannot be edited, renamed, deleted, or uploaded.

Parameter

Description

 

 

FIle

Name of the text file where you want to send output. One is created

 

if it does not already exist.The filename is in the format

 

[device:]filename.txt and can be:

 

uppercase and lowercase letters

 

digits

 

# $ % & ! ' ( ) + , - . ; = @ [ ] ^ _ ` { } ~ and space

 

device indicates the physical location where the file is stored. The

 

default is flash.

 

Default: no default

 

 

COMmand

Command whose output is used to generate the text when it is next

 

issued. Commandstring is the command syntax enclosed in quotes.

 

Command and script are mutually exclusive.

 

 

SCRipt

Script whose output is used to generate the text when it is next issued.

 

The script is treated as a simple list of commands. Flow control

statements are not accepted to ensure that the extra text the script produces is not in the output file. Scriptname has the same format as filename except it must have either a .cfg or .scp extension.

Command and script are mutually exclusive.

Software Version 2.8.1 C613-10477-00 REV B

Page 21
Image 21
Allied Telesis AT-8600, RAPIER I, X900-48FE, AT-8900, AT-8700XL, AT-9900, AT-9800, AT-8800 File System Enhancement, Add file