10 mins read

RSVP – Link Coloring

1. Intro

Administrative groups provide the ability to mark the interfaces with similar characteristics in a common group. Based on these groups you can restrict the LSPs to use a certain path in the network.

Marking the interfaces is known as coloring but is actually based on setting the affinity bits on interfaces. Up to 32 administrative groups are supported, ranging from 0 to 31. You must define a name for the group and assign an affinity bit to it, usually colors are used for names of the groups.

One or multiple different groups can be assigned to interfaces. The administrative groups / affinity bits are used by the CSPF algorithm for traffic engineering purposes.

To configure a given LSP to be restricted based on link colors you can use the following three options:

  • include-any – performs logical OR to the configured colors. Any links matching one or many of the configured colors are included in CSPF calculations.
  • include-all – performs logical AND. Only links matching all configured colors are taken in account for calculations.
  • exclude – links with colors specified with exclude are automatically excluded from the calculations. If more than one color is specified logical OR is performed

2. Interface coloring

We will use the following topology to test RSVP link coloring. We will prepare the interfaces with the colors presented in the below diagram:

Note:

  • Based on the address being used you will be able to identify the link.
  • For example, 17.6.7.7 is a link beween router 6 and 7, and this is Router 7.
  • Example 2, 17.1.2.1 is a link beween router 1 and 2, and this is Router 1.

The configuration is as follows:

At this stage all interfaces have admin-group configuration, but colors are not being used at the moment. In the next session we will configure LSPs to used certain paths in the network, based on colors.

3. admin-group include-any

We want our main path to the R7 router to use the BLUE links:

4. admin-group exclude

We want our backup path to use the RED links.

We can configure this with ‘admin-group include-any RED‘, but we will use ‘admin-group exclude BLUE‘ instead. Same result, different approach:

Buy, why have 2 x LSP to the same destination, this might not be ideal. We can use one single LSP with a Primary and Secondary path, as described in the next post.

5. admin-group include-all

Not the most realistic scenario, but for testing purposes let’s assume we want the path that both RED and GREEN colors:

  • R1 – R2 R3 – R4 – R5 – R6 – R8 – R7

For this requirement we must use ‘include-all‘:


External Resources:

Leave a Reply