1 introduction, 2 configuring the command line view – Panasonic NN46240-501 User Manual

Page 67

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

Advertising
background image

3 CLI overview

Nortel Secure Router 8000 Series

Configuration Guide - Basic Configuration

You can also specify the filtering mode when the information is displayed on the screen. If a
large amount of information is output and displayed on the screen, you can specify the

filtering mode in the prompt — More —.

/regular-expression:

Displays information that begins with the line that matches

regular

expression.

-regular-expression:

Displays information that excludes lines that match

regular

expression.

+regular-expression:

Displays information that includes lines that match

regular

expression.

A

Regular expressions are used to filter the output. When using the metacharacter {}, if the
number of matching times exceeds the scope specified in {}, the matching times out and the

information cannot be displayed normally.

The system provides display commands for displaying the system status. When you display

the system status, you can add the regular expressions | { begin | exclude | include }

regular-expression

to the specified commands to filter the information.

begin

regular-expression:

Displays information that begins with the line that matches

regular-expression

.

exclude

text:

Displays information that excludes lines that match

regular-expression.

include

text:

Displays information that includes lines that match

regular-expression.

3.2 Configuring the command line view

# Establish a connection with the router. If the router uses the default configuration, you can

enter the user view with the prompt

< N o r t e i >

.

# Type system-view to enter the system view.

< N o r t e l >

system-view

[ N o r t e l ]

# Type aaa in the system view to enter the AAA view.

[ N o r t e l ]

aaa

[ N o r t e l - a a a ]

CQ NOTE

The prompt

Nortel

indicates the default router name. The prompt

<>

indicates the user view, and the

prompt

[]

indicates other views.

Some commands that are implemented in the system view can also be implemented in the

other views; however, the function implemented is associated with the command view. For
example, the mpls command (for starting MPLS) can be run in the system view to enable the

MPLS capability globally. It can also be run in the interface view to enable the MPLS

capability on the interface.

Table 3-1 shows the command line views.

3-4

Nortel Networks Inc.

Issue 5.3 (30 March 2009)

Advertising