The route inject command configures route injection.
The undo route inject command cancels the configuration.
By default, route injection is not configured.
| Parameter | Description | Value |
|---|---|---|
| nexthop nexthop-address | Specifies the next hop IP address to the remote end. | - |
| static | Enables static route injection. The parameter is only available in the ISAKMP IPSec policy view. |
- |
| dynamic | Enables dynamic route injection. |
- |
| preference preference | Specifies the priority of a static route generated through route injection. |
The value is an integer that ranges from 1 to 255. The default value is 60 |
This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.
After the upgrade, this command is no longer supported, and it is replaced by the route inject nexthop nexthop-address and route inject { static | dynamic } [ preference preference ] command.