BelAir20E User Guide
System Settings
April 2, 2012
Confidential
Document Number BDTM02201-A01 Standard
Example
/system# show sysuptime
System Up Time: 234 days, 16:45:32.34
Displaying the
Running
Configuration
/system/show running-configuration
This command displays the configuration that the node is currently operating
with. It executes a series of
show
commands with results displayed on the CLI
screen. Use the scroll bar of the Telnet or SSH window to see any particular
section of the output.
Restarting the
Node
/system/reboot [{force}]
/system/show restart-reason
The
reboot
command restarts the entire node. You must confirm your intent
before the node is rebooted.
Under some circumstances, a reboot may be prevented because of processing
from other user sessions. Use the
force
parameter to override these
restrictions and restart the node regardless.
The
show restart-reason
command displays the reason for the last restart.
See also
“Restarting a Card” on page 70
.
Example
/system# show restart-reason
Previous reboot was a cold restart initiated by user.
Creating and
Using Script Files
You can use script files to:
• make repetitive tasks quicker and easier to do
• automate the configuration of a node when it starts up. See
Auto-configuration” on page 58
.
To help create your scripts, follow the guidelines in
Enabling or
Disabling Session
Logging
/system/set session-logging {enable | disable}
When session logging is enabled, all commands entered during a CLI session
are recorded in a command log file. However, if you run repetitive scripts, you
may want to disable logging to avoid filling the file with the same sets of
commands.