Skip to main content
Viptela is now part of Cisco.
Support
Product Documentation
Viptela Documentation

control-policy

policy control-policy—Configure or apply a centralized control policy (on vSmart controllers only).

vManage Feature Template

For vSmart controllers:

Configuration ► Policies

Command Hierarchy

Create a Centralized Control Policy

policy
  control-policy policy-name
    default-action action
    sequence number
      match
        route
          color color
          color-list list-name
          omp-tag number
          origin protocol
          originator ip-address
          preference number
          prefix-list list-name
          site-id site-id
          site-list list-name
          tloc address
          tloc-list list-name
          vpn vpn-id
          vpn-list list-name
        tloc 
          carrier carrier-name
          color color
          color-list list-name
          domain-id domain-id
          omp-tag number
          originator ip-address
          preference number
          site-id site-id
          site-list list-name
          tloc address
          tloc-list list-name
      action
        reject
        accept
          export-to (vpn vpn-id | vpn-list list-name)
          set
            omp-tag number
            preference value
            service service-name (tloc-ip address | tloc-list list-name) [vpn vpn-id]
            tloc ip-address color color [encap encapsulation]
            tloc-action action
            tloc-list list-name

Apply a Centralized Control Policy

apply-policy
  site-list list-name control-policy policy-name (in | out)

Options

Control Policy Name
policy-name
Name of the control policy to configure or to apply to a site list. policy-name can be up to 32 characters long.

Operational Commands

show policy commands

Example

On a vSmart controller, configure a control policy that changes the TLOC address of matching prefixes:

policy
 lists
   prefix-list east-prefixes
     ip-prefix 8.8.0.0/16
   site-list west-sites
     site-id 1
 control-policy change-tloc
   sequence 10
     match route
       prefix-list east-prefixes
       site-id 2
     action accept
       set tloc 10.1.1.2
apply-policy
 site west-sites control-policy change-tloc out

Release Information

Command introduced in Viptela Software Release 14.1.​

Additional Information

See the Policy Overview and Configuring Centralized Control Policy articles for your software release.

  • Was this article helpful?