Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

help command

The command displays system commands information.

Syntax:

help

This command displays the list of all the device’s commands. It is executed automatically, if the user types an unknown command.

system command

The command is used to review and update system parameters.

Syntax:

system [arguments]

Command arguments

  • system name [system_name]

Assigns new user name specified by system_name parameter. If the parameter is not specified, the current system name will be displayed.

Example,

Code Block
languagejava
themeDJango
system name revolution
  • system location [string_describing_system_location]

Optional character string describes the system location; used in SNMP protocol.

Example,

Code Block
languagejava
themeDJango
sys location On the Carlson’s rooftop
  • system user <user-name>

Assigns a name under which the system administrator enters the router from the console or remotely, using telnet/http.

Example,

Code Block
languagejava
themeDJango
system user root
  • system password <password>

Sets the system administrator's password.

Example,

Code Block
languagejava
themeDJango
system password qwerty
  • system gpsxy [E|W]XX.XXXXX [N|S]YY.YYYYY

Sets the geographical coordinates of the device (longitude, latitude).

Example,

Code Block
languagejava
themeDJango
system gpsxy 60.40056 56.82857
  •  system guest key-word-or-phrase

Specifies a keyword for entering a guest mode. The keyword is entered as a login, any password may be used. While in the guest mode, you cannot modify the router's configuration parameters, neither security-related parameters.

Example,

Code Block
languagejava
themeDJango
system guest for_members_only
Note
titleВНИМАНИЕ

To disable the guest mode, the command without specifying a keyword should be used:

Code Block
languagejava
themeDJango
system guest
  • system prompt any-word

Replaces the prompt on the screen with the given any-word of a maximum length of 16 characters. The resulting prompt will look as "Prompt#ttyN>".

Example,

Code Block
languagejava
themeDJango
system prompt MyHost
  • system useAAA

Instructs the unit to turn on RADIUS based authentication for accessing the management interface. To use the authentication the AAA module should be running (refer to chapter 19). Remember that the AAA authentication method has the highest priority and local login database is used only in case when the required account is not found on the RADIUS server.

If there is no local user account the management interface will be accessible with any credentials even if the AAA authentication is turned on.

  • system [no]indicators

Enables/disables LED status indicators on the unit case in order to mask the active device.

  • system [no]fastroute

Enables/disables the fast routing mode. In this mode the router becomes invisible for traceroute network tracing procedures, while still performing all routing functions. It is not recommended to enable the fast routing mode simultaneously on several devices connected to the same cable Ethernet segment, because this may produce a tempest of IP packets.

  • system uptime

Displays the duration of time elapsed since the system's last reset.

  • system OfficialAddress IP-address

Sets the IP-address which will be used as a source IP-address in all outgoing connections of the unit.

  • system version

Displays the software version.

  • system log [on|off][IP_address][-][show][clear]

Manages the system log operation. The optional IP_address parameter specifies the UNIX host where the system log is located to which messages are directed under the standard syslog protocol. The command has the following options:

    • "on" - display messages on the current console
    • "off" - stop displaying messages on the console
    • "-" - disable logging on the remote host
    • "show" - show the system log listing (the latest message displayed on the bottom line; message time for every message expressed in seconds/milliseconds back from the current time)
    • "clear" - clear the system log
    • "[no]filter" – this option removes neighboring identical lines from system log leaving only one copy of each message and counts their recurrence (enabled by default)
  • system factorypassword [single|otp]

Each unit has its unique factory access password that can be obtained via the tech-support. Once obtained this password stays the same for each factory login attempt. Setting the unit to otp mode tells it to ask for a new password each time the factory login is given (the unit will provide different sequences, that should be submitted to the tech-support in order to obtain a new password). Whenever the unit is set to single mode again, its unique factory access password is restored.

  • system icmplimit XX

This command sets the limit to the number of out coming ICMP packets per second (0 by default, no limitation applied). It helps to avoid the device reboot while network scanning programs are working. Being set to 0 all limitations are turned off.

  • system [no]sendredirects

Enables (disables) the system to send icmp redirect messages for the packets source suppression if routing is incorrectly configured.

  • system [no]dropredirects

Enables (disables) the system to send icmp redirect messages for routing tables updating if routing is incorrectly configured.

  • system cpu

Indicates current CPU load (in percent)

  • system [no]pager

Enables/disables page splits in the console output.

  • system search [seconds]

This command forces all indication to blink for the one type devices search. By default, this mode turns off after 10 seconds.

  • system serialCD [no]log [no]trap

Sets the reaction to appearance/disappearance of Carrier Detect (CD) signal on the diagnostics port (console).

      • "log" option enables this event to be written into the system log.
      • "trap" option enables SNMP-trap messages generation

The message of CD signal disappearance has an oid of 1.3.6.1.4.1.3942.0.103
The message of CD signal appearance has an oid of 1.3.6.1.4.1.3942.0.104
In order to send SNMP messages you need to run trapd service using trapd command (see trapd command).

The current remote log IP-address, if any, may be saved in the configuration file using the config save command.

set command

The command is used for time zone settings manipulations. Starting from 3.36 version of firmware. Do not support automatic summer/winter time switching.

Syntax:

  • set TZ TIMEZONE

Example,

Code Block
languagejava
themeDJango
set TZ EST+5EDT,M4.1.0/2,M10.5.0/2
set TZ EKT+5

For more details on time zones please visit:  http://en.wikipedia.org/wiki/Time_zone

config command (configuration manipulations)

This command is used to view, save, export, and import the router configuration.

Syntax:

config [show | save | clear]

config import | export login:password@host/file

  • show

Displays the current configuration of the system. Any change of the system parameters may be immediately viewed using the config show command. The optional parameter may contain a selection of WANFleX commands (abbreviated to their initial letters), as shown in the following examples; only those system parameters will then be displayed which relate to the commands selected.

Examples,

Code Block
languagejava
themeDJango
co show route rip

will display parameter configuration for route command and RIP protocols.

Code Block
languagejava
themeDJango
co show r !rip

will display parameter configuration for all commands starting with "r" except "rip".

  • save

Saves the current system configuration in the router's flash memory for subsequent permanent use. All modifications to the system parameters, if not saved by this command, are valid only during the current session (until the system reset).

  • clear

Clears (resets to default) configuration in device flash. To take effect device should be rebooted without saving the configuration.

  • export, import

Saves the router configuration on a remote server and reloads it from a remote server. The information is transferred using FTP. The name of the file to or from which the information is transferred. The file name shall be specified in full, in the format of the remote server's file system.

Example,

Code Block
languagejava
themeDJango
config export user:secret@192.168.1.1/var/conf/test.cfg


...