Displaying The Contents Of A File - Foundry Networks Switch and Router Installation And Configuration Manual

Switch and router
Table of Contents

Advertisement

01/01/2000
00:00a
01/01/2000
00:00a
01/01/2000
00:00a
01/01/2000
00:00a
01/01/2000
00:00a
6 File(s)
The command in this example lists all the image files on the flash card in the slot that has the management focus.
(More specifically, the command lists all the files that end with ".bin".)

Displaying the Contents of a File

Use the following method to display the data in a file on a flash card.
USING THE CLI
To display the contents of a file, enter a command such as the following:
BigIron# more cfg.cfg
ver 06.5.00T51
module 1 bi-4-port-gig-m4-management-module
module 2 bi-24-port-copper-module
module 3 bi-4-port-gig-m4-management-module
module 4 bi-4-port-gig-m4-management-module
!
!
!
!
m2 active-management 3
ip address 192.168.2.58 255.255.255.0
end
Syntax: more [slot1 | slot2] <file-name>
This example shows the contents of a simple configuration file.
NOTE: The syntax for the m2 active-management command is changed to active-management. This example
is from a software release before the change.
Display a Hexadecimal Dump of the Data in a File
Use the following method to display the data in a file in hexadecimal format.
USING THE CLI
To display the data in a file in hexadecimal format, enter a command such as the following:
BigIron# hd cfg.cfg
00000000: 76657220 30362e35 2e303054 35310a6d
00000010: 6f64756c 65203120 62692d34 2d706f72
00000020: 742d6769 672d6d34 2d6d616e 6167656d
00000030: 656e742d 6d6f6475 6c650a6d 6f64756c
00000040: 65203220 62692d32 342d706f 72742d63
00000050: 6f707065 722d6d6f 64756c65 0a6d6f64
00000060: 756c6520 33206269 2d342d70 6f72742d
00000070: 6769672d 6d342d6d 616e6167 656d656e
00000080: 742d6d6f 64756c65 0a6d6f64 756c6520
00000090: 34206269 2d342d70 6f72742d 6769672d
000000a0: 6d342d6d 616e6167 656d656e 742d6d6f
000000b0: 64756c65 0a210a21 0a210a21 0a6d3220
000000c0: 61637469 76652d6d 616e6167 656d656e
December 2000
2157693
M4R.BIN
1027230
M5.BIN
1029838
M4S.BIN
687026
P3R.BIN
1029838
MM.BIN
6617560 bytes
74180608 bytes free
Using Redundant Management Modules
ver 06.5.00T51 m
odule 1 bi-4-por
t-gig-m4-managem
ent-module modul
e 2 bi-24-port-c
opper-module mod
ule 3 bi-4-port-
gig-m4-managemen
t-module module
4 bi-4-port-gig-
m4-management-mo
dule ! ! ! ! m2
active-managemen
5 - 23

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents