This section contains a description of commands that are used to control the device in various modes
This command is used to return to the level up or exit cli if the command is executed in the global command mode.
exit
The command contains no arguments.
Return to the top level - all modes, except global.
CLI exit – global mode.
The command is used to return to the ROOT command mode.
top
The command contains no arguments.
All modes, except global.
The do command allows you to execute global level commands (ROOT) when you are at other levels of the command interface.
do <COMMAND>
<COMMAND> – global level command.
All modes, except global.
ma4000 (config)# do show firmware Firmware status: ~~~~~~~~~~~~~~~~ Unit Image Running Boot Version Date ---- ----- ------- ----------- ------------------- --------------------- 1 0 No 1 3 2 379 40889 12-Nov-2014 08:41:55 1 1 Yes * 1 3 2 380 40897 12-Nov-2014 22:58:46 2 0 Yes * 1 3 2 380 40897 12-Nov-2014 22:58:46 2 1 No 1 3 2 379 40889 12-Nov-2014 08:41:55 "*" designates that the image was selected for the next boot |
The command displays information on the command used in a current session.
show history
The command contains no arguments.
All modes.
ma4000# show history Last CLI commands: show arp show cmd-dispatcher show date show evt-dispatcher configure terminal exit show firmware show history |
Service command.
The command is used to enter text comments.
! <COMMAND>
<COMMAND> – text comment
All modes.
ma4000#! hello |
This command restarts the device components or the whole device.
reboot <OBJECT>
<OBJECT> – object to reboot:
ROOT
ma4000# reboot system |
Crate reboot.
The command allows you to switch to the device parameters configuration mode.
configure terminal
The command contains no arguments.
ROOT
ma4000# configure terminal ma4000(config)# |
Enter the device parameters configuration mode.
This command allows you to check the availability of the node by exchanging ICMP messages.
ping <IPADDRESS>
<IPADDRESS> – remote device IP address.
ROOT
ma4000# load-1-3-2-3# ping 192.168.16.100 PING 192.168.16.100 (192.168.16.100): 56 data bytes 64 bytes from 192.168.16.100: seq=0 ttl=127 time=0.307 ms 64 bytes from 192.168.16.100: seq=1 ttl=127 time=0.333 ms 64 bytes from 192.168.16.100: seq=2 ttl=127 time=0.214 ms --- 192.168.16.100 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.214/0.284/0.333 ms |
This command allows you to view the data path to the remote node.
traceroute <IPADDRESS>
<IPADDRESS> – remote device IP address.
ROOT
ma4000# traceroute 192.168.16.100 ma4000# traceroute to 192.168.16.100 (192.168.16.100), 30 hops max, 38 byte packets 1 192.168.199.2 (192.168.199.2) 0.307 ms 0.197 ms 0.191 ms 2 192.168.16.100 (192.168.16.100) 0.224 ms 0.347 ms 0.329 ms |