Netgear XCM8806 - 8800 SERIES 6-SLOT CHASSIS SWITCH ユーザーズマニュアル
100
|
Chapter 4. Managing the XCM8800 Software
NETGEAR 8800 User Manual
cp test.cfg test_rev2.cfg
On a modular switch, the following command makes a copy of a configuration file named
primary.cfg from the switch to the external memory card with the same name, primary.cfg:
primary.cfg from the switch to the external memory card with the same name, primary.cfg:
cp primary.cfg memorycard
Displaying Files on the Switch
To display a list of the configuration, policy, or if configured, core dump files stored on your
switch, use the following command:
switch, use the following command:
ls {[internal-memory | memorycard]} {<file-name>}
Where the following is true:
•
internal-memory
—Lists the core dump files that are present and saved in the internal
memory card.
If the switch is not configured to save debug files or has not saved any debug files, no
files are displayed.
files are displayed.
•
memorycard
—Lists all files that are stored in the external compact flash memory card.
(This parameter is available only on modular switches.)
•
file-name
—Lists all the files that match the wildcard.
When you do not specify a parameter, this command lists all of the files stored on your
switch.
switch.
Output from this command includes the file size, date and time the file was last modified, and
the file name.
the file name.
For more information about configuring core dump files and managing the core dump files
stored on your switch, see
stored on your switch, see
.
Example
The following command displays all of the configuration and policy files stored on your
switch:
switch:
ls
The following is sample output from this command:
total 424
-rw-r--r-- 1 root root 50 Jul 30 14:19 hugh.pol
-rw-r--r-- 1 root root 94256 Jul 23 14:26 hughtest.cfg
-rw-r--r-- 1 root root 100980 Sep 23 09:16 megtest.cfg
-rw-r--r-- 1 root root 35 Jun 29 06:42 newpolicy.pol
-rw-r--r-- 1 root root 100980 Sep 23 09:17 primary.cfg
-rw-r--r-- 1 root root 94256 Jun 30 17:10 roytest.cfg
On a modular switch, the following command displays all of the configuration and policy files
stored on the external memory card:
stored on the external memory card: