Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches
ancp client server
To set the IP address of the remote ANCP server, use the ancp client server command.
Syntax Description
ipaddr of server
interface
Command Default
This command has no default settings.
Command Modes
Global configuration mode
Command History
Release
12.2(50)SG
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
The following 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
Command
ancp mode client
ancp client server ipaddr of server interface interface
IP address of the ANCP server the client must connect with TCP.
Interface to use for the connection.
Modification
This command was introduced on the Catalyst 4500 series switch.
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release XE 3.9.xE and 15.2(5)Ex
Description
Sets the router to become an ANCP client.
ancp client server
2-17