Creating Policies for an IP Service
Starting from Connectivity Services Director Release 2.0R4 onward, you can create route target policies or protocol policies. These policies can be associated with provider edge protocols and customer edge protocols, and route target. In releases earlier than Connectivity Services Director Release 2.0R4, the Connectivity Services Director application automatically generates route target polices. You can create these policies on the Node Settings page of the Create IP Service Order wizard.
To create a route target policy, you must select the Policy Based Route Target check box in the Create IP Service Definition wizard. If you have cleared the Policy Based Route Target check box, the Connectivity Services Director application does not generate the policy.
If you have selected the Policy Based Route Target check box, you have an option to create a policy on the Node Settings page of the Create IP Service Order wizard. If you have not defined a policy in the Create IP Service Order wizard, the Connectivity Services Director application automatically generates the necessary policy.
Creating PE–CE protocol policies is optional.
- On the Node Settings page of the Create IP Service Order
wizard, click Create Policy.
The Policy Settings window appears.
- Fill in the following fields in the Policy Settings window:
Field
Description
Device Name
This drop down menu lists the devices that are part of the IP service. Select a device that you want to apply the policy.
Option Settings
Option Type
Select an option type:
Community
Specify the following attributes:
Community name—Specify the name of the community.
Range: 0 through 255 characters
Member—Specify the member value in AS-number or IP address:ID format
AS Number Range: 1 through 65535
IP address Range: Globally unique unicast address.
As-path
Specify the following attributes:
AS-path name—Specify the name of the AS path.
Range: 0 through 255 characters
Path—Specify the path.
Range: Regular expressions
prefix-list
Specify the following attributes:
Prefix List Name—Specify the name of the prefix list.
Range: 0 through 255 characters
Prefix Address—Specify the prefix address.
IP address Range: Globally unique address with subnet mask.
Add
Click Add to validate option attribute values. The attribute is listed in the table.
Delete
Select an attribute from the table and click Delete to delete an option attribute row.
Policy Settings
Policy Name
Specify the name of the policy.
Range: 0 through 255 characters
Name
Specify the name of the policy term.
Range: 0 through 255 characters
Clause
Select one of the following clause:
From
Then
Attribute selection
If the Clause type is From select one of the following attributes:
route filter
community
protocol
family
as-path
prefix-list
prefix-list-filter
If the Clause type is Then, select one of the following attributes:
community
local-preference
accept
reject
Add
Click Add to validate policy setting values. The attribute is listed in the table.
Delete
Select an attribute from the table and click Delete to delete a policy term.
- Click Save.
The policy is created.