overlay-service-policy

Binds an overlay policy map to an overlay gateway or overlay transit instance.

Syntax

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

Command Default

No overlay policy map is bound.

Parameters

in
Specifies that the policy be applied on ingress traffic (required).
policy-mapname
Name of an overlay policer policy map.

Modes

Overlay gateway instance configuration mode

Overlay transit instance configuration mode

Usage Guidelines

This command is not supported for SLX 9150 or SLX 9250 devices.

Only ingress policies are supported.

Overlay transit instances are applicable to spine nodes only in an IP Fabric.

Use the no form of the command to unbind the policy.

Examples

The following example binds a policy map to an overlay gateway instance.

device# configure terminal
device(config)# overlay-gateway gw1
device(conf-overlay-gw-gw1)# overlay-service-policy in servicepolicy1

The following example binds a policy map to an overlay transit instance on a spine node.

device# configure terminal
device(config)# overlay-transit transit1
device(conf-overlay-transit-transit1)# overlay-service-policy in servicepolicy1

The following example unbinds the policy map from the above instance.

device# configure terminal
device(config)# overlay-transit myOTinstance
device(conf-overlay-transit-transit1)# no overlay-service-policy in servicepolicy1