apply policy
(Context:
config
)
Syntax
apply policy <POLICY-NAME> in
no apply policy <POLICY-NAME> in
Description
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
no
form of this command removes application of the global policy.
Command context
config
Parameters
<POLICY-NAME>
Specifies the policy to apply.
in
Specifies inbound (ingress) traffic.
Authority
Administrators
Examples
Applying policy global1 to the global config context:
switch(config)# apply policy global1 in
Removing application of policy global1 from the global config context:
switch(config)# no apply policy global1 in