Cisco ASR 14000 Series Management Command Reference page 142

Router system
Hide thumbs Also See for ASR 14000 Series:
Table of Contents

Advertisement

more
Table 17
Command
more filesystem: | begin
regular-expression
more filesystem: | exclude
regular-expression
more filesystem: | include
regular-expression
Adding a Filter at the --More-- Prompt
You can also specify a filter at the --More-- prompt of a more command output. To filter output from
the --More-- prompt, enter a forward slash (/) followed by a regular expression. The filter remains active
until the command output finishes or is interrupted (using Ctrl-Z or Ctrl-C).
Note
After you specify a filter for a more command, you cannot specify another filter at the next --More--
prompt. The first specified filter remains until the more command output finishes or until you interrupt
the output. The use of the begin keyword does not constitute a filter.
Task ID
Task ID
filesystem
Examples
The following is partial sample output from the more command. The output displays a configuration file
saved on the hard disk drive.
RP/0/RP0/CPU0:router# more harddisk:/user/alternate.cfg
!! Last configuration change at 15:52:55 UTC Fri Feb 13 2004 by UNKNOWN
!
line console
exec-timeout 0 0
!
interface MgmtEth0/RP1/CPU0/0
ipv4 address 10.32.45.154 255.0.0.0
!
interface POS0/1/0/0
ipv4 address 10.32.45.155 255.0.0.0
keepalive disable
!
interface POS0/1/0/1
ipv4 address 10.32.45.156 255.0.0.0
keepalive disable
Cisco ASR 14000 Series Router System Management Command Reference
SMR-140
Filtering Options
Purpose
Begins unfiltered output of the more command with the first line that
contains the regular expression.
Displays output lines that do not contain the regular expression.
Displays output lines that contain the regular expression.
A second filter cannot be specified at a --More-- prompt if a filter has already been specified at the
original command or at a previous --More-- prompt.
The minus sign (–) preceding a regular expression displays output lines that do not contain the
regular expression.
The plus sign (+) preceding a regular expression displays output lines that contain the regular
expression.
Operations
execute
Configuration Management Commands on Cisco IOS XR Software
OL-17231-01

Advertisement

Table of Contents
loading

Table of Contents