Community discussions

MikroTik App
 
User avatar
StubArea51
Trainer
Trainer
Topic Author
Posts: 1742
Joined: Fri Aug 10, 2012 6:46 am
Location: stubarea51.net
Contact:

MPLS hardware offload in CRS317...how to enable?

Wed Dec 06, 2017 9:06 pm

I've been trying to test MPLS hw offload in my lab based on the following entry in the release notes
*) crs317 - added initial support for HW offloaded MPLS forwarding;
I've built an MPLS network using two CCR1036 routers connected at 10 gig with the CRS317 in the middle (6.41rc47). When i perform a bandwidth test of 2 gig, I see the CPU of the CRS317 go up to 50%. Is there a setting to enable MPLS fowarding in hardware?

Also curious what the test setup looked like for MIkroTik when MPLS hardware forwarding was tested on the CRS317?
 
User avatar
emils
Forum Veteran
Forum Veteran
Posts: 906
Joined: Thu Dec 11, 2014 8:53 am

Re: MPLS hardware offload in CRS317...how to enable?

Thu Dec 07, 2017 7:03 pm

You can take this as an example:
https://wiki.mikrotik.com/wiki/Manual:L ... PN_example

Configure the CRS317 as "P" router and it should be able to do label switching at wire speed. Also make sure you are running a release candidate version on it. You should see "H" flag under MPLS->Forwarding Table menu indicating the route is hardware offloaded.
 
User avatar
StubArea51
Trainer
Trainer
Topic Author
Posts: 1742
Joined: Fri Aug 10, 2012 6:46 am
Location: stubarea51.net
Contact:

Re: MPLS hardware offload in CRS317...how to enable?

Fri Dec 08, 2017 12:31 am

I have the CRS setup as a P router in the middle of two CCR1036 routers acting as PE routers.

It only shows one path as hardware offloaded
[admin@MikroTik] > mpls forwarding-table print 
Flags: H - hw-offload, L - ldp, V - vpls, T - traffic-eng 
 #    IN-LABEL                                 OUT-LABELS                              DESTINATION                    INTERFACE                              NEXTHOP        
 0    expl-null                               
 1 HL 16                                                                               1.1.1.11/32                    sfp-sfpplus3                           100.64.0.2     
 2  L 17                                                                               1.1.1.12/32                    sfp-sfpplus5                           100.64.0.10 
 
sup5
Member
Member
Posts: 359
Joined: Sat Jul 10, 2010 12:37 am

Re: MPLS hardware offload in CRS317...how to enable?

Fri Dec 08, 2017 9:14 am

Maybe it is Penultimate hop popping, which is interfering with hardware offload.

Try to place the CRS317 in the middle of five routers to prevent any label pushing or popping operations.
 
User avatar
nz_monkey
Forum Guru
Forum Guru
Posts: 2190
Joined: Mon Jan 14, 2008 1:53 pm
Location: Over the Rainbow
Contact:

Re: MPLS hardware offload in CRS317...how to enable?

Fri Dec 08, 2017 10:48 am

I agree with sup5

The current implementation does not support HW forwarding when it's a PHP point.