Technical data
SET ROUTE
SET ROUTE
Defines a routing path in either the permanent or volatile routes database.
Routes in the permanent, on-disk routes database are static. Static routes can be
supplemented by routes that the dynamic routing server receives. Defaults are as
follows:
• If the network is not active, the command affects the permanent database.
• If the network is active, the command affects the volatile database. (To
modify the permanent database, use the /PERMANENT qualifier.)
Note the following restrictions:
• You can add routes.
• You cannot use SET NOROUTE to remove a route that is maintained by the
route daemon.
• To have full manual control over your routing table, first issue STOP
ROUTING and then use SET NOROUTE.
• SET NOROUTE does not require any qualifiers.
Related commands: SHOW ROUTE, STOP ROUTING
Note
HP strongly recommends that you do not specify alias names with the
destination parameter or with the /GATEWAY=host qualifier.
Format
SET [NO]ROUTE destination
[ /[NO]CONFIRM ]
[ /DEFAULT_ROUTE ]
[ /GATEWAY=host ]
[ /MASK=mask_length ]
[ /NETWORK ]
[ /PERMANENT ]
Restrictions
Requires OPER privilege if:
• The TCP/IP Services product is running.
• The routes database requires read and write access.
Parameters
destination
Required unless you specify the /DEFAULT_ROUTE qualifier.
Host or network through which to route packets. Specify one of the following:
• A host, as it is defined in the hosts database
• A network, as it is defined in the networks database
2–140 Command Descriptions