Re: [mpls-linux-general] Question on outgoing_label KEY
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2004-07-02 14:34:06
|
On Mon, Jun 28, 2004 at 11:16:42AM -0700, Helen (Wenjing) Zhang wrote: > In /proc/net/mpls_out I got: > > 0x00000059 0/0/0 2 DS2EXP( DS(00)->EXP(00) DS(0a)->EXP(02) DS(0c)->EXP(03) > DS(12)->EXP(04) DS(14)->EXP(05) DS(1a)->EXP(06) DS(1c)->EXP(07) > DS(2e)->EXP(01) ) EXP2TC( EXP(0)->TC(ffff) EXP(1)->TC(00b8) EXP(2)->TC(0028) > EXP(3)->TC(0030) EXP(4)->TC(0048) EXP(5)->TC(0050) EXP(6)->TC(0068) > EXP(7)->TC(0070) ) PUSH(gen 11680) SET(eth0,192.168.2.2) > > >From the reading material, "0x00000059" is an outgoing _label KEY. > > What is the relationship with Label, LSP ID and the outgoing_label KEY? > How to assign this KEY? > How and where can I find the value for this KEY except the outgoing label > table? The outgoing key is generated by the kernel. It must be unique per outgoing label. Are you looking to write a script of program which creates outgoing labels and modifies the instructions and thus needs the outgoing label key? If you are using mplsadm2, any newly created key is sent to standard out. If you want to create outgoing labels in C use the ioctl() command. You can use the source for mplsadm2 as an example. > > Thanks. > > Helen > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general -- James R. Leu jl...@mi... |