ADC CLI Commands

pcp-server

The following operations can be performed on “pcp-server”:

set unset add show stat rm

set pcp server

Modifies the specified parameters of a pcp server.

Synopsis

set pcp server [-port <port|*>] [-pcpProfile ]

Arguments

name Name of the pcp server.

port Port number for the PCP server. Default value: 5351

pcpProfile pcp profile name

Example

set pcp server pcp_svr -port 5000 -profile profile_1

unset pcp server

Use this command to remove pcp server settings.Refer to the set pcp server command for meanings of the arguments.

Synopsis

unset pcp server [-port] [-pcpProfile]

add pcp server

Creates a pcp server.

Synopsis

add pcp server [-port <port|*>] [-pcpProfile ]

Arguments

name Name for the PCP server. Must begin with an ASCII alphanumeric or underscore (_) character, and must contain only ASCII alphanumeric, underscore CLI Users: If the name includes one or more spaces, enclose the name in double or single quotation marks (for example, “my pcpServer” or my pcpServer).

IPAddress The IP address of the PCP server.

port Port number for the PCP server. Default value: 5351

pcpProfile pcp profile name

Example

add pcp server pcp_svr 10.102.1.10

show pcp server

Displays the pcp server information.

Synopsis

show pcp server []

Arguments

name Name of the pcp server.

Output

IPAddress The IP address of the PCP server.

port Port number for the PCP server.

pcpProfile pcp profile name

devno count stateflag

stat pcp server

DIsplay pcp statistics.

Synopsis

stat pcp server [] [-detail] [-fullValues] [-ntimes ] [-logFile ] [-clearstats ( basic | full )]

Arguments

name PCP Statistics per Server

detail Specifies detailed output (including more statistics). The output can be quite voluminous. Without this argument, the output will show only a summary.

fullValues Specifies that numbers and strings should be displayed in their full form. Without this option, long strings are shortened and large numbers are abbreviated

ntimes The number of times, in intervals of seven seconds, the statistics should be displayed. Default value: 1 Minimum value: 0

logFile The name of the log file to be used as input.

clearstats Clear the statsistics / counters

Possible values: basic, full

Output

count devno stateflag

Counters

Total PCP Requests received (requests) PCP Request received.

Total Responses sent (responses) Number PCP responces sent.

Total PCP MAP Rquests rcvd (peerReq) PCP MAP Requests received.

Total PCP PEER Requests rcvd (mapRqsts) PCP PEER Requests received.

Total requests with errors (errInReq) total PCP request with error.

Total responses with errors (errInRes) Total PCP responses with errors.

Total unsupported version request (unsuppVers) PCP request with unsupported version.

Total Malformed Requests (malformedReq) total PCP request having malformed PCP packets.

Total Unsupported OPCODES (unsupOpcode) total Unsupproted OPCODES received Requests.

Total Unsupported OPTIONS (unsupOption) total Unsupproted OPTIONS received in requests.

Total malformed OPTIONS (malformedOption) total malformed OPTIONS received in requests.

Total Network Failures (ntwrkFail) Total Network Failures.

Total No resources reponse (noResource) no resources

Total Unsupported Protocols requests (unsupProto) Total Unsupported Protocols requests.

Total User Ex Qouta (userExqouta) Total user ex quota.

Total cannot provide extrnl resp (noExternal) Total responses with opcode can not provide external.

Total address mismatch rqsts (addrMismatch) Total address mismatch.

Total Excess Remote Peers (excessPeers) Total responses with opcode excessive remote peers.

rm pcp server

Removes a pcp server from the Citrix ADC.

Synopsis

rm pcp server ...

Arguments

name Name of the pcp server.

Example

rm pcp server pcp_svr

pcp-server