Registering a Device to a Multicast Address If you decide to use the multicast address option for your service group, you must configure the device to listen for the multicast broadcasts on an interface. For network configurations where redirected traffic needs to traverse an intervening device, the device being traversed must be configured to perform IP multicast routing. You must configure the following two components to enable traversal over an intervening device: • Enable IP multicast routing using the ip multicast-routing global configuration command.
• Enable the interfaces to which the cache engines will connect to receive multicast transmissions using the ip wccp group-listen interface configuration command. Procedure Configuring WCCP Registering a Device to a Multicast Address Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. Enter your password, if prompted. Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode. Step 3 ip multicast-routing [vrf vrf-name] [distributed] Example: Device(config)# ip multicast-routing Enables IP multicast routing. Step 4 ip wccp [vrf vrf-name] {web-cache | service-number} group-address multicast-address Example:
Device(config)# ip wccp 99 group-address 239.1.1.1 Specifies the multicast address for the service group. Step 5 interface type number Example: Device(config)# interface ethernet 0/0 Enables the interfaces for which the web cache service will run, and enters interface configuration mode. These interfaces connect to the content engines to receive multicast transmissions. Step 6 ip pim {sparse-mode | sparse-dense-mode | dense-mode [proxy-register {list access-list | route-map map-name}]} (Optional) Enables Protocol Independent Multicast (PIM) on an interface. Configuring WCCP 12