HomeGuidesAPI Reference
Guides

Basic setup

🚀

Best Practice: If using peer priority use on all spokes

Mixing can cause confusion and routing difficulty

🚀

Best Practice: Only use on HUB/Headend EC for connections to other HUB/Headend EC to keep this traffic symmetrical.

Peer priority is applied to the SPOKE device, this directs spoke traffic to the preferred hub.

🚀

Best Practice: Use dedicated template groups from each Peer Priority

This is one of the few Items in the Orch a seperate template group(s) is needed.

Create a template group

in this Example PP-test will only contain the Peer Priority template

Here is the saved template group

Peer Priority template example

Peer Priority template example

  1. Peer Name - the HUB(s) traffic routes too
    1. note large environment may have 4-6-12 EC's (peers) listed here
  2. Peer Priority - the priority of each HUB Lower is better
  3. Advertise Metric - the AM the HUB will receive from the spoke (See AM section)
    1. Default is "preserve existing" - or AM is "off"

Apply the template group to your spokes

  1. Select to apply and click apply

  2. The template groups that are applied show here

  3. Apply template group example

    Apply template group example

    💡

    TIP - if you need to search, use the search in the top right, you can check add and then search, this combo will show the devices that do not have that template group. Alternately you can click remove and search, this showing the device that do have the template.

Results

To see the results check the spoke routing table

Route table example

Route table example

  1. Local Routes do not have PP applied. PP only applies to routes from peers in the templates.

  2. This route is learned and the "PP:100" and "PP:110" are added to the Metric column

    1. Metric is different in this case, so technically PP would never be used (the reason is Advertise metric in the next section!)
    2. Do you know why? Those routes are from other branches and the Hub is re-advertising it.
  3. Here is an example of a typical Default route you might use on the WAN. HUBs are advertising.


    1. Default route with Peer Priority example

      Default route with Peer Priority example

      1. Above is default route from the hub - and PP is taking affects here
        1. Same Longest match? - Yes (/0)
        2. Same AD? - Yes (10)
        3. Same Metric? - Yes (50)
        4. PP same ? - no top has 100 bottom 110 thus top route is used.

      Questions

      1. What happens if Hub B goes down or looses the 0/0 Route?
        1. the route will pull from the fabric and Hub A will be the only route in the table PP:100 will use the route but because there is no other route (PP only applies to LIKE routes) traffic will go that way.
        2. What happens if we have Hub "C" and "D"
          1. if the Hub A route wins based on the route selection order - it uses A route

Did this page help you?