< Home

service-exclude (proxy policy rule view)

Function

The service-exclude command sets an exception service.

The undo service-exclude command cancels the configured an exception service.

Format

service-exclude service-name &<1-6>

undo service-exclude service-name &<1-6>

Parameters

Parameter Description Value
service-name &<1-6> Specifies the name of a service or service group. The value must be the name of an existing service or service group. Up to six exception services (service groups) can be configured or canceled in the proxy policy rule view.

Views

Proxy policy rule view

Default Level

2: Configuration level

Usage Guidelines

If the service type of a flow matches an exception service type configured in the proxy policy rule view, the flow skips and is not controlled by the proxy policy.

Example

# Set the exception service http in proxy policy rule policy_proxy.

<sysname> system-view
[sysname] proxy-policy
[sysname-policy-proxy] rule name policy_proxy
[sysname-policy-proxy-rule-policy_proxy] service-exclude http
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >