2 command levels, 3 command line views, 4 regular expressions – Panasonic NN46240-501 User Manual

Page 66: 2 command levels -3, 3 command line views -3, 4 regular expressions -3, Command levels, Command line views, Regular expressions

Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

Advertising
background image

Nortel Secure Router 8000 Series

Configuration Guide - Basic Configuration

3 CLI overview

OQ NOTE

The system supports commands with a maximum of 256 characters. The command can be in an
incomplete form.

The system saves an incomplete command to the configuration files in the complete form; therefore,
the command may have more than 256 characters. However, when the system is restarted, the
incomplete command cannot be restored, so note the length of incomplete commands.

3.1.2 Command levels

The system uses a hierarchical protection mode that has 16 command levels in increasing
order.

By default, the commands are registered as one of the following four levels:

Visit level: Commands of this level include commands of the network diagnosis tool

(such as ping and tracert) and commands that start from the local device and visit an

external device (including Telnet client side, SSH client side, and Rlogin).

Monitoring level: Commands of this level, including the display command and the
debugging command, are used for tasks such as system maintenance and service fault
diagnosis.

Configuration level: Commands of this level are service configuration commands that

provide direct network service to the user, including routing and network layer

commands.

Management level: Commands of this level are commands that influence the base
operation of the system and provide support to the service. They include file system
commands, File Transfer Protocol (FTP) commands, Trivial File Transfer Protocol
(TFTP) commands, Xmodem downloading commands, configuration file switching
commands, power supply control commands, backup board control commands, user

management commands, level setting commands, and system internal parameter setting

commands.

CQ NOTE

The default command level may be higher than the command level defined according to the
command rules in the application.

Logon users have the same four levels as the command levels. Logon users can use only the

commands of the levels that are equal to or lower than their own levels. For more information about
logon user levels, see Chapter 5 "User management."

3.1.3 Command line views

The system provides command line views, which correspond to command interfaces. Each
command is registered and runs only in a specific command view.

3.1.4 Regular expressions

When you output information, you can use regular expressions in commands to filter out

unnecessary content and display only the necessary content.

In the commands that support regular expressions, you can use three kinds of filtering modes
to filter the output: | { begin | exclude | include }

regular-expression.

begin: Displays information that begins with the line that matches

regular-expression.

exclude: Displays information that excludes lines that match

regular-expression.

include: Displays information that includes lines that match

regular-expression.

Issue 5.3 (30 March 2009)

Nortel Networks Inc.

3-3

Advertising