78-1 create iproute
Description
This command is used to create a static IP route. Selecting “primary” or “backup” means the newly
created route is a floating static route. If none of the following, “primary” or “backup”, is selected,
the default route will:
1. Be primary if there is no primary route that has the same destination;
2. Be backup if there has been a primary route that has the same destination.
3. Fail to create if there have been a primary route and a backup route that have the same
destination.
4. Fail to create if there has been one static multipath route that has the same destination.
It will fail if a user wants to create a floating static route and there has been one static multipath
route with the same destination.
It will fail if a user wants to create a static multipath route and there has been a floating static route,
whether primary or backup.
Format
create iproute [default] <ipaddr> {<metric 1-65535>} {[primary | backup]}
Parameters
<metric 1-65535> - (Optional) Enter the metric value here. This value must be between 1 and
65535. The default setting is 1.
primary - (Optional) Specifies the route as the primary route to the destination.
backup - (Optional) Specifies the route as the backup route to the destination.
Restrictions
Only Administrators, Operators and Power-Users can issue this command.
Example
To add a floating static route and a static multipath route: