When Bandwidth Control is enabled in IWSVA, from the logs which are available from the web console it is not possible to verify that the applications you set up in the Bandwidth Control policies will be controlled. However it is possible to do this via command line.
- Log on to IWSVA either directly or with SSH as "root".
Enter the following command to find today's version of the HTTP daemon log and copy the name of the file (including the full path) to the clipboard or to a text file:
find /var/iwss/log -name http* -daystart -mtime 0
Enable verbose logging for the HTTP daemon:
configure module log verbose http enable
Enter the following command, replacing <http log> with the name (including the full path) of the file you found in step 2:
tail -f <http log> | grep "Bandwidth Control protocol id"
- From a test client, access a website or application for which bandwidth control is set to "Control".
On the IWSVA console you will see output related to this when bandwidth control is applied to the traffic.
Click image to enlarge
Exit the "tail" command by pressing Ctrl+C
Afterwards, disable verbose logging again to prevent the logs from taking up too much space:
configure module log verbose http disable