82 Basic
System
Management
Command
Purpose
Step 1
Execute the first command
Step 2
node
#<Ctrl-Z>
Suspend the active command and get system
prompt back
Step 3
Execute the second command
Step 4
node
#jobs
Shows the currently running commands
Step 5
node
#fg
jobid
Brings job with
jobid
back to foreground
Step 6
node
#<Ctrl-C>
Terminates the currently running command
Example: Controlling Command Execution
The following example shows how to suspend an active command, list the running commands,
switch back a suspended command and terminate a currently active command on your device, if you
start from the configuration mode.
SN>
ping 172.16.36.80 1000 timeout 3
Sending 1000 ICMP echo requests to 172.16.36.80, timeout is 3
seconds:
Reply from 172.16.36.80: Time <10ms
Reply from 172.16.36.80: Time <10ms
Reply from 172.16.36.80: Time <10ms
Reply from 172.16.36.80: Time <10ms
Ctrl-Z
suspend active command
% Suspended
System prompt reappears and is ready to execute further commands
SN>
show ip interface
------------------------------------------------------------
Context:
router
…
Show the currently running commands
SN>
jobs
* [run ] jobs
0 [bg
] ping
Bring job 0 to foreground
SN>
fg
% Resumed [ping]
Reply from 172.16.36.80: Time <10ms
Reply from 172.16.36.80: Time <10ms
Ctrl-C
Terminate current command
Software Configuration Guide Release 2.10, Revision 1.00
% Aborted (ping)
Summary of Contents for SmartWare Release 2.10
Page 2: ...2 Legal Notice Software Configuration Guide Release 2 10 Revision 1 00...
Page 15: ...Terms and Definitions 15 Software Configuration Guide Release 2 10 Revision 1 00...
Page 218: ...218 PPP Configuration no shutdown Software Configuration Guide Release 2 10 Revision 1 00...
Page 272: ...272 Tone Configuration Software Configuration Guide Release 2 10 Revision 1 00...