< Home

policy-default-action

Function

The policy-default-action command sets the default policy action of a virtual gateway.

Format

policy-default-action { deny | permit } vt-src-ip

Parameters

Parameter Description Value
deny Denies the passing of matching packets. -
permit Permits the matching packets to pass. -
vt-src-ip Indicates the default policy behavior based on the virtual gateway source IP addresses. -

Views

Security view

Default Level

2: Configuration level

Usage Guidelines

None

Example

# Set the default policy action of the virtual gateway: permit users to access all the destination IP addresses.

<sysname> system-view
[sysname] v-gateway gateway
[sysname-gateway] security
[sysname-gateway-security] policy-default-action permit vt-src-ip
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >