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 #125 background imageLoading...
Page #125 background image
DescriptionURI Argument
Format output using JSON standard.
Type: exist
Values: any value or empty (any of js=1, js, js=0, or js=9999 are
valid)
Omitting this argument formats the output by default in XML
js (optional)
Table 101: Output Field Descriptions
DescriptionOutput Field
Ethernet link status
Type: String
Value: "Link Up" or "Link Down"
link
Ethernet link speed
Type: String
Value: "10 Mbps", "100 Mbps", "1 Gbps", or "N/A"
speed
Ethernet link speed
Type: String
Value: "Half", "Full", or "N/A"
duplex
Ethernet MDI status (crossover)
Type: String
Value: "MDI", "MDIX", or "N/A"
xover
Input example (request XML output format for data for all Ethernet ports):
curl -k -H "X-SESSION-ID: $token" "https://192.168.0.1/ws/v2/status/device/eth"
Expected output (values are for example purposes only):
<?xml version="1.0" encoding="ISO-8859-1" ?>
<device><eth><port>1</port><link>Link Up</link><speed>1
Gbps</speed><duplex>Full</duplex><xover>N/A</xover></eth><eth><port>2</port><link>Link
Down</link><speed>N/A</speed><duplex>N/A</duplex><xover>N/A</xover></eth><eth><port>3</port><link>Link
Down</link><speed>N/A</speed><duplex>N/A</duplex><xover>N/A</xover></eth></device>
Input example (get status of Ethernet port 1 in JSON format):
curl -k -H "X-SESSION-ID: $token" "https://192.168.0.1/ws/v2/status/device/eth?port=1&js=1"
Expected output (values are for example purposes only):
{
"device": {
"eth": {
"port": "1",
"link": "Link Up",
"speed": "1 Gbps",
"duplex": "Full",
"xover": "N/A"
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
113
API Definitions
Device Status Command

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