Command Modes
Command Modesshow ip dns source-interface
command.
}]
Command Modes
Command Modes
Command Modesshow logging onboard
command.
Command Modes
Usage Guidelines). For example:
are as follows:
are as follows:
—Ignores the case difference when comparing the strings.
—Prints only the lines where the match is a whole line.
—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.
—Prints the specifies number of lines of context after every matching line. Range: 1 to 999.
—Prints the specifies number of lines of context before every matching line. Range: 1 to 999.
—Prints a total count of matching lines only.
—Ignores the case difference when comparing the strings.
—Prints each match preceded by its line number.
argument.
—Prints only lines where the match is a complete word.
—Prints only the lines where the match is a whole line.
—Specifies for the expression.
—Ignores the case difference when comparing the strings.
—Prints only the lines where the match is a whole line.
—Specifies for the expression.
- head [ -n num ] —Stream Editor. The optional -n num keyword and argument allow you to specify the number of lines to print. Range: 0 to 2147483647.
- include [ -i ] [ -x ] [ word ] —Include the lines that match.
—Ignores the case difference when comparing the strings.
—Prints only the lines where the match is a whole line.
—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.
—(Optional) Quits at the end of the file.
—(Optional) Specifies a dumb terminal.
- no-more —Turns-off pagination for command output.
- sed command —Stream Editor
- wc —Counts words, lines, and characters.
—(Optional) Specifies the output character count.
—(Optional) Specifies the output line count.
—(Optional) Specifies the output word count.
—Redirects it to a file.
—Pipes command output to filter.
Use this command to view OBFL data from the system hardware. The OBFL feature is enabled by default and records operating temperatures, hardware uptime, interrupts, and other important events and messages that can assist with diagnosing problems with hardware cards or modules installed in a Cisco router or switch. Data is logged to files stored in nonvolatile memory. When the onboard hardware is started up, a first record is made for each area monitored and becomes a base value for subsequent records.
The OBFL feature provides a circular updating scheme for collecting continuous records and archiving older (historical) records, ensuring accurate data about the system. Data is recorded in one of two formats: continuous information that displays a snapshot of measurements and samples in a continuous file, and summary information that provides details about the data being collected. The message “No historical data to display” is seen when historical data is not available.
ExamplesThis example shows how to display the OBFL boot and uptime information:
describes the significant fields shown in the display.
This example shows how to display the OBFL logging device information:
describes the significant fields shown in the display.
This example shows how to display the OBFL history information:
command displays the following information:
- Timestamp when OBFL is manually disabled.
- Timestamp when OBFL is manually enabled.
- Timestamp when OBFL data is manually cleared.
This example shows how to display the OBFL kernel stack trace information:
command displays the following information:
Command Modes
Command Modesshow ntp statistics
command.
Command Modes
Command Modes
Command Modes
Usage GuidelinesFor each foreign master, the output displays the clock identity, basic clock properties, and whether the clock is being used as a grandmaster.
show ptp corrections
command.
show ptp parent
command.
Command Modesshow ptp time-property
command.
Command Modes
Usage GuidelinesAn SNMP engine is a copy of SNMP that can reside on a local or remote device. SNMP passwords are localized using the SNMP engine ID of the authoritative SNMP engine.
Command Modes