Technical data

SET ROUTE
Not valid with /DEFAULT_ROUTE.
Qualifiers
/CONFIRM
/NOCONFIRM
Optional. Default: /CONFIRM if you use a wildcard.
Prompts you to confirm the change.
If you specify the /NOCONFIRM qualifier, the operation is performed without
asking you to confirm the request.
/DEFAULT_ROUTE
Optional. Default: 0.0.0.0.
Defines a second route to use if the first try to route a packet fails.
You must also specify a value for /GATEWAY.
Not valid with the destination parameter.
/GATEWAY=host
Optional. Default: None.
Gateway for the route. Necessary to send packets to a host on another network.
/MASK=mask_length
Optional. Default: None.
Defines the Classless Inter-Domain Routing (CIDR) mask length. (The mask
length is sometimes referred to as the prefix length.)
CIDR is a method of associating blocks of Internet addresses through the use
of a mask. With CIDR, a route is a combination of the IP address and a value
describing the length of the leftmost contiguous set of bits.
/NETWORK
Optional. Defaults:
Destination is classified based on its Internet network class (A, B, or C).
If the address is clearly a network number, SET ROUTE interprets the
number correctly.
Defines the route as a network route.
Use this qualifier if the network number could be misinterpreted as an IP host
address; for example, if a network mask is nonstandard, or if the IP address is
abbreviated.
This qualifier is required if you are creating a network route that specifies a
CIDR mask (for example, /MASK=mask_length).
/PERMANENT
Optional. Defaults:
If the network is not active, the permanent routes database is changed. If the
network is active, the volatile routes database is changed.
Changes only the permanent routes database.
Command Descriptions 2–141