Routing
Highlighted
Routing

Problem with CBF

‎11-21-2016 01:22 AM

Hello!

I’m having problem with CBF and multipath.

Traffic with destination to 10.10.10.0/24 and dscp af need must use LSP  r1-to-r3-af for forwarding

Traffic with destination to 20.20.20.0/24 and dscp be need must use LSP  r1-to-r3-be for forwarding

All other traffic should be balanced between LSP’s

 

With disabled multipath all work correctly

show route 10.10.10.10/24

10.10.10.0/24      *[BGP/170] 01:26:03, localpref 100, from 2.2.2.2

                      AS path: 65002 I, validation-state: unverified

                  > to 10.0.12.2 via lt-0/0/0.102, label-switched-path r1-to-r3

                     to 10.0.12.2 via lt-0/0/0.102, label-switched-path r1-to-r3-af

                      to 10.0.12.2 via lt-0/0/0.102, label-switched-path r1-to-r3-be

ping logical-system C1-1 10.10.10.10 count 10 rapid tos 40

show mpls lsp statistics

Ingress LSP: 5 sessions

To              From            State     Packets            Bytes LSPname

2.2.2.2         1.1.1.1         Up              0                0 r1-to-r2

3.3.3.3         1.1.1.1         Up             0               0 r1-to-r3

3.3.3.3         1.1.1.1         Up             10              840 r1-to-r3-af

3.3.3.3         1.1.1.1         Up             0                0 r1-to-r3-be

4.4.4.4         1.1.1.1         Up              0                0 r1-to-r4

 

 

With multipath active, all traffic is transmitted through LSP r1-to-r4

show route 10.10.10.10

10.10.10.0/24      *[BGP/170] 01:59:15, localpref 100, from 2.2.2.2

                      AS path: 65002 I, validation-state: unverified

                      to 10.0.12.2 via lt-0/0/0.102, label-switched-path r1-to-r3

                      to 10.0.12.2 via lt-0/0/0.102, label-switched-path r1-to-r3-af

                      to 10.0.12.2 via lt-0/0/0.102, label-switched-path r1-to-r3-be

                    > to 10.0.13.3 via lt-0/0/0.103, label-switched-path r1-to-r4

ping logical-system C1-1 10.10.10.10 count 10 rapid tos 40

show mpls lsp statistics

Ingress LSP: 5 sessions

To              From            State     Packets            Bytes LSPname

2.2.2.2         1.1.1.1         Up              0                0 r1-to-r2

3.3.3.3         1.1.1.1         Up             0                 0 r1-to-r3

3.3.3.3         1.1.1.1         Up             0                 0 r1-to-r3-af

3.3.3.3         1.1.1.1         Up             0                 0 r1-to-r3-be

4.4.4.4         1.1.1.1         Up              10              840 r1-to-r4

 

Why in case with multipath all traffic forwarded via LSP r1-to-r4?

And CBF not work correctly?

 

I’m tested this scheme on single MX router with logical-systems.

I’m also tested this scheme on vMX with same result

Scheme and configuration in attached

Attachments

Feedback