Overview

CLI clear commands

The CLI clear commands are primarily used to:

  • set statistics in a specific 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 about the clear commands, see the respective command sections in this guide.

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 about the monitor commands, see the respective command sections in this guide.

CLI show commands

The CLI show commands display useful information in the format of a human-readable report, with the ability to add or remove output based on additional parameters. The information in the output of the show commands consists of configuration and operational information, and may also perform calculations or additional processing to display some of the output.

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 output of these branches is fully modeled in YANG with structured data that can be easily manipulated by tools and applications (including pySROS and NETCONF clients). The pySROS and MD-CLI 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 about the show commands, see the respective command sections in this guide.

CLI tools commands

The CLI tools commands provide two primary functions:

  • dump

  • perform

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 about the tools commands, see the respective command sections in this guide.