Cisco Cisco TelePresence MCU 4510 Developer's Guide

Page of 296
route.add
Adds a route, via the gateway specified, to a range of destination IP addresses. Returns a newRouteId if
successful.
Input parameters
Required inputs
Parameter name
Type
Short description
destination
string
IP address of the route's destination.
prefixLength
integer
The prefix length of the destination IP range for this route
(the number of fixed bits in the address).
gateway
string
One of or (to use the default gateway configured for that
ethernet port), or the IP address of the gateway of this route
(must be a valid IP address of the same type as
destination
).The IP address of the gateway (or next hop)
of this route.
Returned data
Conditionally returned
If the call is successful, the response includes the following data:
Parameter name
Type
Short description
status (success)
string
Operation successful
newRouteId
integer
A number selected by the device to identify the newly
added route. Pass this parameter as routeId to any calls
that require identification of the new route.
Cisco TelePresence MCU API 2.10
Page 151 of 296
API commands
route.add