Changes made in version 6.0
config global or config vdom will not affect the way the system shows diag wad … commands
diag wad filter … will affect all information in diag wad …, including session list, debug filter and stats
Only diag wad filter vd … is useful for diag wad stats … commands
For global stats (the stats is not separated by vdoms):
Any user can list the stats no matter diag wad filter vd … value
Only supper user can clear the stats
Will be cleared even if diag wad filter vd… is not All vdoms
For vdom stats (the stats is separated by vdoms):
Any user who belongs to this vdom can list/clear the stats
Supper user can also list/clear the stats
If a vdom is set in diag wad filter vd …, the system shows stats that are only in this vdom
If no vdom is set in diag wad filter vd …, the system shows the sum of the stats in all vdoms that the login user belongs to
Instead of a vdom index, the vdom name for diag wad filter vd …, but only the vdoms to which the login user belongs can be showed
Diagnose wad console-log
Firmware – FortiOS: 5.0 5.2 5.4 5.6 6.0
Use this command to enable or disable displaying WAN optimization log messages on the CLI console. If you omit the enable or disable command, the current status of console-log will be displayed.
Syntax
diagnose wad console-log
Example
diagnose wad console-log
disable
Diagnose wad debug
Firmware – FortiOS: 5.6 6.0
This command is used to configure the WAD debug settings.
Syntax
diagnose wad debug {enable|disable|show|clear|display|save-http-req-crash}
Options
Diagnose wad filter clear
Firmware – FortiOS: 5.0 5.2 5.4 5.6 6.0
This command is used to reset or clear the current log filter settings.
Syntax
diagnose wad filter clear < Enter >
Diagnose wad filter firewall-policy
Firmware – FortiOS: 5.6
This command is used to target the firewall policy.
Syntax
Using a „-1” as the value will index of that particular policy type.
diagnose wad filter firewall-policy
Diagnose wad memory
Firmware – FortiOS: 5.6
The WAD SSL memory dump functions have been moved to migbase so they can be shared by both WAD and CLI.
Syntax
Diagnose wad user clear
Firmware – FortiOS: 5.0 5.2 5.4 5.6 6.0
This command is used to clear all users, or a specific user. The command diagnose wad user list can be used to get a list of the available users.
Syntax
diagnose wad user clear < id User ID >
Enter a user’s id, IP and VDOM to clear this particular user, otherwise, this clears all users.
Usage
To clear all proxy users:
diagnose wad user clear
To clear a specific user:
diagnose wad user clear
Diagnose wad user list
Firmware – FortiOS: 5.0 5.2 5.4 5.6 6.0
This command lists existing users.
Syntax
diagnose wad user list < Enter >
Diagnose wad filter src
Firmware – FortiOS: 5.0 5.2 5.4
This command is used to display the source address range to filter by.
Syntax
diagnose wad filter src < ip-address Source IP address (from) >