Supervision mode command directory
Use this command “boot flash” under
supervision mode can manually be enabled from the designated file
boot flash filename
parameter:
filename:the designated file name
default:
none
command mode:
Supervision mode
Explanation:
After the user joins into
supervision mode, uses command “boot flash” to enable the device.
example:
monitor#boot flash
router.bin
relevant commands:
dir
download c0 router.bin
Use command “cd” can change the
current directory under supervision mode.。
cd
directory|..
parameter:
Directory |
Directory name (maximum 20 characters) |
.. |
Upper directory |
default:
none
command mode:
supervisor mode
Explanation:
none
example:
monitor#cd my_dir
relevant commands:
pwd
Use command “chram” can modify the
memory data.
chram mem_addr value
parameter:
mem_addr |
Hex memory address, ranged from 0 to 0x01FFFF00 |
value |
Hex memory data |
default:
none
command mode:
supervisor mode
Explanation:
Debug command, not recommended.
example:
none
relevant commands:
none
Use command
“copy” can read file to the router from tftp server.
copy tftp<:filename>
flash <:filename> [ip_addr]
parameter:
tftp<:filename> |
Means to read the file from tftpserver. “filename” designates the corresponding file name, if not designated, after the command “copy” is executed, it will prompt the user to input the file name. |
flash <:filename> |
Means to write file into router flash. “filename” designates the corresponding file name, if not designated, after the execution of command “copy”, it will prompt the user to input the file name. |
ip_addr |
The IP address of Tftp server. If not designated, after the execution of command “copy”, it will prompt the user to input. |
default:
none
command mode:
supervisor mode
Explanation:
none
example:
monitor#copy
tftp:router.bin flash:router.bin 192.2.2.1
It will copy the file router.bin in
the tftpserver to router flash.
relevant commands:
none
Use command “date” can modify the
system absolute time.
parameter:
none
default:
none
command mode:
supervisor mode
Explanation:
Use command “date” can modify the
system absolute time, even after the electrical power is off, this clock will
be powered by the battery, if the time is not correct, you need to change the
battery.
example:
config#date
The current date is 2000-7-27
21:17:24
Enter the new
date(yyyy-mm-dd):2000-7-27
Enter the new
time(hh:mm:ss):21:17:00
relevant commands:
none
Use command “delete” to delete a
file.
delete file-name
parameter:
file-name |
File name (maximum 20 characters) |
default:
If the file name is not input,
delete file “startup-config” by default.
command mode:
supervisor mode
Explanation:
none
relevant commands:
none
Use command “dir” to display the
file and directory name.
dir file-name
parameter:
file-name |
File name (maximum 20 characters) |
default:
none
command mode:
supervisor mode
Explanation:
none
relevant commands:
none
Use this command “download c0”
under supervision mode can download the files from console interface.
download c0 filename
parameter:
filename : Local
file name
default:
none
command mode:
supervisor mode
Explanation:
Use this command to download the
files by Asynchronous communication protocol ZMODEM
example:
monitor#download c0
router.bin
Prompt:speed[9600]?115200
Then, modify the rate to 115200, after
reconnection, select the send file entry in the transmit menu of super terminal
(terminal imitation).
After the transmission of the
file, it will prompt the following information:
ZMODEM:successfully receive
36 blocks ,18370 bytes
relevant commands:
Use this command “ip address” under
supervision mode to designate the IP address of the Ethernet interface.
ip address ip-address mask
parameter:
ip-address: IP address;
mask IP : Network mask;
default:
The IP address of Ethernet interface
is 192.168.0.1 by default, the mask is 255.255.255.0
command mode:
supervisor mode
Explanation:
none
example:
monitor#ip address
192.168.1.1 255.255.255.0
relevant commands:
ip route
ping
Use this
command “ip route” to designate the default gateway under
supervision mode.
ip route default gw_ip_addr
parameter:
gw_ip_addr: Default gateway
address
default:
none
command mode:
supervisor mode
Explanation:
none
example:
monitor#ip route default
192.168.1.3
relevant commands:
ip address
Use command “md” to create a
directory.
md directory
parameter:
Directory |
Directory name (maximum 20 characters) |
default:
none
command mode:
supervisor mode
Explanation:
none
relevant commands:
none
Use command “more” to display the
file content.
more file-name
parameter:
file-name |
File name (maximum 20 characters) |
default:
none
command mode:
supervisor mode
Explanation:
If the file completely consists of
displayable characters, and displayed with ASCII code mode, or it will be
displayed with binary mode.
relevant commands:
none
Use command “nopassword” to clear
the “enable” password configuration in the “startup-config” file.
parameter:
none
default:
none
command mode:
supervisor mode
Explanation:
If the user forgets the
“routerenable” password, he/she can use “nopasswd” to clear the “enable”
password configuration in “startup-config” file under supervision mode.
relevant commands:
none
Use this command to test the
availability of the host and the connectivity of the network under supervision
mode. It is achieved by sending ICMP to the recipient to respond to the request
packets, and then waits for ICMP of the recipient to respond to the response
packets.
ping ip-address
parameter:
ip-address: Destination IP address;;
default:
none
command mode:
supervisor mode
Explanation:
This command sends 4 48bit data
packets to the destination host, waits for 2 seconds, and expires if you still
cannot receive the response packets.
example:
monitor#ping 192.168.0.100
Reply from 192.168.0.100 :
data=48, time=10ms, ttl=128
Reply from 192.168.0.100 :
data=48, time=10ms, ttl=128
Reply from 192.168.0.100 :
data=48, time=10ms, ttl=128
Reply from 192.168.0.100 :
data=48, time=10ms, ttl=128
4 packets sent, 4 packets
received
round-trip min/avg/max =
0/2/10 ms
relevant commands:
ip address
Use command “pwd” to display the
current directory.
parameter:
none
default:
none
command mode:
supervisor mode
Explanation:
none
relevant commands:
none
Use command “rd” to delete a
directory.
rd directory
parameter:
Directory |
Directory name (maximum 20 characters) |
default:
none
command mode:
supervisor mode
Explanation:
If this directory is not empty, it
prompts. If this directory does not exist, it also prompts that this directory
does not exist.
relevant commands:
none
Use command “rename” to modify the
file name.
rename old_file_name new_file_name
parameter:
old_file_name |
The original file name |
new_file_name |
The new file name |
default:
none
command mode:
supervisor mode
Explanation:
none
relevant commands:
none
Use command “reboot” to reboot the
router
parameter:
none
default:
none
command mode:
supervisor mode
Explanation:
none
relevant commands:
none
This command is used to upload to
the host from the system flash by serial communication “”protocolzmodem”.
upload c0 filename
parameter:
filename: The file name in local flash
default:
none
command mode:
supervisor mode
Explanation:
none
example:
After the user inputs the command,
the system will prompt the user to input the interface rate.
Router#upload c0 router.bin
Prompt:speed[9600]?115200
Then, modify the rate to 115200,
after reconnection, select the “receive file” entry in the receive menu of the
super terminal (terminal imitation)
After the transmission of the
file, it will prompt the following information:
Zmodem send process
completed.
relevant commands:
none