EasyManuals Logo

Cisco D9800 User Manual

Cisco D9800
294 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #276 background imageLoading...
Page #276 background image
Table 220: URI Query/Set Arguments (possible fields and values preceded by ? and separated by &)
DescriptionURI Argument
D/R backup channel Program Entry ID
Type: String
Values: "PE1" "PE16"
peid (Key)
Record index of D/R backup Transport
Type: Integer
Values: 1 3
csirec (Key)
D/R backup channel number
Type: Integer
Values: 0 65535
bkpchan
POST Examples
Example 1: Set various D/R global Setting Arguments
The following example assumes that the user has successfully logged onto the unit, received the session ID,
and set it to the variable token. In addition, it is assumed that the IP of the unit is 192.168.0.1. You must
change the IP to the specific unit IP in use. This example set the commode to Std.
curl -X POST -i -H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"https://192.168.0.1/ws/v2/service_cfg/dr/channels?peid=PE1&csirec=1&bkpchan=30"
If successful, the return body will look be:
"response": {
"code": "10",
"result": "success",
"message": ""
}
GET Examples
Example 2: Retrieve the full D/R backup Settings
The following example assumes that the user has successfully logged onto the unit, received the session ID,
and set it to the variable token. In addition, it is assumed that the IP of the unit is 192.168.0.1. You must
change the IP to the specific unit IP in use.
curl -X GET -i -H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"https://192.168.0.1/ws/v2/service_cfg/dr/channels"
If successful, the return body will be:
"dr": {
"channels": [
{
"peid": "PE1",
"csirec": "1",
"bkpchan": "201",
},
{
"peid": "PE1",
"csirec": "2",
"bkpchan": "0",
},
{
"peid": "PE1",
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
264
API Definitions
Disaster Recovery (D/R) Configuration API

Table of Contents

Other manuals for Cisco D9800

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco D9800 and is the answer not in the manual?

Cisco D9800 Specifications

General IconGeneral
BrandCisco
ModelD9800
CategoryReceiver
LanguageEnglish

Related product manuals