DuraMAR 2150 – User’s Manual
As another example, the following commands:
HSDPA-rt(config)#
route 192.168.10.0 255.255.255.0 via 10.11.3.1
HSDPA-rt(config)#
no route 192.168.10.0 255.255.255.0
will first set up a static route and then remove it.
Using commands history
The CLI stores a history of commands that you have entered. This feature is particularly useful for recalling
long or complex command or entry strings. In order to recall commands from the command history buffer,
use the up and down arrows keys. The history is
not preserved
across CLI sessions.
Configuration files
The configuration file looks like a plain text file that contains the commands used to define the functionality of
the system. The commands included in the configuration file are executed automatically when the system is
powered-on or when the user enters a command from the CLI in Configuration Mode.
There are two different types of configuration files:
•
a start-up configuration file that is used during system start-up to configure the controller and that is
stored in a non-volatile memory
•
a running configuration file that contains the current active configuration
These two configuration files can be different. Configuration changes persist across CLI sessions, but will not
be recorded in the start-up configuration file and will be lost as soon as the system is rebooted or switched
off. To preserve the changes the user must save the running configuration on the system non-volatile
memory using the
copy running
command while in User mode.
The user can also save the running configuration to a file using the
copy running
file_name
command
and reload it later using the
copy
file_name
running
command.
The user can switch between different configuration files using the
copy
file_name
startup
command.
The complete syntax of the copy command is the following:
copy running
Copies current running configuration to the start-up configuration file
Loads the current start-up configuration file on to the current running configuration
copy startup
Copies the current running configuration file to the specified file
copy running
file_name
Copies the specified configuration file on to the current running configuration
copy
file_name running
Copies the specified configuration file on to the start-up configuration file
copy
file_name startup
The contents of the running or the start-up configuration file can be examined by issuing the
show running
and
show startup
commands, respectively.
18