route-policy nonexistent-config-check

Function

The route-policy nonexistent-config-check command controls whether the system allows a nonexistent route-policy to be specified in a command.

The undo route-policy nonexistent-config-check disable command forbids a nonexistent route-policy to be specified in a command.

By default, the system does not allow a nonexistent route-policy to be specified in a command.

Format

route-policy nonexistent-config-check disable

route-policy nonexistent-config-check enable

undo route-policy nonexistent-config-check disable

Parameters

Parameter Description Value
enable

Indicates that the system does not allow a nonexistent route-policy to be specified in a command.

-

disable

Indicates that the system allows a nonexistent route-policy to be specified in a command.

-

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
route-base write

Usage Guidelines

Usage Scenario

By default, if you specify a nonexistent route-policy in a command, the command does not take effect. To enable the system to allow a nonexistent route-policy to be specified in a command, run the route-policy nonexistent-config-check disable command.

Example

# Enable the system to allow a nonexistent route-policy to be specified in a command.
<HUAWEI> system-view
[~HUAWEI] route-policy nonexistent-config-check disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >