xStack DES-6500 Modular Layer 3 Chassis Ethernet Switch CLI Manual

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:

DES-6500:4#clear log

Command: clear log

Success.

DES-6500: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:

DES-6500:4#show log index 1-4

Command: show log index 1-4

Index Date

Time

Log Text

----- ----------

--------

-----------------------------------------------------

42000-03-02 01:54:53 Port 1:13 link up, 100Mbps FULL duplex

32000-03-02 01:54:53 Spanning Tree Protocol is enabled

22000-03-02 01:54:53 Unit 1, System started up

12000-02-28 06:06:09 Spanning Tree Protocol is disabled

DES-6500:4#

63

Page 66
Image 66
D-Link TM DES-6500 manual Clear log, DES-65004#clear log Command clear log Success, Show log index valuelist