Verifying and Troubleshooting WCCP Configurations
This section describes the basic commands for verifying WCCP configuration on the router and the WCCP SteelHead.
To verify the router configuration
On the router, at the system prompt, enter the following commands:enable
show ip wccp
show ip wccp 61 detail
show ip wccp 61 view
To verify the WCCP configuration on an interface
On the router, at the system prompt, enter the following commands:enable
show ip interface
Look for WCCP status messages near the end of the output.
To verify the access control list configuration
On the router, at the system prompt, enter the following commands:enable
show access-lists <access_list_number>
To trace WCCP packets and events on the router
On the router, at the system prompt, enter the following commands:enable
debug ip wccp events
WCCP events debugging is on
debug ip wccp packets
WCCP packet info debugging is on
term mon
To verify the WCCP SteelHead configuration
Connect to the Riverbed CLI on the WCCP SteelHead and enter the following command:show wccp interface <interface> service-group 61 detail
WCCP Support Enabled: yes
WCCP Multicast TTL: 1
WCCP Return via Gateway Override: no
Router IP Address: 89.1.1.1
Identity: 1.1.1.1
State: Connected
Redirect Negotiated: l2
Return Negotiated: l2
Assignment Negotiated: mask
i-see-you Message Count: 20
Last i-see-you Message: 2008/07/06 22:05:16 (1 second(s) ago)
Removal Query Message Count: 0
Last Removal Query Message: N/A (0 second(s) ago)
here-i-am Message Count: 20
Last here-i-am Message: 2008/07/06 22:05:16 (1 second(s) ago)
Redirect Assign Message Count: 1
Last Redirect Assign Message: 2008/07/06 22:02:21 (176 second(s) ago)
Web Cache Client Id: 89.1.1.2
Weight: 25
Distribution: 1 (25.00%)
Mask SrcAddr DstAddr SrcPort DstPort
---- ------- ------- ------- -------
0000: 0x02000000 0x00000000 0x0000 0x0001
Value SrcAddr DstAddr SrcPort DstPort Cache-IP
----- ------- ------- ------- ------- --------
0000: 0x00000000 0x00000000 0x0000 0x0000 89.1.1.2
Web Cache Client Id: 89.1.1.6
Weight: 25
Distribution: 2 (50.00%)
Mask SrcAddr DstAddr SrcPort DstPort
---- ------- ------- ------- -------
0000: 0x02000000 0x00000000 0x0000 0x0001
Value SrcAddr DstAddr SrcPort DstPort Cache-IP
----- ------- ------- ------- ------- --------
0002: 0x00000000 0x00000000 0x0000 0x0001 89.1.1.6
0003: 0x02000000 0x00000000 0x0000 0x0001 89.1.1.6
Web Cache Client Id: 89.1.1.5
Weight: 25
Distribution: 1 (25.00%)
Mask SrcAddr DstAddr SrcPort DstPort
---- ------- ------- ------- -------
0000: 0x02000000 0x00000000 0x0000 0x0001
Value SrcAddr DstAddr SrcPort DstPort Cache-IP
----- ------- ------- ------- ------- --------
0001: 0x02000000 0x00000000 0x0000 0x0000 89.1.1.5
To verify the WCCP bucket allocation
Connect to the Riverbed CLI on the WCCP SteelHead and enter show wccp interface <interface> service-group 61 detail. This command is available only in RiOS v6.1 or later.
The following is an example of WCCP bucket allocation details.
WCCP used 2 bits for the mask, 1 in the Source Address and 1 in the Destination Port:Mask SrcAddr DstAddr SrcPort DstPort
---- ------- ------- ------- -------
0000: 0x02000000 0x00000000 0x0000 0x0001
WCCP created four buckets (2 ^ 2 = 4) and allocated them to the SteelHead interfaces as follows:89.1.1.2 was allocated one bucket:
Value SrcAddr DstAddr SrcPort DstPort Cache-IP
----- ------- ------- ------- ------- --------
0000: 0x00000000 0x00000000 0x0000 0x0000 89.1.1.2
89.1.1.5 was allocated one bucket:
Value SrcAddr DstAddr SrcPort DstPort Cache-IP
----- ------- ------- ------- ------- --------
0001: 0x02000000 0x00000000 0x0000 0x0000 89.1.1.5
89.1.1.6 was allocated two buckets because it has the highest IP address of the attached SteelHead interfaces:
Value SrcAddr DstAddr SrcPort DstPort Cache-IP
----- ------- ------- ------- ------- --------
0002: 0x00000000 0x00000000 0x0000 0x0001 89.1.1.6
0003: 0x02000000 0x00000000 0x0000 0x0001 89.1.1.6
The following table lists some of the configurations that the show wccp service-group <num> details CLI command displays.
Configuration | Example |
Redirection Method | Redirect Negotiated: l2 |
Return Method | Return Negotiated: l2 |
Assignment Method | Assignment Negotiated: mask |
GRE Encapsulation | WCCP Return via Gateway Override: no |
WCCP Control Messages | i-see-you Message Count: 20 |
For information about troubleshooting WCCP and other deployments, see
Troubleshooting SteelHead Deployment Problems.