| setroute_distance |
Use this method to set administrative distance of this route, which determines the preference of this route over other routes, with same destination, from different routing protocols. A lower value is preferred. |
Syntax |
Parameters |
network |
Network address in the route entry that you want to modify. This is mandatory parameter. |
netmask |
Subnet mask associated with the network address. This is mandatory parameter. |
gateway |
IP address of the gateway for this route. Can be either the IP address of the gateway, or can be null to specify a null interface route. This is mandatory parameter. |
ownergroup |
The owner node group in a Cluster for this route. If owner node group is not specified then the route is treated as Striped route. Default value = DEFAULT_NG. |
distance |
Administrative distance of this route, which determines the preference of this route over other routes, with same destination, from different routing protocols. A lower value is preferred. Default value = STATIC_ROUTE_DEFAULT_DISTANCE. Maximum value = 255. |
Return Value |
Returns simpleResult |
See Also |