Cisco Cisco TelePresence MCU 4510 Developer's Guide

Page of 296
device.network.query
Queries the device for its network information. The call takes no parameters and returns three data
structures: dnsportA, and portB. Some of the data listed below will be omitted if the interface is not
enabled or configured. The query returns empty strings or dashes for addresses that are not configured.
Returned data
Parameter name
Type
Short description
dns
struct
The struct members represent the device's
DNS parameters.
hostName
string (255) The host name of queried device. Deprecated in
API version 2.8.
nameServer
string (79) The IP address of the name server, in dotted quad
format (IPv4) or CIDR format (IPv6).
nameServerSecondary
string (79) The IP address of the secondary name server, in dotted
quad format (IPv4) or CIDR format (IPv6).
domainName
string (255) The domain name (DNS suffix).
portA
struct
A structure that contains configuration and status
information for Ethernet port A on the device.
portB
struct
A structure that contains configuration and status
information for Ethernet port B on the device.
enabled
boolean
true
if this feature or item is enabled.
ipv4Enabled
boolean
true
if IPv4 interface is enabled.
ipv6Enabled
boolean
true
if IPv6 interface is enabled.
linkStatus
boolean
true
if the ethernet connection to this port is active.
speed
integer
Speed of the connection on this Ethernet interface. One
of 10, 100 or 1000, in Mbps.
fullDuplex
boolean
true
if the port supports a full-duplex connection, false
for half-duplex.
macAddress
string
The MAC address of this interface. A 12 character string
of hex digits with no separators.
packetsSent
integer
The number of packets sent from this Ethernet port.
packetsReceived
integer
The number of packets received on this Ethernet port.
multicastPacketsSent
integer
Number of multicast packets sent from this Ethernet
interface.
Cisco TelePresence MCU API 2.10
Page 84 of 296
API commands
device.network.query