Cisco Prime Infrastructure API
Prime Infrastructure API Documentation

GET aaa/tacacsPlusServer

Read all TACACS+ servers

Since Product Version: 3.0

Resource Information

Rate Limiting?

No

Sorting?

No

Paging?

No

Filtering?

No

Group Filtering?

No

Aggregation?

No

Response Formats

xml

json

User Group

NBI Credential

HTTP Methods

GET

Resource URL

/webacs/api/v3/op/aaa/tacacsPlusServer

Unmodified

This resource has not been modified since the previous API version.

Response Parameters

Attribute Description

operationSucceeded boolean

A flag of a successful operation

resultMessage String

Description of the operation result

servers Arrow image TACACSPlusServer[]

List of all TACACS+ servers in the system

Sample Payloads

Sample payloads are for information only. They are automatically generated and the values included may not be representative of actual valid data values.

Sample XML Response Payload

https://localhost/webacs/api/v3/op/aaa/tacacsPlusServer

<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="https://localhost/webacs/api/v3/op/aaa/tacacsPlusServer" rootUrl="https://localhost/webacs/api/v3/op">
  <listServerResult>
    <operationSucceeded>true</operationSucceeded>
    <resultMessage>String value</resultMessage>
    <servers>
      <server>
        <authenticationType>PAP</authenticationType>
        <localInterfaceIp>
          <address>192.168.115.243</address>
        </localInterfaceIp>
        <numberOfTries>1</numberOfTries>
        <port>1</port>
        <retransmitTimeout>1</retransmitTimeout>
        <secretKey>String value</secretKey>
        <secretKeyType>ASCII</secretKeyType>
        <serverHostName>String value</serverHostName>
        <serverIp>
          <address>192.168.115.243</address>
        </serverIp>
      </server>
      <server>
        <authenticationType>CHAP</authenticationType>
        <localInterfaceIp>
          <address>192.168.115.244</address>
        </localInterfaceIp>
        <numberOfTries>11</numberOfTries>
        <port>11</port>
        <retransmitTimeout>11</retransmitTimeout>
        <secretKey>Another string value</secretKey>
        <secretKeyType>HEX</secretKeyType>
        <serverHostName>Another string value</serverHostName>
        <serverIp>
          <address>192.168.115.244</address>
        </serverIp>
      </server>
    </servers>
  </listServerResult>
</mgmtResponse>

Sample JSON Response Payload

https://localhost/webacs/api/v3/op/aaa/tacacsPlusServer.json

{
  "mgmtResponse" : {
    "@requestUrl" : "https://localhost/webacs/api/v3/op/aaa/tacacsPlusServer",
    "@responseType" : "operation",
    "@rootUrl" : "https://localhost/webacs/api/v3/op",
    "listServerResult" : [ {
      "operationSucceeded" : true,
      "resultMessage" : "String value",
      "servers" : {
        "server" : [ {
          "authenticationType" : "PAP",
          "localInterfaceIp" : {
            "address" : "192.168.115.243"
          },
          "numberOfTries" : 1,
          "port" : 1,
          "retransmitTimeout" : 1,
          "secretKey" : "String value",
          "secretKeyType" : "ASCII",
          "serverHostName" : "String value",
          "serverIp" : {
            "address" : "192.168.115.243"
          }
        }, {
          "authenticationType" : "CHAP",
          "localInterfaceIp" : {
            "address" : "192.168.115.244"
          },
          "numberOfTries" : 11,
          "port" : 11,
          "retransmitTimeout" : 11,
          "secretKey" : "Another string value",
          "secretKeyType" : "HEX",
          "serverHostName" : "Another string value",
          "serverIp" : {
            "address" : "192.168.115.244"
          }
        } ]
      }
    } ]
  }
}