This article introduces the basic concepts, methodology, and general troubleshooting guidelines for problems that may occur when you configure and use your WAAS system.
To troubleshoot your WAAS system, follow these general guidelines:
To display the version of the software image that is currently running in your WAAS device, enter the following command:
wae# show version Cisco Wide Area Application Services Software (WAAS) Copyright (c) 1999-2009 by Cisco Systems, Inc. Cisco Wide Area Application Services Software Release 4.1.3a (build b25 May 23 2 <-------- 009) Version: oe7341-4.1.3a.25 Compiled 10:10:47 May 23 2009 by cnbuild System was restarted on Wed May 27 14:45:28 2009. The system has been up for 6 weeks, 2 hours, 35 minutes, 48 seconds.
This command provides other useful information, for example:
To verify that there is no pending software upgrade (waiting for a device reboot), enter the following command:
wae# show version pending No pending version
You should see the message "No pending version".
General system error logging to the disk file /local1/syslog.txt is enabled by default. You can check that logging is enabled by entering the following command:
wae# show logging Syslog to host is disabled. Syslog to console is disabled Priority for console logging is set to: warning Syslog to disk is enabled <------------ Priority for disk logging is set to: notice Filename for disk logging is set to: /local1/syslog.txt Syslog facility is set to * Syslog disk file recycle size is set to 10000000
To enable logging to the console, enter the following global configuration command:
wae(config)# logging console enable
NOTE: Setting the logging priority to a level lower than notice can be CPU intensive and can generate a large amount of output. Use it judiciously and sparingly in a production environment.
The following directories are used by WAAS for log files:
You can use the following file system navigation commands to navigate and view the log files:
The WAAS Central Manager includes a built-in diagnostic tool that can help you troubleshoot many device problems, including the following:
We recommend that you run the diagnostic tool first before taking other troubleshooting actions. The tool reports on the status and configuration of many system functions.
To run the diagnostic tool from the Central Manager, follow these steps:
For tests that fail, error messages describe the problem and provide recommended solutions. You can find error message descriptions in the test command in the Cisco Wide Area Application Services Command Reference.
You can run the same diagnostic tests again and refresh the results by clicking the Refresh icon in the taskbar.
To print the results, click the Print icon in the taskbar.
To run the diagnostic tests from the CLI, use the test EXEC command.
To verify the physical connectivity of the peer WAAS device, follow these steps:
wae# ping 10.1.1.2 PING 10.1.1.2 (10.1.1.2) 56(84) bytes of data. 64 bytes from 10.1.1.2: icmp_seq=1 ttl=37 time=83.9 ms 64 bytes from 10.1.1.2: icmp_seq=2 ttl=37 time=80.6 ms 64 bytes from 10.1.1.2: icmp_seq=3 ttl=37 time=79.2 ms 64 bytes from 10.1.1.2: icmp_seq=4 ttl=37 time=79.3 ms 64 bytes from 10.1.1.2: icmp_seq=5 ttl=37 time=79.4 ms --- 10.1.1.2 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 3997ms rtt min/avg/max/mdev = 79.274/80.538/83.904/1.793 ms
If a device is one hop away and you are unable to reach the device, then ping the intermediary gateway. If the gateway is not reachable, enter the show ip routes command and check to make sure that the correct route is displayed. For example, enter:
wae# show ip routes Destination Gateway Netmask ---------------- ---------------- ---------------- 10.10.10.1 0.0.0.0 255.255.255.255 10.43.62.4 0.0.0.0 255.255.255.255 10.43.62.0 0.0.0.0 255.255.255.192 10.10.10.0 0.0.0.0 255.255.255.0 0.0.0.0 10.43.62.1 0.0.0.0
If necessary, enter a static route for the gateway.
You can use a similar ping command to verify connectivity between the WAAS data center device and the application server hosts.
Note that firewalls might block ICMP traffic and ICMP traffic does not follow the WCCP redirection path, so using the ping command does not verify redirection or acceleration. As an alternative you could use a third party tool that performs a TCP-based ping.
To check the CPU load of a WAAS device, follow these steps:
You may want to adjust the time period of the chart, since the default is Last Hour. To adjust the time period, click the Settings icon in the task bar and choose a different Time Frame such as Last Day or Last Week.
It is common for a WAAS device to show spikes or even longer durations of high CPU utilization during high user activity periods. When the CPU remains at a high CPU level for significantly long durations, further troubleshooting or resizing of the device may be indicated.
The following sections recommend ways to gather information that is relevant to the problem that is occurring and that is necessary before contacting the Cisco Technical Assistance Center (TAC).
Do not reboot the WAAS device unless it is absolutely necessary. Some information that is important to troubleshooting your problem may not survive a reboot. Try to gather as much information as possible before rebooting.
You can use several show commands in Exec mode to gather information specific to the symptoms you are observing in your device. In most cases, you can gather the information you need to troubleshoot the device by entering the copy tech-support command. This command runs many show commands that are useful for troubleshooting and gathers the output into a single file. You can redirect the output of the copy tech-support command to a disk file, an FTP server, or a TFTP server. The command syntax is as follows:
copy tech-support {disk filename | ftp {hostname | ip-address} remotedirectory remotefilename |
tftp {hostname | ip-address} remotefilename}
For example, to copy the output of the command to a disk file on the local system, specify the command as follows:
wae# copy tech-support disk ts-report.txt
Other useful show commands include the following:
A system report (sysreport) is a comprehensive report that you will need before you contact Cisco technical support. You can generate a sysreport by running the copy sysreport command. The system report contains the output from many commands and logs on the system, including show commands, network statistics, graphs, log contents, configuration settings, statistics, and so on. It can take some time to generate a system report and it can be from 30 - 100 MB in size or larger. The system report contains many more elements than are included in the copy tech-support command, and is generally needed when contacting Cisco technical support.
Before generating a system report, use the test command to run the diagnostic tests so that this information is included in the system report. When generating a system report on a Central Manager (or standby Central Manager), you should first make a database backup by using the cms database backup command.
To generate a sysreport and store it to an FTP server, use this form of the command: copy sysreport ftp server-ip remote-directory remote-file-name
For example:
wae# copy sysreport ftp 10.10.10.5 /reports wae1report
When generating a system report, do not use any command options that limit the report to a specific time period, as this could cause information even within that time period not to be included.
Capturing packets (sometimes referred to as a "TCP dump") is a useful aid in troubleshooting connectivity problems with the WAAS device or for monitoring suspicious activity. The WAAS device can track packet information for network traffic that passes through it. The attributes of the packet are defined by an ACL. The WAAS device buffers the captured packets, and you can copy the buffered contents to a file or to a remote server. You can also display the captured packet information on your console or terminal.
Two packet capture utilities are available: tcpdump and tethereal. These commands require admin privileges.
By default, these commands capture only the first 64 bytes of each packet. We recommend that you use the -s 1600 option to capture full packet data.
If you will be taking large traces, use tcpdump to create rolling packet captures in multiple files. (The -C option sets the maximum size of each captured file in KB and the -M option sets the maximum number of log files to create.)
If you need to filter the packets captured, use tethereal with the -R read filter option. You can use tcpdump to create a large packet capture, then use tethereal against the captured file to perform filtering.
Be careful when using tcpdump in a WCCP environment because tcpdump filters do not look within the GRE wrapper. You will need to use tethereal if you need to do that.
With both commands, use the -i any option to capture all interfaces, or separate telnet sessions to capture on separate interfaces. Use ^c (CTRL+c) to stop the packet capture.
There are several packet analysis tools that you can use to analyze packet capture files after you have captured them:
For the full tcpdump syntax, see tcpdump in the Cisco Wide Area Application Services Command Reference.
The most useful tcpdump options are as follows:
The following example captures all packets to the file packets1.cap:
wae# tcpdump -i bond0 -s 1600 -w packets1.cap
For the full tethereal syntax, see tethereal in the Cisco Wide Area Application Services Command Reference.
Useful tethereal options are as follows:
The following examples show various options used for filtering and conversion:
To convert from one file format to another, use a command similar to the following:
wae# tethereal -r test-netmon.cap -F libpcap -w test-libpcap.cap
To use a read filter for the SYN flag, use a command similar to the following:
wae# tethereal -R "tcp.flags.syn eq 1"
To use a read filter for specific hosts (and look inside GRE packets), use a command similar to the following:
wae# tethereal -s 1600 -w dump1.cap –R "ip.addr eq 2.43.183.254 and ip.addr eq 2.43.182.165"
Note: The tethereal command has some usage caveats that you should be aware of:
If you are unable to resolve a problem after using the troubleshooting suggestions in the articles in this wiki, contact the Cisco Technical Assistance Center (TAC) for assistance and further instructions. Before you call, have the following information ready to help your TAC engineer assist you as quickly as possible:
You can reach TAC in one of these ways: