< Home

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 | enable }

undo route-policy nonexistent-config-check disable

Parameters

Parameter Description Value
disable Indicates that the system allows a nonexistent route-policy to be specified in a command. -
enable Indicates that the system does not allow a nonexistent route-policy to be specified in a command. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

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