service-policy (control plane)

Binds a policy map as a service policy for receive ACL (RACL) IPv4 and IPv6 inbound traffic to the control plane.

Syntax

service-policy in policy-mapname
no service-policy in

Command Default

No service policy is created.

Parameters

policy-mapname
Name of the policy map.

Modes

Control-plane configuration mode

Usage Guidelines

The policy map must be configured before you can apply it (refer to the description of the policy-map command).

The no form of this command removes the service-policy map from the control plane.

Examples

The following example applies a policy map as a service policy to the control plane.
device# configure terminal
device(config)# control-plane
device(conf-control-plane)# service-policy in policymap1
The following example removes a policy map from the control plane.
device# configure terminal
device(config)# control-plane
device(conf-control-plane)# no service-policy in