ADC NITRO APIs

traceroute6

Configuration for 0 resource.

Properties

(click to see Operations )

Name Data Type Permissions Description
n <Boolean> Read-write Print hop addresses numerically rather than symbolically and numerically.
I <Boolean> Read-write Use ICMP ECHO for probes.
r <Boolean> Read-write Bypass normal routing tables and send directly to a host on an attached network. If the host is not on a directly attached network, an error is returned.
v <Boolean> Read-write Verbose output. List received ICMP packets other than TIME_EXCEEDED and UNREACHABLE.
m <Integer> Read-write Maximum hop value for outgoing probe packets. For Nitro API, default value is taken as 10.

Default value: 64

Minimum value = 1

Maximum value = 255
p <Integer> Read-write Base port number used in probes.

Default value: 33434

Minimum value = 1

Maximum value = 65535
q <Integer> Read-write Number of probes per hop. For Nitro API, default value is taken as 1.

Default value: 3

Minimum value = 1

Maximum value = 65535
s <String> Read-write Source IP address to use in the outgoing query packets. If the IP address does not belong to this appliance, an error is returned and nothing is sent.

Minimum length = 1
T <Double> Read-write Traffic Domain Id.

Minimum value = 1

Maximum value = 4094
w <Integer> Read-write Time (in seconds) to wait for a response to a query. For Nitro API, defalut value is set to 3.

Default value: 5

Minimum value = 2

Maximum value = 86399
host <String> Read-write Destination host IP address or name.

Minimum length = 1

Maximum length = 256
packetlen <Integer> Read-write Length (in bytes) of the query packets.

Default value: 44

Minimum value = 44

Maximum value = 32768
response <String> Read-only .

Operations

(click to see Properties )

  • TRACEROUTE6

Some options that you can use for each operations:

  • Getting warnings in response: NITRO allows you to get warnings in an operation by specifying the 'warning' query parameter as 'yes'. For example, to get warnings while connecting to the NetScaler appliance, the URL is as follows:

    http:// <netscaler-ip-address> /nitro/v1/config/login?warning=yes

    If any, the warnings are displayed in the response payload with the HTTP code '209 X-NITRO-WARNING'.

  • Authenticated access for individual NITRO operations: NITRO allows you to logon to the NetScaler appliance to perform individual operations. You can use this option instead of creating a NITRO session (using the login object) and then using that session to perform all operations,

    To do this, you must specify the username and password in the request header of the NITRO request as follows:

    X-NITRO-USER: <username>

    X-NITRO-PASS: <password>

    Note: In such cases, make sure that the request header DOES not include the following:

    Cookie:NITRO_AUTH_TOKEN= <tokenvalue>

*Note: * Mandatory parameters are marked in red and placeholder content is marked in green

Traceroute6

URL: http:// <netscaler-ip-address> /nitro/v1/config/traceroute6 HTTP Method: POST

Request Headers:

Cookie:NITRO_AUTH_TOKEN= <tokenvalue>

Content-Type:application/json

Request Payload:

{"traceroute6":{
"n":<Boolean_value>,
"I":<Boolean_value>,
"r":<Boolean_value>,
"v":<Boolean_value>,
"m":<Integer_value>,
"p":<Integer_value>,
"q":<Integer_value>,
"s":<String_value>,
"T":<Double_value>,
"w":<Integer_value>,
<b>"host":<String_value>,
</b>"packetlen":<Integer_value>
}}

<!--NeedCopy-->

Response: HTTP Status Code on Success: 200 OK

HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error

Response Payload:

{ "traceroute6": [ {
"response":<String_value>

}]}

<!--NeedCopy-->
traceroute6