WCCP—Configurable Router ID

The WCCP—Configurable Router ID feature enables the configuration of a Web Cache Communication Protocol (WCCP) source interface. The IP address of this configured source interface is then used as the preferred WCCP router ID and WCCP GRE source address. When a WCCP router ID is manually configured, router IDs are no longer automatically generated when the current router ID is no longer valid and the router ID does not change when another IP address is added to the system.

Finding Feature Information

Your software release may not support all the features documented in this module. For the latest caveats and feature information, see Bug Search Tool and the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the feature information table.

Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/​go/​cfn. An account on Cisco.com is not required.

Restrictions for WCCP—Configurable Router ID

The following restriction apply to this feature:

  • Do not configure the Web Cache Control Protocol (WCCP) router ID as the tunnel source, if multipoint generic routing encapsulation (GRE) tunnels are configured on a router, because this configuration may cause the traffic over this tunnel to fail.

Information About WCCP—Configurable Router ID

WCCP—Configurable Router ID Overview

WCCP uses a router ID in its control messages that a WCCP client can use to uniquely identify a particular WCCP server. The router ID is an IP address and is used as the source address of any WCCP-generated Generic Routing Encapsulation (GRE) frames. Prior to the WCCP—Configurable Router ID feature, WCCP selected a router ID using an automatic mechanism; the highest reachable IP address on the system (or the highest loopback IP address, if there is one) was used as the WCCP router ID. The highest IP address on the system is not always the best choice as the router ID or as the source address of GRE frames. A change in addressing information on the system may cause the WCCP router ID to change unexpectedly. During this changeover period, WCCP clients briefly advertise the existence of two routers (the old router ID and the new router ID) and GRE frames are sourced from a different address.

The WCCP—Configurable Router ID feature enables you to define a WCCP source interface from which the router ID will be obtained. The IP address of this configured source interface is then used as the preferred WCCP router ID and WCCP GRE source address. When a WCCP router ID is manually configured, the router ID does not change when another IP address is added to the system. The router ID changes only when a new router ID is manually configured using the ip wccp source- interface or the ipv6 wccp source- interface command, or when the address on the manually configured interface is no longer valid.

How to Configure WCCP—Configurable Router ID

Configuring a Preferred WCCP Router ID

SUMMARY STEPS

    1.    enable

    2.    configure terminal

    3.    ip wccp [vrf vrf-name] source-interface source-interface

    4.    exit


DETAILED STEPS
     Command or ActionPurpose
    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 wccp [vrf vrf-name] source-interface source-interface


    Example:
    Device(config)# ip wccp source-interface GigabitEthernet 0/0/0
     

    Configures a preferred WCCP router ID.

     
    Step 4 exit


    Example:
    Device(config)# exit
    
     

    Exits global configuration mode and returns to privileged EXEC mode.

     

    Configuration Examples for WCCP—Configurable Router ID

    Example: Configuring a Preferred WCCP Router ID

    The following example displays the configuration for a preferred WCCP router ID:

    
    ! Configure a preferred WCCP router ID
    ip wccp source-interface GigabitEthernet 0/0/0
    

    Additional References for WCCP—Configurable Router ID

    Related Documents

    Related Topic

    Document Title

    Cisco IOS commands

    Cisco IOS Master Commands List, All Releases

    WCCP commands

    Cisco IOS IP Application Services Command Reference

    Currently assigned IP multicast addresses

    Internet Multicast Addresses http:/​/​www.iana.org/​assignments/​multicast-addresses

    Configuration fundamentals configuration tasks

    Cisco IOS Configuration Fundamentals Configuration Guide

    Configuration fundamentals commands

    Cisco IOS Configuration Fundamentals Command Reference

    Cisco IOS bridging and IBM networking configuration tasks

    Cisco IOS Bridging and IBM Networking Configuration Guide

    Cisco IOS bridging and IBM networking commands

    Cisco IOS Bridging and IBM Networking Command Reference

    Cisco IOS IP multicast configuration tasks

    Cisco IOS IP Multicast Configuration Guide

    Cisco IOS IP Multicast commands

    Cisco IOS IP Multicast Command Reference

    Standards

    Standard

    Title

    IEEE Spanning-Tree Bridging

    802.1D MAC Bridges

    http:/​/​www.ieee802.org/​1/​pages/​802.1D-2003.html

    MIBs

    MIB

    MIBs Link

    No new or modified MIBs are supported, and support for existing MIBs has not been modified.

    RFCs

    RFC

    Title

    RFC 1812

    Requirements for IP Version 4 Routers http:/​/​www.ietf.org/​rfc/​rfc1812.txt

    RFC 2131

    Dynamic Host Configuration Protocol http:/​/​www.ietf.org/​rfc/​rfc2131.txt .

    Technical Assistance

    Description

    Link

    The Cisco Support and Documentation website provides online resources to download documentation, software, and tools. Use these resources to install and configure the software and to troubleshoot and resolve technical issues with Cisco products and technologies. Access to most tools on the Cisco Support and Documentation website requires a Cisco.com user ID and password.

    http:/​/​www.cisco.com/​cisco/​web/​support/​index.html

    Feature Information for WCCP—Configurable Router ID

    The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.

    Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to . An account on Cisco.com is not required.