< Home

tunnel-policy nonexistent-config-check

Function

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

The undo tunnel-policy nonexistent-config-check disable command controls the system allows a nonexistent tunnel policy to be specified in a command.

By default, the system does not allow a nonexistent tunnel policy to 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 the system allows a nonexistent tunnel policy to be specified in a command. -
enable Indicates that the system does not allow a nonexistent tunnel policy to 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.

To enable the system to allow a nonexistent tunnel policy to be specified in a command, run the tunnel-policy nonexistent-config-check disable command.

Example

# Enable the system to allow a nonexistent tunnel policy to be specified in a command.

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