save trace

Saves the accumulated trace data for enabled traces to a file in the switch’s nonvolatile storage.

Syntax: save trace filename

filename Name for the trace file. To save the file in a subdirectory, specify the subdirectory name, then a slash. For example: traces/trace1

Defaults: None.

Access: Enabled.

Examples: To save trace data into the file trace1 in the subdirectory traces, type the following command:

DWS-1008#save trace traces/trace1

set trace authentication

Traces authentication information.

Syntax: set trace authentication [mac-addr mac-address] [port port-num] [user username] [level level]

mac-addrmac-address

Traces a MAC address. Specify a MAC address, using colons to

 

separate the octets (for example, 00:11:22:aa:bb:cc).

port port-num

Traces a port number. Specify a port number between 1 and 22.

user username

Traces a user. Specify a username of up to 32 alphanumeric characters

 

with no spaces.

level level

Determines the quantity of information included in the output. You can

 

set the level with an integer from 1 to 10, where level 10 provides the

 

most information. Levels 1 through 5 provide user-readable information.

 

If you do not specify a level, level 5 is the default.

Defaults: The default trace level is 5.

Access: Enabled.

Examples: The following command starts a trace for information about user jose’s authentication:

DWS-1008# set trace authentication user jose success: change accepted.

D-Link DWS-1008 CLI Manual

492

Page 495
Image 495
D-Link dws-1008 manual Save trace, Set trace authentication, Syntax save trace filename, DWS-1008#save trace traces/trace1