Re: [mpls-linux-general] Use of set-exp
Status: Beta
Brought to you by:
jleu
|
From: Julien C. <jul...@aq...> - 2005-05-19 21:00:16
|
yes but in a LSR how can setup priority between a paquet exp 1 and 6 ? James R. Leu wrote: >mpls ilm add label gen 16 labelspace 0 instructions pop exp2tc 0x0 0x10 0x1 0x11 0x2 0x12 0x3 0x13 0x4 0x14 0x5 0x15 0x6 0x16 0x7 0x17 peek > >(again I don't have access to my test machines so the above command is untested) > >The above example maps each EXP value to a TC value which is 0x10 more. >You can choose to only map certain EXP and you can choose whatever TC values >you want. > >BTW the 'mpls' command does have 'usage' output if you just type 'mpls' >by itself. If the output is difficult to understand, please suggest changes. > >On Thu, May 19, 2005 at 12:58:33PM +0200, Julien Cayssol wrote: > > >>Julien Cayssol wrote: >> >> >> >>>James R. Leu wrote: >>> >>> >>> >>>>On Wed, May 18, 2005 at 03:55:42PM +0200, jul...@aq... wrote: >>>> >>>> >>>> >>>> >>>>>Hello, >>>>> >>>>>The search function on sourceforge for the mailing-list doesn't >>>>>works so i post >>>>>my question. >>>>> >>>>>With the command "mpls" you can specify the exp field. >>>>> >>>>>I don't understand what you must specify to make it work ? >>>>>does any body have an example ? >>>>> >>>>> >>>>> >>>>It must be before the push instruction, for example: >>>> >>>> mpls nhlfe add key 0 instructions set-exp 0x2 push gen 16 nexthop >>>>eth0 ipv4 1.1.1.1 >>>> >>>>I don't have access to my test boxes right now, so I can't confirm the >>>>actual command above works. >>>> >>>>What commands have you tried? What is the resulting MPLS kernel debug >>>>that you get? >>>> >>>> >>>> >>>> >>>i've try somes commandes but only with a "change key", the exp field >>>is use for classe services, >>> >>>Is it possible to map it with TC ? >>> >>>were can we use exp next ? >>> >>> >>Helo, >> >>With iptable we set an exp to a paquet mpls, on the nexthop an exp a >>6(dm) is faster than a exp 0(best effort). >>but when we simulate traffic there are no differents. >> >>We must use tc ? can i have somes informations, were to search, on the >>mailing liste a don't find a lot of informations. >> >>thanks. >> >> >> >>>> >>>> >>>>>Thanks a lot. >>>>> >>>>> >>>>>-- >>>>>Julien CAYSSOL >>>>>INSA de LYON -=- D?partement Telecom Services >>>>>et Usages >>>>>http://www.aqwz.com/ T?l : +33 >>>>>664 973 067 >>>>> >>>>> >>>>>------------------------------------------------------- >>>>>This SF.Net email is sponsored by Oracle Space Sweepstakes >>>>>Want to be the first software developer in space? >>>>>Enter now for the Oracle Space Sweepstakes! >>>>>http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click >>>>>_______________________________________________ >>>>>mpls-linux-general mailing list >>>>>mpl...@li... >>>>>https://lists.sourceforge.net/lists/listinfo/mpls-linux-general >>>>> >>>>> >>>>> >>>> >>>> >>>> >>>> >>> >>> >>-- >>--- >> >>Julien Cayssol >>http://www.aqwz.com >>Mobile : 33 664 973 067 >> >> > > > -- --- Julien Cayssol http://www.aqwz.com Mobile : 33 664 973 067 |