Re: [mpls-linux-general] mpls support in tc?
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2003-02-25 14:48:01
|
On Tue, Feb 25, 2003 at 04:44:09PM +0530, Anjaneya Pal wrote: > hi, > does tc in linux support mpls? > can we control traffice using tc based on the mpls labels? Yes. Before digging into how MPLS and TC interact, make sure you know how to make TC work with standard IPv4 first. Once you understand that, there are some 'advanced' MPLS 'instructions' that allow you to convert TC (or DSCP or NFMARK) to EXP bits or labels and vice-versa. Here is a list of TC related instructions currently implemented in mpls-linux-1.17x (more can be added) For outgoing labels: -nf_fwd - translate a NF mark into a outgoing label (think recursivly) -ds_fwd - translate a DSCP into a outgoing label -exp_fwd - translate a EXP bit into a outgoing label -set_tc - set the TC index -set_exp - set the EXP bits -tc2exp - translate a TC index into EXP bits -ds2exp - translate a DSCP into EXP bits -nf2exp - translate a NF mark into EXP bits -exp2tc - translate EXP bits into a TC index For incoming labels: -exp_fwd - translate a EXP bit into a outgoing label -set_tc - set the TC index -set_ds - set the DSCP -set_exp - set the EXP bits -exp2tc - translate EXP bits into a TC index -exp2ds - translate EXP bits into DSCP The format of these and other instructions is in the mpls-linux/utils/README > thanx in advance > > anjan > Pune > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu |