Basic Command-Line Interface Commands Page 22

ADVERTISEMENT

Basic Command-Line Interface Commands
more begin
Once you specify a filter for a more command, you cannot specify another filter at a --More-- prompt.
Note
The first specified filter remains until the more command output finishes or until you interrupt the
output. The use of the keyword begin does not constitute a filter.
Because prior output is not saved, you cannot search or filter backward through prior output.
Examples
The following is partial sample output of the more nvram:startup-config | begin command that begins
unfiltered output with the first line that contain the regular expression “ip.” At the --More-- prompt, the
user specifies a filter to exclude output lines that contain the regular expression “ip.”
router# more nvram:startup-config | begin ip
ip subnet-zero
ip domain-name
ip name-server 198.92.30.32
ip name-server 171.69.2.132
!
isdn switch-type primary-5ess
.
.
.
interface Ethernet1
ip address 5.5.5.99 255.255.255.0
--More--
-ip
filtering...
media-type 10BaseT
!
interface Serial0:23
encapsulation frame-relay
no keepalive
dialer string 4001
dialer-group 1
isdn switch-type primary-5ess
no fair-queue
Related Commands
Command
Description
more exclude
Filters more command output so that it excludes lines that contain a
particular regular expression.
more include
Filters more command output so that it displays only lines that contain a
particular regular expression.
show begin
Searches the output of any show command and displays the output from the
first instance of a specified string.
show exclude
Filters show command output so that it excludes lines that contain a
particular regular expression.
show include
Filters show command output so that it displays only lines that contain a
particular regular expression.
Cisco IOS Configuration Fundamentals Command Reference
FR-24
78-11740-02

ADVERTISEMENT

00 votes

Related Articles

Related forms

Related Categories

Parent category: Education