Tuesday, April 21, 2026

Deploying Segment Routing SRV6 over IPv6 on Nokia 7750 Platforms

Nokia 7750 SR router support SRV6 on FP-based platforms on FP4 onwards. SR-OS does not support SRv6 for OSPFv3 with current support only for IS-IS in both Multi-Topology.











Steps to enable SRV6 over IPV6 network in Nokia 7750 SR

1. Forwarding Path Extension (FPE)

In General, Whenever IP encapsulated in IP on a FP based flatforms that need to be passed to FPE for processing multiple times, FPE is an extension of PXC  features that loop the ports logically for multiple loop itself allowing two time passes through FPE.

PXC configuration required only on originating/terminating Routers only.

Enabling the mac chip for multiple entry and exit. 

echo "Card Configuration"

#--------------------------------------------------

    card 1

        card-type iom-1

        mda 1

            xconnect

                mac 1 create

                    loopback 1 create 

                    exit

                exit

            exit

            no shutdown

        exit

        no shutdown

    exit


Enabling the port that will be used for looping the packets internally.

    port 1/1/c5/1

        ethernet

            dot1x

                tunneling             

            exit

            mode hybrid

            encap-type dot1q

        exit

        no shutdown

    exit

    port 1/1/c6/1

        ethernet

            dot1x

                tunneling

            exit

            mode hybrid

            encap-type dot1q

        exit

        no shutdown

    exit


Mac 1:


    port 1/1/m1/1

        no shutdown

    exit


Next step is configuring the PXC ports and assign the interface

    port-xc

        pxc 1 create

            no shutdown

            port 1/1/c5/1

        exit

        pxc 2 create

            no shutdown

            port 1/1/c6/1

        exit

    exit

    port pxc-1.a

        ethernet

        exit

        no shutdown

    exit

    port pxc-1.b

        ethernet

        exit

        no shutdown

    exit

    port pxc-2.a

        ethernet

        exit

        no shutdown

    exit

    port pxc-2.b

        ethernet

        exit

        no shutdown

    exit


Last step is enabling the Forwarding Path Extensions. FPC can be used for any other application so we are explicitly mention 

fpe 1 used for origination and fpe 2 used for termination of SRV6 tunnel

    fwd-path-ext

        fpe 1 create

            path pxc 1

            srv6 origination

                interface-a

                exit

                interface-b

                exit

            exit

        exit

        fpe 2 create

            path pxc 2

            srv6 termination

                interface-a

                exit

                interface-b

                exit

            exit

        exit

    exit


*A:PE5# show fwd-path-ext fpe 1 

=====================================================================

FPE Id: 1
=====================================================================
Description        : (Not Specified)
Multi-Path         : Disabled                          
Path               : pxc 1
Pw Port Extension  : Disabled                          Oper     : down
Sub Mgmt Extension : Disabled                          Oper     : N/A
Vxlan              : Disabled                          Oper     : down
Segment-Routing V6 : Enabled                           Oper     : up
SRv6 Type          : origination                       
If-A Qos Policy    : default                           
If-B MTU           : 9786 bytes                        Oper MTU : 8914 bytes
If-B Qos Policy    : default                           
Cups Steering      : Disabled                          Oper     : N/A
MVPN UMH Rate Mon  : Disabled                          
=====================================================================
*A:PE5# show fwd-path-ext fpe 2 
=====================================================================
FPE Id: 2
=====================================================================
Description        : (Not Specified)
Multi-Path         : Disabled                          
Path               : pxc 2
Pw Port Extension  : Disabled                          Oper     : down
Sub Mgmt Extension : Disabled                          Oper     : N/A
Vxlan              : Disabled                          Oper     : down
Segment-Routing V6 : Enabled                           Oper     : up
SRv6 Type          : termination                       
If-A Qos Policy    : default                           
If-B MTU           : 0 bytes                           Oper MTU : 8914 bytes
If-B Qos Policy    : default                           
Cups Steering      : Disabled                          Oper     : N/A
MVPN UMH Rate Mon  : Disabled                          
=====================================================================

Next step is to configuring the locator and assign the locator to the Base routing instanace

Locator enabled is 0 and 128, with Block-length of 48. we need to assign the originating and terminating fpe.

we need to configure the srh-mode for base routing instance, The srh-mode then defines the method of processing the SRH and can be either usp, psp, ps-usd, usp-usd, usp-usd, or psp-usp-usd, with the default being psp


Segment Routing v6 Configuration

       segment-routing

            segment-routing-v6

                origination-fpe 1

                source-address fd00::3

                locator "Algo0-locator"

                    block-length 48

                    termination-fpe 2

                    prefix

                        ip-prefix fd00:db8:1:3::/64

                    exit

                    static-function

                    exit

                    no shutdown

                exit

                locator "Algo128-locator"

                    block-length 48

                    termination-fpe 2

                    algorithm 128

                    prefix

                        ip-prefix fd00:db8:128:3::/64

                    exit

                    static-function

                    exit

                    no shutdown

                exit

                base-routing-instance

                    locator "Algo0-locator"

                        function

                            end-x-auto-allocate srh-mode usp protection protected

                            end 1

                                srh-mode usp

                            exit

                        exit

                    exit

                exit

            exit

Once the locator is configured then advertise them vis ISIS to all other routers in the network.

configure router isis 2

            segment-routing-v6

                locator "Algo0-locator"

                    level-capability level-2

                    exit              

                    level 2

                        metric 1

                    exit

                exit

                no shutdown

            exit


A:PE5# show router segment-routing-v6 local-sid 
=========================================================================
Segment Routing v6 Local SIDs
=========================================================================
SID                                               Type           Function
  Locator                                                        
  Context                                                        
-------------------------------------------------------------------------------
fd00:db8:1:5:0:1000::                             End            1
  Algo0-locator
  Base
fd00:db8:1:5:0:4000::                             End.X          4
  Algo0-locator
  None
fd00:db8:1:5:0:5000::                             End.X          5
  Algo0-locator
  None
-------------------------------------------------------------------------------
SIDs : 3
-------------------------------------------------------------------------------
=========================================================================

*A:PE5# show router segment-routing-v6 base-routing-instance 
=========================================================================
Segment Routing v6 Base Routing Instance
=========================================================================
Locator                                                           
 Type          Function  SID                                     Status/InstId
  SRH-mode     Oper Func Interface                               Protection
-------------------------------------------------------------------------------
Algo0-locator
 End           1         fd00:db8:1:5:0:1000::                   ok
  USP          1                                                 
-------------------------------------------------------------------------------
 Auto-allocated End.X:  USP Protected,
-------------------------------------------------------------------------------
 End.X         4         fd00:db8:1:5:0:4000::                   1
  USP                    PE1                                     Protected
  ISIS Level: L2 Mac Address: aa:c1:ab:46:a4:9a Nbr Sys Id: 0010.0000.0001
 End.X         5         fd00:db8:1:5:0:5000::                   1
  USP                    PE6                                     Protected
  ISIS Level: L2 Mac Address: aa:c1:ab:6e:ca:0b Nbr Sys Id: 0010.0000.0006
-------------------------------------------------------------------------------
=========================================================================
Legend: * - System allocated

*A:PE5# show router route-table ipv6 protocol srv6 
=========================================================================
IPv6 Route Table (Router: Base)
=========================================================================
Dest Prefix[Flags]                            Type    Proto     Age        Pref
      Next Hop[Interface Name]                                    Metric   
-------------------------------------------------------------------------------
fd00:db8:1:5::/64                             Local   SRV6      29d14h16m  3
       Black Hole                                                   0
fd00:db8:1:5:0:1000::/128                     Local   SRV6      29d14h14m  3
       Black Hole                                                   0
fd00:db8:128:5::/64                           Local   SRV6      29d14h17m  3
       Black Hole                                                   0
-------------------------------------------------------------------------------
No. of Routes: 3
Flags: n = Number of times nexthop is repeated
       B = BGP backup route available
       L = LFA nexthop available
       S = Sticky ECMP requested
=========================================================================

i could see that route is pointing towards blackhole but in PE3 its pointing to the PXC interface

*A:PE3>config>router>segment-routing>srv6# show router route-table ipv6 fd00:db8:1:3::/64 
=========================================================================
IPv6 Route Table (Router: Base)
=========================================================================
Dest Prefix[Flags]                            Type    Proto     Age        Pref
      Next Hop[Interface Name]                                    Metric   
-------------------------------------------------------------------------------
fd00:db8:1:3::/64                             Local   SRV6      11d16h21m  3
       fe80::201-"_tmnx_fpe_2.a"                                    0
-------------------------------------------------------------------------------
No. of Routes: 1
Flags: n = Number of times nexthop is repeated
       B = BGP backup route available
       L = LFA nexthop available
       S = Sticky ECMP requested
=========================================================================
After checking the configuration identified on PE3 the PXC interface is shut, Enabled them now

