apply policy(Context:config)

Syntax

apply policyin no apply policyin

描述

Applies a policy to the global config context.

Only one policy can be globally applied at a time. Applying a policy globally again, replaces the previous globally applied policy.

The没有form of this command removes application of the global policy.

Command context

config

Parameters

Specifies the policy to apply.

in

Selects the inbound (ingress) traffic direction.

Authority

Administrators or local user group members with execution rights for this command.

Examples

运用政策global1通配符匹配操作符al config context:

switch(config)#apply policy global1 in

Removing application of policy global1 from the global config context:

switch(config)#没有apply policy global1 in