Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

View and Modify Policy Based Routes

The workflow is as follows:

  • Use the configuration files import to create your network.

  • View policies from the link window.

  • Check how the policies will affect routing by performing a path analysis.

  • Modify the link PBR field to perform what-if studies.

Importing the Config Files

  1. Import the config files as described in NorthStar Planner Routing Protocols Overview.
    Note:

    For a what-if study, you can also edit your config files to add, modify, or delete policies and then re-import the config files.

  2. Navigate to Tools > Options > Design. On the Path Placement option pane, set Force PBR Check (on the lower right corner of the window) to Yes.
  3. Click “Yes” when asked to reroute from scratch.

Viewing PBR Details from the Link Window

  1. Select the Network > Elements > Links menu. To display the PBR route map in the link table summary pane, right-click on a column header and select Table Options. Select PBR_A and PBR_Z from the Available items window and click “Add>” to move them to the Selected Item(s) window and then click “OK”.

    PBR_A and PBR_Z refer to the route-map names in both directions on the link. PBR_A refers to the direction from Node A to Node Z, while PBR_Z refers to the direction from Node Z to Node A.

  2. Scroll so that you can see the PBR_A and PBR_Z headings. Click on the columns to sort the columns and see which interfaces have policies on them.

  3. Select a link row for a link that has an interface with a policy applied to it. Then click the PBR tab. The tab is divided into a section for the interface on Node A and a section for the interface on Node Z. Each section contains the PBR information, including the route-map, sequence number, match criteria, and the action to perform if there is a match.

    Figure 1: PBR TabScreenshot of a network tool showing a table of network links with name, node IDs, type, metric, delay, and utilization. The PBR tab is selected, displaying routing policies like route-map access-group and my_route_map. Navigation panel on the left and buttons for highlighting or closing at the bottom.

Path Placement

To perform a path placement, select Network > Path&Capacity> Path. Optionally specify a source and/or destination IP address (to match against the route map) that corresponds to a node’s loopback address or one of its interface addresses. Then click on the map the from-node followed by the to-node.

The Path window will be displayed. In addition, the Console window will display the relevant policy based routing information.

Modifying Link PBR Field

You can modify a link to specify which policy to use on an interface from the Links tab of the Network Info table. To do so, navigate to Links tab. You can sort on the PBR_A and PBR_Z column to quickly see which links have policies attached to them. The instructions are the same as given in step 1.

Select the links you want to modify from the table and click Modify. On the Modify Link window, select the PBR tab.

Figure 2: Modify Link, PBR TabDialog box titled Modify 1 Link for network configuration with selected PBR tab featuring empty PBR A Name field and PBR Z Name field pre-filled with f001520-s120.

Enter in the name of the Policy for the interface in the node A to node Z direction or vice versa. The policy name should correspond to a route-map on node A for the AZ direction or node Z for the reverse direction. If the policy typed in is invalid, an error message will pop up. Click “OK” and view the Console message to see possible PBR policies to apply for the link interface. When you are finished modifying the link, click OK. You can then retry a path analysis.

PBR Example

The following 6-router network will explain a case of policy based routing that checks the source IP address of incoming packets against the match condition of the route-map statement to determine whether to take the action in the route-map statement. (Note that more sophisticated policies can be used to check other properties such as the destination IP address, protocol information, etc.)

Figure 3: Six Router Network ExampleNetwork topology diagram with nodes labeled A1, A, B, C, D, and D1 connected by links. Each link is labeled 64, indicating connection capacity.

In this example, router A has applied the following route-map on its interface to A1:

The corresponding match condition is specified in the access list (111) as follows: “access-list 111 permit 10.5.5.5 0.0.0.0.” The corresponding interface to forward to in case the match condition is satisfied is Serial1/0/1, which connects A to B. As a result of the policy, router A will forward any packet coming from A1 with a source IP address of 10.5.5.5 out the interface Serial1/0/1 toward B. A Path analysis is used to verify the routing behavior.

Suppose a path analysis is performed from A1 to D1 by selecting Network > Path & Capacity > Paths. The source and destination IP addresses must be entered in to simulate Policy Based Routing. In this case, we use 10.5.5.5 as the source IP address (router A1’s IP address). The packet is then forwarded to router B. This example uses OSPF and the links have equal OSPF metric, so after the packet is forwarded to B, it may equally well go from B to C to D to D1 as back to A and then to D to D1.

Figure 4: Results of Using an IP Address Matching the Route Map CriteriaNetwork topology diagram showing two Frame Relay configurations: partial mesh with routers A, B, C, D and full mesh, all with 64 kbps bandwidth.

The results are also displayed in the Console. The Console messages for the left figure above are as follows:

On the other hand, suppose a path analysis is performed from A1 to D1 using another interface IP address at A1 such as 10.10.10.17. In this case, the source IP address no longer matches the route-map condition and hence the routing table (OSPF in this case) is used instead:

Figure 5: Results of Using an IP Address Not Matching the Route Map CriteriaNetwork topology diagram showing nodes A1, A, B, C, D, and D1 with 64 bandwidth connections. Rectangular structure on top, linear on bottom.