Displaying The Contents Of A File - Foundry Networks NetIron M2404C User Manual

Metro access switches
Hide thumbs Also See for NetIron M2404C:
Table of Contents

Advertisement

Foundry NetIron M2404C and M2404F Metro Access Switches

Displaying the Contents of a File

The display command, in Loader, View or Privileged (Enable) mode, displays the contents of a
text file. The command must not be applied to binary files.
Command Syntax
Loader>display {[path] | [device:[path]]}file-name [dump] [START]
device-name>display {[path] | [device:[path]]}file-name [dump]
device-name#display {[path] | [device:[path]]}file-name [dump]
Argument Description
path
device:
device:path
file-name
dump
START
NOTE
Listing Files in Flash
The ls command, in Loader or Privileged (Enable) mode, lists the files in Flash memory file
system.
Command Syntax
Loader>ls
device-name#ls
Moving a File to a Different Location
The move command, in Loader or Privileged (Enable) mode, removes a file from its current
location and places it at a new location. In this, the name of the file can be optionally changed.
This command is equivalent to the mv command in all modes.
Command Syntax
Loader>move {[source path] | [source device:[path]]}file-name
{[destination path] | [destination device:[path]]}[new-file-name]
device-name#move {[source path] | [source device:[path]]}file-name
{[destination path] | [destination device:[path]]}[new-file-name]
File System
(Optional) The path to the file to be displayed. The path should end with
the name of the file.
(Optional) The device on which the file to be displayed is stored. Can only
be flash: meaning the local flash system.
(Optional) The device and the path to the file to be displayed. The path
should end with the name of the file.
The name of the file.
HEX format.
(Optional). Start offset.
Dump option is mandatory to display binary files.
© 2008 Foundry Networks, Inc.
Switch Administration (Rev. 03)
Page 33 of 87

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netiron m2404f

Table of Contents