Re: [mpls-linux-general] In label instructions + misc questions
Status: Beta
Brought to you by:
jleu
From: James R. L. <jl...@mi...> - 2002-02-19 14:23:16
|
On Tue, Feb 19, 2002 at 07:08:29AM +0800, ncc49a wrote: > Hi James, > > In response to my earlier mail, I did something like this: > > mplsadm -v -I gen:123:0 -i exp2tc:1:2:3:4:peek:dlv:0x800 mplsadm -v -I gen:123:0 -i exp2tc:1:2:3:4:peek _should_ work ... but (see below) > There was still the earlier error and also the error that 0x800 was not recognised, though mpls_in reflects that the instruction had been executed. Could u provide a simple example to correctly implement the above? > > Also, for outgoing labels when I execute 2 commands in turn: ds2exp and exp2tc, only the results of the later command, that is exp2tc are reflected in mpls_in. But shouldn't they both be relevant i.e for an outgoing pkt, its DSCP is converted to its EXP for downstream LSRs to make reference to. And on its way out of the interface, this exp is then converted to a tc_index for "tc" to police? Or am I wrong somewhere? I'm guessing that mplsadm is not parsing any of the 'array' based instructions correctly. I'll look into it. Jim > > Thanks a lot! > > Regards, > > Paul -- James R. Leu |