Community discussions

 
User avatar
IPANetEngineer
Trainer
Trainer
Topic Author
Posts: 918
Joined: Fri Aug 10, 2012 6:46 am
Location: Jackson, MS, USA
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?
Expert consulting in | BGP | MPLS | OSPF | Se Habla Español 1-855-645-7684
http://www.iparchitechs.com #1 ranked MikroTik consulting firm in North America
 
User avatar
emils
MikroTik Support
MikroTik Support
Posts: 179
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
IPANetEngineer
Trainer
Trainer
Topic Author
Posts: 918
Joined: Fri Aug 10, 2012 6:46 am
Location: Jackson, MS, USA
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 
Expert consulting in | BGP | MPLS | OSPF | Se Habla Español 1-855-645-7684
http://www.iparchitechs.com #1 ranked MikroTik consulting firm in North America
 
sup5
Member
Member
Posts: 307
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: 1759
Joined: Mon Jan 14, 2008 1:53 pm
Location: Straya
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.
http://thebrotherswisp.com/ | Mikrotik MTCNA, MTCRE, MTCINE | Fortinet FTCNA, FCNSP, FCT | Extreme Networks ENA

Who is online

Users browsing this forum: No registered users and 1 guest