2-17
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
OL-27596 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
ancp client server
ancp client server
To set the IP address of the remote ANCP server, use the ancp client server command.
ancp client server ipaddr of server interface interface
Syntax Description
Defaults This command has no default settings.
Command Modes Global configuration mode
Command History
Usage Guidelines The interface can be the direct interface connected towards the ANCP server (if only one) or a loopback
interface if several interfaces are available for connecting to the server and proper routing is set. (An IP
address must be configured on this interface and it should not be in shutdown state.) Along with the ancp
mode client command, the ancp client server command is required in order to activate the ANCP client.
Once you enter this command, the ANCP client tries to connect to the remote server.
Examples This example shows how to indicate to the ANCP client the IP address of the ANCP server it needs to
connect to:
Switch# ancp client server 10.1.2.31 interface FastEthernet 2/1
Related Commands
ipaddr of server IP address of the ANCP server the client must connect with TCP.
interface Interface to use for the connection.
Release Modification
12.2(50)SG Support for this command was introduced on the Catalyst 4500 series
switch.
Command Description
ancp mode client Sets the router to become an ANCP client.