34-2
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 34 Configuring ANCP Client
Enabling and Configuring ANCP Client
Note IGMP snooping must be enabled on an ANCP client (Catalyst 4500 series switch) for processing
multicast commands (join, leave, leave all requests, and request for active flows report) from the ANCP
server. For information on enabling IGMP snooping. Refer to Chapter 23, “Configuring IGMP Snooping
and Filtering.”
The ANCP protocol must be able to identify the port on which multicast must be added. (This port can
be identified either using the identifier configured on the CLI or with the DHCP option 82 that was
inserted by the Catalyst 4500 switch while the subscriber received an IP address with DHCP. Either way,
you should be consistent in identifying a given port.
Enabling and Configuring ANCP Client
Note If you intend to use DHCP option 82 rather than CLI mapping (with the ancp client port identif...
command) you must enter the ip dhcp snooping command before configuring the ANCP client.
You can identify a port with the ancp mode client command or with DHCP option 82.
This section includes these topics:
Identifying a Port with the ANCP Protocol, page 34-2
Identifying a Port with DHCP Option 82, page 34-4

Identifying a Port with the ANCP Protocol

To make the Catalyst 4500 series switch operate as an ANCP client and to build and initialize its relevant
data, enter the ancp mode client command. The no version of this command disables ANCP. This
command disconnects the ANCP client from the ANCP server and terminates any existing multicast
streams that have been enabled with ANCP.
To configure a switch to communicate with a single ANCP server, use the [no] ancp client server
interface command. This command directs the ANCP client to initiate a TCP connection to the remote
ANCP server identified with the IP address. If the TCP connection fails, the connection times out and
retries for the connection every 120 seconds until it succeeds. The interface command specifies the
interface from which the local ANCP client obtains its IP address.The no command terminates the TCP
connection to the ANCP server but retains any existing ANCP activated multicast stream.
Separate commands enable the ANCP client and configure the IP address of the ANCP server. You can
reconfigure the IP address of the remote ANCP server without losing existing ANCP activated multicast
streams.
To identify a port with the ANCP protocol, follow these steps:
Step 1 Enable ANCP as follows:
Switch(config)> ancp mode client
Step 2 Configure the IP address of the remote server as the interface to acquire the source IP address:
Switch(config)> ancp client server ipaddress of server interface interface
The interface might be a loopback; this allows the client to reach the server using the interface.