HP MSR2000/3000/4000 Router Series Fundamentals Command Reference
140
2. Compress the file system.bin.
<Sysname> gzip system.bin
3. Verify the compress operation.
<Sysname> dir system.*
Directory of cfa0:
1 -rw- 20 Jun 14 2012 10:18:53 system.bin.gz
472972 KB total (472840 KB free)
mkdir
Use mkdir to create a folder in the current directory.
Syntax
mkdir directory
Views
User view
Predefined user roles
network-admin
Parameters
directory: Specifies the name of a folder.
Usage guidelines
The name of the folder to be created must be unique in the specified directory.
To use this command to create a folder, the specified directory must exist. For example, to create the
cfa0:/test/mytest folder, the test folder must exist. Otherwise, the mytest folder is not created.
Examples
# Create the test folder in the current directory.
<Sysname> mkdir test
Creating directory cfa0:/test... Done.
# Create the test/subtest folder in the current directory.
<Sysname> mkdir test/subtest
Creating directory cfa0:/test/subtest... Done.
# On an MSR4000, create the test folder on the standby MPU (in slot 1).
<Sysname> mkdir slot1# cfa0:/test
Creating directory slot1# cfa0:/test... Done.
more
Use more to display the contents of a text file.
Syntax
more file-url
Views
User view