Redirecting Show Command Output To A File; Finding Files - Cisco Nexus 9000 Series Configuration Manual

Nx-os fundamentals configuration guide
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Redirecting show Command Output to a File

Procedure
Step 1
Redirecting show Command Output to a File
You can redirect show command output to a file on bootflash:, volatile:, or a remote server. You can also
specify the format for the command output.
Procedure
Step 1
Step 2

Finding Files

You can find the files in the current working directory and its subdirectories that have names that begin with
a specific character string.
Procedure
Step 1
Cisco Nexus 9000 Series NX-OS Fundamentals Configuration Guide, Release 7.x
106
Command or Action
tail [filesystem:[//module/]][directory/]filename
[lines]
Example:
switch# tail ospf-gr.conf
Command or Action
terminal redirection-mode {ascii | zipped}
Example:
switch# terminal redirection-mode zipped
show-command > [filesystem:[//module/][directory]
| [directory /]]filename
Example:
switch# show tech-support >
bootflash:techinfo
Command or Action
pwd
Example:
switch# pwd
Using the Device File Systems, Directories, and Files
Purpose
Displays the last lines of a file. The default
number of lines is 10. The range is from 0 to 80
lines.
Purpose
(Optional)
Sets the redirection mode for the show
command output for the user session. The
default mode is ascii.
Redirects the output from a show command
to a file.
Purpose
(Optional)
Displays the name of your current default directory.
Table of Contents
loading

Table of Contents