1 viewing the display, 2 filtering the display, 1 viewing the display -10 – Panasonic NN46240-501 User Manual

Page 73: 2 filtering the display -10, 6 editing characteristics, 7 display characteristics, 8 outputting the display

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

When the information displayed exceeds a full screen, the CLI provides a pause function.

Table 3-5 describes the three display functions.

Table 3-5 Display functions

Key

Function

Ctrl+C

Stops the display and running of the command.

Space

Continues to display the information on the next screen.

Enter

Continues to display the information on the next line.

3.8 Outputting the display

3.8.1 Viewing the display

Do as follows on the router:

Run:

display current-configuration

The current configuration is displayed.

3.8.2 Filtering the display

Do as follows on the router:

Run:

display current-configuration | include ip

The commands that include ip are displayed.

3.9 Filtering information through regular expressions

When you output information, you can use regular expressions to filter the displayed

information. A regular expression is a tool for matching and replacing modes. You construct

the matching mode based on rules, and then match the mode with the target object.

To help you construct the matching mode, you can use special characters called

metacharacters with regular expressions. Metacharacters are used to define the matching
modes of other characters in the regular expression. Table 3-6 describes metacharacters.

Table 3-6 Metacharacters

Metacharacter

Connotation

\

Escape character

Matches any single character including a space, except for \n.

3-10

Nortel Networks Inc.

Issue 5.3 (30 March 2009)

Advertising