|
|
1 |
Choose Policies→Routing→Statement from the NFM-P main menu. The Routing Policy - Statements form opens.
|
2 |
Click Create or choose a policy and click Properties. The Routing Policy - Statement, Global Policy form opens.
|
3 |
Configure the required parameters on the General tab.
Note: Do not create new routing policy statements with the following terms as the Policy Statement Name: N/A or n/a. Also, updating the policy statement name using node CLI as N/A is not valid.
If you set the Default Action parameter to Accept, Next Entry, Next Policy, or Reject/Drop, the Default Action tab is selectable. Go to
Step 4.
If you set the Default Action parameter to None, go to
Step 6.
|
4 |
Configure a default action for the routing policy statement. Click on the Default Action tab and perform the following on the General tab:
-
Configure the parameters, policy variables, and global variables on the General sub-tab, as required.
Note:
If you want to specify a policy variable for an action item on this tab, select the policy statement entry that defines the required policy variable.
If you want to specify a policy variable for an action item on this tab, then you cannot configure a corresponding parameter Value for the same item. They are mutually exclusive.
If you want to specify a global variable for an action item on this tab, select the global variable entry that defines the required global variable. Global variables are configured in
To configure global variables.
-
Click on the Path sub-tab and configure the BGP AS path parameters and variables, as required.
Note:
A BGP AS Path Name must be selected if the BGP AS Path Action is set to Add or Replace.
You cannot specify both a BGP AS Prepend Number and a BGP AS Prepend Policy Variable. They are mutually exclusive.
If you are specifying a BGP AS Prepend Policy Variable, this is done by selecting the policy statement entry that defines the required variable.
If you want to specify a global variable for an action item on this tab, select the global variable entry that defines the required global variable. Global variables are configured in
To configure global variables.
|
5 |
Configure the default community actions for the routing policy statement.
-
Click on the Default Community Actions tab and click on the Add, Remove, or Replace sub-tabs as required to perform the specific action that you want to configure.
-
Click Select to add, remove, or replace a Community Name Action. Review the usage notes provided below the Community Name Action field and implement, as required.
Note: You can specify mid-string expansions such as "peer-@asname@" or "comm-@peeras@-add" for example, for the Community Name Action field. However, there is no validation on the parameterized mid-strings entered for communities.
|
6 |
Configure policy statement entries for the routing policy statement.
Note: Routing policy entries are compared against incoming packets. Entries are compared in the numerical sequence of the Entry IDs, from lowest to highest. When a match is found, the action specified using the Action parameter occurs. If no action is specified, the action specified using the Default Action parameter occurs. If no default action is specified, the default action for the protocol or the route configuration occurs. For this reason, Nokia recommends that you sequence the routing policy entries to ensure the first entry is the most explicit and the last entry is the least explicit.
Nokia recommends staggering the numerical Entry ID values (for example, using 10, 20, 30… instead of 1, 2, 3…), to allow insertion of additional entries without renumbering the entire set. The NFM-P supports renumbering existing entries on supporting NEs.
-
Click on the Policy Statement Entries tab.
-
To renumber an entry on an existing policy statement, choose the entry in the list and click Renumber ID. Repeat for each additional entry that requires renumbering.
When the routing policy statement is redistributed to NEs that support entry renumbering, the new Entry ID values are used.
-
Click Create, or choose a policy in the list and click Properties. The Policy Statement Entry, Site form opens.
-
Configure the required parameters on the General tab.
Select a policy variable for the SRv6 Sid Prefix Address parameter, configure the SRv6 Sid Prefix Length parameter, and select a global variable for the Policy/Global Variable parameter.
You can choose to enable or disable either or both the To Criteria and From Criteria here, whether they are configured or not.
If you set the Action parameter to Accept, Next Entry, or Next Policy, the Action tab is selectable. Go to
Step 7 .
If you set the Action parameter to None or Reject/Drop, go to
Step 8 .
|
7 |
Click on the Action tab to configure actions for the policy statement entry.
-
Configure the parameters and select policy variables on the General sub-tab, as required.
Notes:
You must configure the SR Maintenance Policy parameter in order to select the policy variables in the SRv6 Return Path BFD and SR Return Path BFD Label panels.
If you want to specify a policy variable for a subordinate policy action item on this tab, this is done by selecting the policy statement entry that defines the required variable. Such a policy statement entry is typically part of another existing (higher level) routing policy statement.
-
Click on the Path sub-tab and configure the BGP AS path parameters, as required.
Note:
A BGP AS Path Name must be selected if the BGP AS Path Action is set to Add or Replace.
You cannot specify both a BGP AS Prepend Number and a BGP AS Prepend Policy Variable. They are mutually exclusive.
If you are specifying a BGP AS Prepend Policy Variable, this is done by selecting the policy statement entry that defines the required variable. Such a policy statement entry is typically part of another existing (higher level) routing policy statement.
-
Click on the Community Actions tab to configure a community action for the policy statement entry.
-
Click on the Add, Remove, or Replace sub-tabs as required to perform the specific action that you want to configure.
-
Click Select to add, remove, or replace a Community Name Action. Review the usage notes provided below the Community Name Action field and implement as required.
Note:
You can specify mid-string expansions such as "peer-@asname@" or "comm-@peeras@-add" for example, for the Community Name Action field. However, there is no validation on the parameterized mid-strings entered for communities.
|
8 |
Configure the From criteria for the policy statement entry.
-
Click on the From Criteria tab, select a route distinguisher policy, and configure the parameters on the General sub-tab, as required.
Note:
If you are performing this procedure to create a subordinate (lower level) routing policy that needs to specify an AS Path Name, AS Path Group Name, or Community List Name as a policy variable (defined in a higher level routing policy), then these policy variables are selected at this step.
If you are performing this procedure to create a main (higher level) routing policy that contains policy variables that will be called by a subordinate routing policy, then that subordinate routing policy name must be specified at this step using the Policy Statement Name parameter. The policy variables for this higher level routing policy are defined in
Step 10 .
You cannot add policies that have nested sub-policies.
Configuring a Community List Name in this step, either by selection or as a policy variable, is mutually exclusive with creating a Community List Expression in
Step 9 .
-
Click on the Prefix Lists sub-tab to assign a prefix list to the policy statement entry.
The Prefix Lists sub-tab displays if you did not assign a prefix list on the Prefix List Override sub-tab.
-
Configure the Prefix List Members as required.
Note:
You can specify mid-string expansions such as "prefixA-@prefixB@" or "prefixA-@prefixB@-add" for example, in the Prefix List field. However, there is no validation on the parameterized mid-strings entered for prefix lists.
-
Click on the Prefix List Override sub-tab.
The Prefix List Override sub-tab displays if you did not assign a prefix list on the Prefix Lists sub-tab.
-
Select the prefix list and configure the required parameter.
Depending on the option that you selected for the Type parameter, additional parameters may display.
|
9 |
Create a community expression list for the policy statement entry.
-
Click on the Community Expression tab and click Create. The Community Expression, Site form opens.
-
Select or enter a Community Name.
- Click the Add button to add an entry into the Community List Expression field. The following conditions apply to this parameter:
-
The entire Community List Expression is limited to 900 characters. Use Boolean operators (AND, OR, and NOT) to form expressions, and use parentheses to form more complex expressions. For example:
[comlist1] AND ([comlist3] OR [comlist4])
-
If you make an error in the construction of the string, use the Clear All button to start again, or place your cursor in the field and manually edit the text.
-
Save your changes and close the form.
|
10 |
Create a policy variable for the policy statement entry. This step is required if you are creating a main (higher level) routing policy that will be called by a subordinate (lower level) routing policy. A policy variable in this context may be an integer, an IPv4/IPv6 address, or a string (that is, a pointer to another routing policy type). If you want to select the Type as a String, then you must create the other routing policy type (for example, Prefix List or Community policy) before you start this step. You can create up to ten policy variables for each policy statement entry.
-
Click on the Policy Variables tab and click Create. The Policy Variable, Site form opens.
-
Configure the Name parameter for the policy variable. The name must begin and end with an “@” sign; for example: @variable-name_1@.
-
Configure the Type and Value parameters. If you configure Type as String, then click Select to choose and assign a routing policy to the policy variable.
-
Click OK. The Policy Variable, Site form reappears.
-
Click OK to save your changes and close the form.
Note: You can configure global policy variables (for supporting NEs) that you can assign to multiple routing policy statements to improve configuration efficiency; see
To configure global variables.
|
11 |
Configure the To criteria for the policy statement entry.
-
Click on the To Criteria tab and configure the parameters on the General tab, as required.
-
Click on the Prefix Lists sub-tab and configure the Prefix List Members as required.
|
12 |
Configure a conditional expression for the policy statement entry.
-
Click on the Conditional Expression tab and click Create. The Conditional Expression, Site form opens.
-
Specify a conditional expression for the Route Exists String parameter, or click on the Select button to select an existing prefix list policy.
-
Save your changes and close the form.
|
13 |
To create an additional policy statement entry, go to
Step 6 otherwise go to
Step 14 .
|
14 |
Save your changes and close the form. See
To release and distribute a policy to release and distribute the policy to NEs.
Note: A routing policy is discovered as local edit only. To synchronize a routing policy with all NEs, you must change the distribution mode of the routing policy to sync with global. To configure the distribution mode, see
To release and distribute a policy .
|
15 |
See
To view policy variable usage in a routing policy statement to view policy variable usage in a distributed routing policy statement.
End of steps |