< Home

tunnel-policy nonexistent-config-check

Function

The tunnel-policy nonexistent-config-check command configures whether a nonexistent tunnel policy can be specified in a command.

The undo tunnel-policy nonexistent-config-check disable command configures only an existing tunnel policy can be specified in a command.

By default, only an existing tunnel policy can be specified in a command.

Format

tunnel-policy nonexistent-config-check { disable | enable }

undo tunnel-policy nonexistent-config-check disable

Parameters

Parameter Description Value
disable Indicates that a nonexistent tunnel policy can be specified in a command. -
enable Indicates that only an existing tunnel policy can be specified in a command. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

By default, if you specify a nonexistent tunnel policy in a command, the command does not take effect.

If you need the nonexistent tunnel policy can be specified in a command, run the tunnel-policy nonexistent-config-check disable command.

Example

# Indicates that a nonexistent tunnel policy can be specified in a command.

<HUAWEI> system-view
[HUAWEI] tunnel-policy nonexistent-config-check disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >