xStack DGS/DXS-3300 Series Layer 3 Stackable Gigabit Ethernet Switch CLI Manual
62
Example usage:
To clear the counters:
DGS-3324SRi:4#clear counters ports 2:7-2:9
Command: clear counters ports 2:7-2:9
Success.
DGS-3324SRi:4#
clear log
Purpose
Used to clear the Switch’s history log.
Syntax
clear log
Description
This command will clear the Switch’s history log.
Parameters None.
Restrictions Only
administrator-level users can issue this command.
Example usage:
To clear the log information:
DGS-3324SRi:4#clear log
Command: clear log
Success.
DGS-3324SRi:4#
show log
Purpose
Used to display the Switch history log.
Syntax
show log {index <value_list>}
Description
This command will display the contents of the Switch’s history log.
Parameters
index <value_list>
−
Enter a value that corresponds to an entry
made in the log. Multiple entries may be made in the form of
x-x
where x is the number of an entry in the log. The smallest number
(and therefore the earlier entry) will be first.
Restrictions None.
Example usage:
To display the Switch history log
: