2. Overview
2.1. CLI clear Commands
The CLI clear commands are primarily used to:
set statistics in a particular area back to a value of zero
reset specific hardware assemblies (for example, cards)
delete temporary operational state data (for example, contents of a log in memory)
For more information on the clear commands, see the respective command sections in this guide.
2.2. CLI monitor Commands
The CLI monitor commands are found in the monitor context of the operational root of the CLI tree. The monitor commands display specified statistical information related to the monitor subject (such as filter, port, QoS, router, service, and VRRP) at a configurable interval until a count is reached.
The monitor command output displays a snapshot of the current statistics. The output refreshes with subsequent statistical information at each configured interval and is displayed as a delta to the previous output.
The <Ctrl-c> keystroke interrupts a monitoring process. monitor command configurations cannot be saved. You must enter the command for each monitoring session. If the maximum limits are configured, you can monitor the statistical information for a maximum of 60 × 999 s (approximately 1000 minutes).
For more information on the monitor commands, see the respective command sections in this guide.
2.3. CLI show Commands
The CLI show commands present a variety of useful configuration and operational state information in the format of a human-friendly report. They often use tables and have filtering and lookup functionality. Some show commands perform sophisticated processing of underlying router data to correlate information.
The information in the output of the show commands can also be found in the state and configure branches of the MD-CLI (as well as via model-driven interfaces such as NETCONF and gRPC). The show commands, however, are different from the YANG state output.
The YANG state is fully modeled and structured data that can be easily manipulated by tools and applications (including pySROS and NETCONF clients). The report-style output of the show commands contains useful combinations of configuration and state, but the information is not modeled or structured. The pySROS and command alias features can be used together to create custom show commands using the modeled data. See “Command aliases” in the 7450 ESS, 7750 SR, 7950 XRS, and VSR MD-CLI User Guide for more information.
For more information on the show commands, see the respective command sections in this guide.
2.4. CLI tools Commands
The CLI tools commands provide two primary functions:
The tools dump commands provide additional detailed and enhanced information about the router.
The tools perform commands provide the ability to trigger a variety of actions in the router, such as a card power cycle (tools perform card power-cycle), and APS switchovers.
For more information on the tools commands, see the respective command sections in this guide.