Diff Utility - Cisco MDS 9000 Series Configuration Manual

Hide thumbs Also See for MDS 9000 Series:
Table of Contents

Advertisement

diff Utility

Keyword Syntax
include string
Example:
show interface brief | include up
last [lines]
Example:
show logging logfile | last 50
no-more
Example:
show interface brief | no-more
sscp SSH-connection-name filename
Example:
show version | sscp MyConnection
show_version_output
wc [bytes | lines | words]
Example:
show file testoutput | wc bytes
diff Utility
You can compare the output from a show command with the output from the previous invocation of that
command.
diff-clean [all-session] [all-users]
This table describes the keywords for the diff utility.
Keyword
all-sessions
all-users
The Cisco NX-OS software creates temporary files for the most current output for a show command for all
current and previous users sessions. You can remove these temporary files using the diff-clean command.
diff-clean [all-sessions | all-users]
By default, the diff-clean command removes the temporary files for the current user's active session. The
all-sessions keyword removes temporary files for all past and present sessions for the current user. The
all-users keyword removes temporary files for all past and present sessions for the all users.
Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide
58
Understanding the Command-Line Interface
Description
Displays all lines that include the search string. The
search string is case sensitive.
Displays the end of the output for the number of lines
specified. The default number of lines is 10.
Displays all the output without stopping at the end of
the screen with the ––More–– prompt.
Redirects the output using streaming secure copy
(sscp) to a named SSH connection. You can create
the SSH named connection using the ssh name
command.
Displays counts of characters, lines, or words. The
default is to display the number of lines, words, and
characters.
Description
Removes diff temporary files from all sessions (past
and present sessions) of the current user.
Removes diff temporary files from all sessions (past
and present sessions) of all users.
OL-29291-02

Advertisement

Table of Contents
loading

Table of Contents