Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2(1) (OL-16599-01, March 2009)

Send comments to nx5000-docfeedback@cisco.com
7-33
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 7 System Management Commands
show logging onboard
bootflash:
ftp:
scp:
sftp:
tftp:
volatile:
The valid values for type are as follows:
begin [-i] [-x] [word]—Begin with the line that matches the text.
-i—Ignores the case difference when comparing the strings.
-x—Prints only the lines where the match is a whole line.
word—Specifies for the expression.
count [> file | | type]—Counts number of lines.
egrep | grep print-match—Egrep or Grep. Egrep searches for lines of text that match more
sophisticated regular expression syntax than grep. Grep searches for lines of text that match one or
many regular expressions, and outputs only the matching lines.
-A num—Prints the specifies number of lines of context after every matching line. Range: 1 to
999.
-B num—Prints the specifies number of lines of context before every matching line. Range: 1
to 999.
-c—Prints a total count of matching lines only.
-i—Ignores the case difference when comparing the strings.
-n—Prints each match preceded by its line number.
-v—Prints only the lines that contain no matches for the word argument.
-w—Prints only lines where the match is a complete word
-x—Prints only the lines where the match is a whole line.
word—Specifies for the expression.
exclude [-i] [-x] [word]—Excludes the lines that match.
-i—Ignores the case difference when comparing the strings.
-x—Prints only the lines where the match is a whole line.
word—Specifies for the expression.
head [-n num]—Stream Editor. The optional -n num keyword and argument allows you to specify
the number of lines to print. Range: 0 to 2147483647.
include [-i] [-x] [word]—Include the lines that match
-i—Ignores the case difference when comparing the strings.
-x—Prints only the lines where the match is a whole line.
word—Specifies for the expression.
last [num]—Displays the last lines to print. The optional num specifies the number of lines to print.
Range: 0 to 9999.
less [-E | -d]—Quits at the end of the file.