
100 Chapter 2 General CLI commands
212160-B
clear-stats command
The clear-stats command clears all statistical information for the specified
port. All counters are set to zero (0). The syntax for the
clear-stats command
is:
clear-stats [port <portlist>]
The clear-stats command is in the config-if command mode.
Table 41 describes the parameters and variables for the
clear-stats command.
Enabling or disabling a port
You can enable or disable a port using the CLI. This section covers the following
commands:
• “shutdown command,” next
• “no shutdown command” on page 101
shutdown command
The shutdown command disables the port. The syntax for the shutdown
command is:
shutdown [port <portlist>]
Table 41 clear-stats command parameters and variables
Parameters and
variables
Description
port <portlist> Specifies the port numbers to clear of statistical information; enter
the port numbers.
Note: If you omit this parameter, the system uses the port number
you specified in the interface command.
Comentarios a estos manuales