< Home

route inject(Upgrade-compatible Command)

Function

The route inject command configures route injection.

The undo route inject command cancels the configuration.

By default, route injection is not configured.

Format

route inject nexthop nexthop-address { static | dynamic } [ preference preference ]

Parameters

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

Views

ISAKMP IPSec policy view, IPSec policy template view

Default Level

2: Configuration level

Usage Guidelines

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.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >