Segment Routing v6 (SRv6) Transport on NCS 5700

2 minutes read

Paban Sarma, Technical Marketing Engineer ([email protected])
Deepak Balasubramanian, Technical Leader, Technical Marketing ([email protected])

Overview

Cisco MIG Access & Aggregation platforms, i.e NCS 500 and NCS 5500 series have variants built with BCM J1 and J2 ASICs. In our previous articles on SRv6 transport and services, we covered platforms built with first generation of BCM ASIC. While service configuration and behaviour are same on both the generations of platforms, there are specific config knobs needed on the first generation of platforms. We discussed the same in detail in our first article on SRv6 Transport.

This tutorial will focus on various config knob differences to set up the SRv6 transport on the new generation of products i.e. the NCS 5700 and particular variants in NCS 540 series.

Applicable Platform Models

  • NCS 500 Series
    – N540-24Q8L2DD-SYS
  • NCS 5500 Series
    – All NCS 57xx Fixed Platforms
    – NCS 5500 modular routers with NCS 57xx Line Cards in Native Mode

Differences in Configuration

Platform hw-module command for format

To enable SRv6 transport on the NCS 5500 series (1st gen) we need to enable hw-module profile. This is not needed on the NCS 5700 series. SRv6 Mode base or uSID is configured directly under segment routing global configuration.

NCS 5500 Configuration via hw-module


hw-module profile segment-routing srv6 mode micro-segment format f3216

NCS 5700 Configuration


segment-routing
 srv6
  formats
   format usid-f3216

Defining traffic-class encapsulations

Another important factor in SRv6 is the traffic-class field in the encapsulated SRv6 header. The option is to either propagate from the payload or define a global value for all services. With NCS 5500 this is enabled along with the hw-module profile. On NCS 5700 this is configured under SRv6 encapsulation. The hw-module profile knob allows separate treatment for L2 and L3 encapsulation.

NCS 5500 Configuration via hw-module


hw-module profile segment-routing srv6 mode micro-segment format f3216
 encapsulation
  l2-traffic
   traffic-class propagate
  !
  l3-traffic
   traffic-class propagate

NCS 5700 Configuration


segment-routing
 srv6
  encapsulation
   traffic-class propagate
  !
 !
!

Defining source encapsulation

The SRv6 header source address definition is done the same way on both NCS 5500 and NCS 5700 platform. This configuration is present under the segment-routing global configuration block.


segment-routing
 srv6
  encapsulation
   source-address 2001::1
  !
 !
!

SRv6 Locator blocks

SRv6 locator is an important configuration parameter for SRv6. The locator is combination of Base and Node ID. For SRv6 uSID (f3216 format), the 32 bit base is divided into 24 bit BASE and 8 bit block ID. The following example shows configuration example from SRv6 locator for uSID.


segment-routing
 srv6
  locators
   locator LOC
    micro-segment behavior unode psp-usd
   prefix fcbb:bb 00:0001::/48
   !
  !
 !
!

In the example above, the highlighted two nibbles can be in the range of 00-ff on NCS 5700 platforms. For the first generation, NCS 5500/500 the block ID range is 00-3f.

Service Configurations

As discussed in the Overview section, any type of service creation, show comamnds related to transport and service infra are common to all the NCS 500 and NCS 5500/5700 PIDs. The basic Layer3 and Layer2 service over SRv6 transport is already covered in our previous tutorials.

Summary

In this short article, we covered the fundamental difference in configuration approach for SRv6 transport between NCS 5700 and NCS 5500 platforms. Stay tuned for more SRv6 transport related content.

Leave a Comment