Allied Telesis AT-8700XL User Manual

Page of 232
Software Version 2.8.1
23
Software Version 2.8.1
C613-10477-00 REV B
Example
To permanently direct all debug output from the BGP module to a file named 
bgp.txt, use the command:
cre fi=bgp.txt com="enable bgp debug=all" perm
reset file permanentredirect
Syntax
RESET FIle[=filename] PERManentredirect
Description
This new command closes one or all text files so that they no longer receive 
input from commands or scripts. After the file closes, it can be uploaded or 
edited 
Example
To reset the bgp.txt file so that it no longer receives output from the enable bgp 
debug=all
 command (previously set), use the command:
reset fi=bgp.txt perm
show file permanentredirect
Syntax
SHow FIle[=filename] PERManentredirect
Description
This new command displays information about one text file or all that are 
permanently receiving output from commands or scripts (
). 
These files are typically created to collect data during debugging.
The file parameter displays information about a specific text file (
). The 
filename option 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.
LIMIT
A decimal number from 0 to 1048 576 bytes specifying the maximum 
file size.
Default: 204 800 bytes
Parameter
Description (cont.)
Parameter
Description
FIle
Name of the text file to close. If no file is specified, all text files are 
closed. 
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