Cisco XR 12000 Series Getting Started Manual page 115

Hide thumbs Also See for XR 12000 Series:
Table of Contents

Advertisement

Chapter 5
CLI Tips, Techniques, and Shortcuts
0 drops for unrecognized upper-level protocol
MgmtEthernet0/0/CPU0/0 is administratively down, line protocol is administratively
down
MgmtEthernet0/0/CPU0/0 is administratively down, line protocol is administratively
down
0 drops for unrecognized upper-level protocol
Filtering is available for submodes, complete commands, and anywhere that <cr> appears in the "?"
Note
output.
Adding a Filter at the --More-- Prompt
You can specify a filter at the
(/) followed by a regular expression. The filter remains active until the command output finishes or is
interrupted (using Ctrl-Z or Ctrl-C). The following rules apply to this technique:
In the following example, the user adds a filter at the
remaining output that contain the regular expression "ip".
RP/0/0/CPU0:router# show configuration running | begin line
Building configuration...
line console
exec-timeout 120 120
!
logging trap
--More--
/ip
filtering...
ip route 0.0.0.0 255.255.0.0 pos0/2/0/0
interface pos0/2/0/0
ip address 172.19.73.215 255.255.0.0
end
On most systems, Ctrl-Z can be entered at any time to interrupt the output and return to EXEC mode.
Tip
For more information, see
Patterns."
OL-24755-01
--More--
If a filter is specified at the original command or previous
be applied.
The use of the begin keyword does not constitute a filter.
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.
Appendix A, "Understanding Regular Expressions, Special Characters, and
Displaying System Information with show Commands
prompt of a show command output by entering a forward slash
--More--
Cisco IOS XR Getting Started Guide for the Cisco XR 12000 Series Router
prompt, a second filter cannot
--More--
prompt to show only the lines in the
5-103

Advertisement

Table of Contents
loading

Table of Contents