Filtering Command Output - Juniper J2300 User Manual

J-series services router
Hide thumbs Also See for J2300:
Table of Contents

Advertisement

J-series™ Services Router User Guide
Command
ping
test
traceroute
Connecting to Other Network Systems
ssh
telnet
Management
copy
restart option
request
start
configuration
quit

Filtering Command Output

For operational commands that display output, such as the
you can redirect the output into a filter or a file. When you display help
about these commands, one of the options listed is
allows you to filter the command output.
For example, if you enter the
Services Router configuration is displayed on the screen. To limit the display
to only those lines of the configuration that contain
configuration
address-range low 192.168.3.2 high 192.168.3.254;
address-range low 192.168.71.71 high 192.168.71.254;
address 192.168.71.70/21;
address 192.168.2.1/24;
202
Monitoring and Diagnostic Tools Overview
Function
Determines the reachability of a remote network host.
For details, see "Using the ping Command" on page 226.
Tests the configuration and application of policy filters and AS path regular
expressions.
Traces the route to a remote network host.
For details, see "Using the traceroute Command" on page 228.
Opens secure shell connections.
For details, see "Using the ssh Command" on page 195.
Opens telnet sessions to other hosts on the network.
For details, see "Using the telnet Command" on page 195.
Copies files from one location on the Services Router to another, from the router
to a remote system, or from a remote system to the router.
Restarts the various JUNOS software processes, including the routing protocol,
interface, and SNMP processes.
Performs system-level operations, including stopping and rebooting the Services
Router and loading JUNOS software images.
Exits the CLI and starts a UNIX shell.
Enters configuration mode.
For details, see "CLI Configuration Mode" on page 120.
Exits the CLI and returns to the UNIX shell.
command using a pipe into the
user@host> show configuration | match address
, called a pipe, which
|
command, the complete
show configuration
address
filter:
match
commands,
show
, issue the
show

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

J2350J2320J4300J6300J6350J4350

Table of Contents