no shutdown
no atm atm1483 shutdown
no atm atm1483 snmp trap link-status
ip route 0.0.0.0 0.0.0.0 10.13.5.1
ip debounce-time 0
ip source-route
Redirection of show Command Output
You can redirect the output of
show
commands to network files or local files (in NVS
memory) using the redirection operators described in Table 4 on page 38 .
Table 4: Redirect Operators
Use
Redirect Operator
Redirects output to the specified file, overwriting the file if it
already exists, creating the file if it does not.
>
Appends output to the end of the specified file, creating the
file if it does not exist.
>>
Redirects output to the specified file, overwriting the file if it
already exists, and displays the output on the screen. The
redirection is synchronized with the screen display; for
example, if a --More-- prompt appears, the redirection halts
until you take further action.
&>
Appends output to the end of the specified file and displays
the output to the screen. The redirection is synchronized with
the screen display; for example, if a --More-- prompt appears,
the redirection halts until you take further action.
&>>
For example, you can redirect the output of the
show config
command to a script file
and later run that script:
host1#
show config > showconfig.scr
The following command
writes
the output to a text file, version.txt, on a remote router:
host1#
show hardware > pc:/erxfiles/version.txt
The following command
appends
the output to version.txt:
host1#
show hardware >> version.txt
Only one instance of a file can be open for file redirection. An error message is generated
if you attempt to redirect output to a file that is already open. You cannot redirect output
to a file that includes a local path in the filename.
You can use redirection with output filtering. The general syntax is:
show
options [ {
>
|
>>
|
&>
|
&>>
} filename ]
[ | {
begin
|
include
|
exclude
} filterstring ]
Copyright © 2010, Juniper Networks, Inc.
38
JunosE 11.3.x System Basics Configuration Guide
Summary of Contents for JUNOSE 11.3
Page 6: ...Copyright 2010 Juniper Networks Inc vi...
Page 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 3 x System Basics Configuration Guide...
Page 24: ...Copyright 2010 Juniper Networks Inc xxiv JunosE 11 3 x System Basics Configuration Guide...
Page 32: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 3 x System Basics Configuration Guide...
Page 146: ...Copyright 2010 Juniper Networks Inc 116 JunosE 11 3 x System Basics Configuration Guide...
Page 166: ...Copyright 2010 Juniper Networks Inc 136 JunosE 11 3 x System Basics Configuration Guide...
Page 432: ...Copyright 2010 Juniper Networks Inc 402 JunosE 11 3 x System Basics Configuration Guide...
Page 488: ...Copyright 2010 Juniper Networks Inc 458 JunosE 11 3 x System Basics Configuration Guide...
Page 524: ...Copyright 2010 Juniper Networks Inc 494 JunosE 11 3 x System Basics Configuration Guide...
Page 554: ...Copyright 2010 Juniper Networks Inc 524 JunosE 11 3 x System Basics Configuration Guide...
Page 566: ...Copyright 2010 Juniper Networks Inc 536 JunosE 11 3 x System Basics Configuration Guide...
Page 588: ...Copyright 2010 Juniper Networks Inc 558 JunosE 11 3 x System Basics Configuration Guide...
Page 613: ...PART 3 Index Index on page 585 583 Copyright 2010 Juniper Networks Inc...
Page 614: ...Copyright 2010 Juniper Networks Inc 584 JunosE 11 3 x System Basics Configuration Guide...
Page 632: ...Copyright 2010 Juniper Networks Inc 602 JunosE 11 3 x System Basics Configuration Guide...