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
Defaults
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
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
Command
ancp mode client
OL-25342 -01
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
Support for this command was introduced on the Catalyst 4500 series
switch.
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.3.0SG and IOS 15.1(1)SG)
Description
Sets the router to become an ANCP client.
ancp client server
2-17