- Enterasys Security Router User's Guide

Utilizing the Command Line Interface
XSR User’s Guide 2-25
Using the Real-Time Clock
The XSR’s Real-Time Clock (RTC) is employed by other system software modules to time-stamp
events, alarms and is useful when no network clock source is accessible. It is normally
synchronized with a master clock source over the network using the Simple Network Time
Protocol (SNTP) but can also synchronize with the battery-supported RTC chip.
For SNTP configuration, see Chapter 3: Software Configuration in the XSR Getting Started Guide.
RTC/Network Clock Options
SNTP synchronizes the RTC with a network master clock but if there is no network clock source
the RTC clock is used on its own. The RTC maintains the correct time with its battery even when
the XSR is powered down.
RTC Commands
The real-time clock can be set with the clock set command. The universal time can be viewed
with
show clock command. To set the SNTP server, use the sntp-client server command.
Refer to the XSR CLI Reference Guide for more command details.
Managing the System Configuration
The XSR’s system configuration consists of three discrete types which are described below. The
configuration can also be reset to the defaults, saved, and uploaded or downloaded in bulk.
Factory Default Configuration: These system parameters are set at the factory. If you make
configuration changes and do not save them or the startup configuration file cannot be found,
the XSR reverts to factory default parameters. You can manually reset to factory defaults on
XSR 1800 Series routers by pressing the reset button at the back of the units. XSR 3000 and
4100 Series routers are not equipped with a reset button but you can restore factory defaults
via the CLI as described in the next section.
Startup Configuration: These system settings are used as the current running configuration
when you power up or issue the
reload command. The startup configuration is stored in non-
volatile (Flash) memory as the
startup-config file. The file contains a version number
followed by a series of CLI commands. When the XSR restarts, each CLI command in this file
is read and executed.
Private Configuration: The
private-config file contains SNMP v3 related commands. When
the XSR restarts, each CLI command in this file is read and executed. The file is updated or
created when the running configuration is saved to the startup configuration.
Running Configuration: These system settings, known as
running-config, include a version
number followed by accumulated commands from
startup-config and user revisions.
Changes made to the configuration are lost if you power cycle or reboot unless you save it to
startup-config using the copy or write command.
The XSR validates commands as they are entered and rejects with an error message those
commands which are invalid.