|
|
This chapter explains the function and syntax of the WCCP commands. For more information about defaults and usage guidelines, see the corresponding chapter of the Cisco IOS Configuration Fundamentals Command Reference, Release 12.1.
Table 15 lists those commands that have been replaced since Cisco IOS Release 12.0.
| Command in IOS 12.0: | Replaced By or Integrated Into: |
|---|---|
ip wccp enable | ip wccp |
ip wccp redirect-list | ip wccp |
ip web-cache redirect | ip wccp web-cache redirect out |
show ip wccp web-caches | show ip wccp web-cache detail |
![]() |
Note Cisco IOS 12.1 allows you to enable either WCCPv1 functionality or WCCPv2 functionality on your router using the ip wcp version command. However, you must use the new commands introduced with WCCPv2 to configure WCCPv1. The original WCCPv1 configuration commands that have been replaced in this release (see Table 15) will no longer function. |
To remove Web Cache Communication Protocol (WCCP) statistics (counts) maintained on the router for a particular service, use the clear ip wccp EXEC command.
clear ip wccp {web-cache | service-number}
Syntax Description
web-cache Directs the router to remove statistics for the web cache service. service-number Directs the router to remove statistics for a specified cache service. The number can be from 0 to 99.
To direct a router to enable or disable the support for a cache engine service group, use the ip wccp global configuration command. To remove the ability of a router to control support for a service group, use the no form of this command.
ip wccp {web-cache | service-number} [group-address groupaddress] [redirect-list access-list] [group-list access-list] [password password]
Syntax Description
web-cache Enables the web cache service. service-number Enables the specified WCCP service. Services are identified using a number from 0 to 99. If Cisco Cache Engines are being used in your service group, the reverse-proxy service is indicated by a value of 99. group-address groupaddress (Optional) Directs the router to use a specified multicast IP address for communication with the WCCP service group. redirect-list access-list (Optional) Directs the router to use an access list to control traffic redirected to this service group. The access-list argument uses a string of 64 characters or less to specifiy the name of the previously configured access list to be used. group-list access-list (Optional) Directs the router to use an access list to determine which cache engines are allowed to participate in the service group. The access-list argument uses a string of 64 characters or less to specifiy the name of the previously configured access list to be used. password (Optional) A string that directs the router to apply MD5 authentication to messages received from the service group specified by the service name given. Messages that are not accepted by the authentication are discarded. The password can be up to seven characters in length. password The password name that will be combined with the HMAC MD5 value to create security for the connection between the router and the cache engine.
The groupaddress argument requires a multicast address used by the router to determine which cache engine should recieve redirected messages.
The ip wccp command replaces the ip wccp enable command. See the description of the ip wccp command in this chapter for more information.
To configure an interface on a router to enable or disable the reception of IP multicast packets for the Web Cache Communication Protocol (WCCP) feature, use the ip wccp group-listen interface configuration command. To remove control of the reception of IP multicast packets for the WCCP feature, use the no form of this command.
ip wccp {web-cache | service-number} group-listen
Syntax Description
web-cache Directs the router to transmit packets to the web cache service. service-number The identification number of the cache engine service group being controlled by a router. The number can be from 0 to 99.
To configure an interface to exclude packets received on an interface from being checked for redirection, use the ip wccp redirect exclude in global configuration command. To disable the ability of a router to exlude packets from redirection checks, use the no form of this command.
ip wccp redirect exclude inSyntax Description
This command has no arguments or keywords.
To enable packet redirection an outbound interface using WCCP, use the ip wccp redirect out interface configuration command. To disable the ability of a router to verify that appropriate packets are being redirected, use the no form of this command.
ip wccp {web-cache | service-number} redirect out
Syntax Description
web-cache Enables the web cache service. service-number The identification number of the cache engine service group being controlled by a router. The number can be from 0 to 99. If Cisco Cache Engines are used in the cache cluster, the reverse proxy service is indicated by a value of 99.
This command is now documented as part of the ip wccp {web-cache | service-number} command. See the description of the ip wccp command in this chapter for more information.
The ip wccp redirect out command replaces the ip web-cache redirect command. See the description of the ip wccp redirect out command in this chapter for more information.
To specify which version of WCCP you wish to configure on your router, use the ip wccp version command.
ip wccp version {1 | 2}
Syntax Description
1 Web Cache Communication Protocol Version 1 (WCCPv1). 2 Web Cache Communication Protocol Version 2 (WCCPv2).
To display global statistics related to the Web Cache Communication Protocol (WCCP) feature, use the show ip wccp EXEC command.
show ip wccp {web-cache | service-number} [view | detail]
Syntax Description
web-cache Directs the router to display statistics for the web cache service. service-number The identification number of the cache engine service group being controlled by a router. The number can be from 0 to 99. For cache engine clusters using Cisco Cache Engines, the reverse proxy service is indicated by a value of 99. view (Optional) Displays which other members of a particular service group have or have not been detected. detail (Optional) Displays information for the router and all cache engines in the currently configured cluster.
The show ip wccp web-cache detail command replaces the show ip wccp web-caches command. See the description of the show ip wccp command for more informations.
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Wed Jul 26 16:00:13 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.