*A:PE5>config>port-xc#  pxc 2 no shutdown 
*A:PE5>config>port-xc# pxc 1 no shutdown  
*A:PE5>config>port-xc# info 
----------------------------------------------
        pxc 1 create
            port 1/1/c5/1
            no shutdown
        exit
        pxc 2 create
            port 1/1/c6/1
            no shutdown
        exit
----------------------------------------------

After the configuration i could see that route is pointing now to pxc as expected

*A:PE5>config>port-xc# show router route-table ipv6 protocol srv6 
=========================================================================
IPv6 Route Table (Router: Base)
=========================================================================
Dest Prefix[Flags]                            Type    Proto     Age        Pref
      Next Hop[Interface Name]                                    Metric   
-------------------------------------------------------------------------------
fd00:db8:1:5::/64                             Local   SRV6      00h00m25s  3
       fe80::201-"_tmnx_fpe_2.a"                                    0
fd00:db8:1:5:0:1000::/128                     Local   SRV6      29d14h20m  3
       Black Hole                                                   0
fd00:db8:128:5::/64                           Local   SRV6      00h00m25s  3
       fe80::201-"_tmnx_fpe_2.a"                                    0
-------------------------------------------------------------------------------
No. of Routes: 3
Flags: n = Number of times nexthop is repeated
       B = BGP backup route available
       L = LFA nexthop available
       S = Sticky ECMP requested
=========================================================================
Route table entry for PE5 SRV6 Prefix
*A:PE3# show router route-table fd00:db8:1:5::/64 
=========================================================================
IPv6 Route Table (Router: Base)
=========================================================================
Dest Prefix[Flags]                            Type    Proto     Age        Pref
      Next Hop[Interface Name]                                    Metric   
-------------------------------------------------------------------------------
fd00:db8:1:5::/64                             Remote  ISIS(2)   27d00h05m  18
       fd00:db8:1:5::/64 (tunneled:SRV6-ISIS)                       41
-------------------------------------------------------------------------------
No. of Routes: 1
Flags: n = Number of times nexthop is repeated
       B = BGP backup route available
       L = LFA nexthop available
       S = Sticky ECMP requested
=========================================================================
*A:PE5# show router route-table fd00:db8:1:3::/64 
=========================================================================
IPv6 Route Table (Router: Base)
=========================================================================
Dest Prefix[Flags]                            Type    Proto     Age        Pref
      Next Hop[Interface Name]                                    Metric   
-------------------------------------------------------------------------------
fd00:db8:1:3::/64                             Remote  ISIS(1)   11d16h40m  18
       fd00:db8:1:3::/64 (tunneled:SRV6-ISIS)                       41
-------------------------------------------------------------------------------
No. of Routes: 1
Flags: n = Number of times nexthop is repeated
       B = BGP backup route available
       L = LFA nexthop available
       S = Sticky ECMP requested
=========================================================================
*A:PE3# 

Ping is working successfully between ALGO SRV6 Locator

*A:PE5# ping fd00:db8:1:3:0:1000:: 
PING fd00:db8:1:3:0:1000:: 56 data bytes
64 bytes from fd00:db8:1:3:0:1000:: icmp_seq=1 hlim=61 time=8.23ms.
64 bytes from fd00:db8:1:3:0:1000:: icmp_seq=2 hlim=61 time=2.22ms.
64 bytes from fd00:db8:1:3:0:1000:: icmp_seq=3 hlim=61 time=2.27ms.
64 bytes from fd00:db8:1:3:0:1000:: icmp_seq=4 hlim=61 time=2.37ms.
^C
ping aborted by user
---- fd00:db8:1:3:0:1000:: PING Statistics ----
4 packets transmitted, 4 packets received, 0.00% packet loss
round-trip min = 2.22ms, avg = 3.77ms, max = 8.23ms, stddev = 0.000ms
*A:PE5# 
*A:PE3# ping fd00:db8:1:5:0:1000:: 
PING fd00:db8:1:5:0:1000:: 56 data bytes
64 bytes from fd00:db8:1:5:0:1000:: icmp_seq=1 hlim=61 time=2.42ms.
64 bytes from fd00:db8:1:5:0:1000:: icmp_seq=2 hlim=61 time=2.29ms.
64 bytes from fd00:db8:1:5:0:1000:: icmp_seq=3 hlim=61 time=2.42ms.
^C
ping aborted by user
---- fd00:db8:1:5:0:1000:: PING Statistics ----
3 packets transmitted, 3 packets received, 0.00% packet loss
round-trip min = 2.29ms, avg = 2.38ms, max = 2.42ms, stddev = 0.000ms
*A:PE3# 



No comments:

Post a Comment