Re: [mpls-linux-general] meaning of the mpls instructions
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2005-06-23 14:10:49
|
The xc command is for configuring label swapping on a LSR. 'xc' stands for cross connect, which is what you need for label swapping. The parameters to xc are the ILM and the NHLFE key, and will configure label swapping for packets arriving on the ILM. On Thu, Jun 23, 2005 at 12:24:34AM +0200, Ra?l Gil wrote: > It's ok! I know what MPLS is and how it work. I understand the > commands nhlfe, ilm, labelspace, but I don't understand command xc. >=20 > I understand the commands individually but I don't know make a network > with this software (with mpls command): >=20 > 192.168.2.1----------LER A----------LSR------------LER B----------192.168= .4.4 >=20 > In http://mpls-linux.sourceforge.net/ there is an example where > explain how configure ingress LER (LER A) and egress LER (LER B). And > the LSR? >=20 > Configuration LER A: > #mpls nhlfe add key 0 instructions push gen 200 nexthop eth0 ipv4 LSR > Key: 0x00000002 > #ip route add 192.168.4.4/32 via LSR spec_nh 0x8847 0x2 >=20 > Configuration LER B: > #mpls labelspace add dev eth0 labelspace 0 > #mpls ilm add label gen 200 labelspace 0 >=20 > It is ok? I are not sure! because the label 200 will be changed in the > LSR, will not? And how I configure the LSR? >=20 > Can you help me? >=20 > Ra?l Gil. >=20 > On 6/16/05, James R. Leu <jl...@mi...> wrote: > > Hi there, > >=20 > > It seems you're new to MPLS. If this is the can I suggest reading some > > books of web-page that explain what MPLS is and how it work. > >=20 > > Here are a few places to start, ofcourse a google search for MPLS will > > result in a lot more information to read. > >=20 > > http://mplsrc.com/ > > http://students.ee.sun.ac.za/~hvtonder/arc_mplsOverview.htm > > http://www.ibr.cs.tu-bs.de/lehre/ws0405/ks/pdf-2x1/09-l3ip_e-mpls.pdf > >=20 > >=20 > >=20 > > On Tue, Jun 14, 2005 at 12:44:27PM +0200, Ra?l Gil wrote: > > > Hello! I am Ra?l Gil > > > > > > I have found in mailing list the mpls utility usage > > > > > > "mpls" utility usage > > > -------------------- > > > > > > mpls nhlfe add key 0 instructions push gen 16 nexthop wlan0 ipv4 > > > 192.168.2.1 > > > (output: "Key: 0x2") > > > mpls ilm add label gen 16 labelspace 0 > > > mpls labelspace add dev eth0 labelspace 0 > > > mpls xc add ilm_label gen 16 ilm_labelspace 0 nhlfe_key 0x2 > > > mpls tunnel add dev mpls0 key 0x2 > > > ip route add 10.0.0.0/24 via 192.168.2.1 spec_nh 0x8847 0x2 > > > > > > but I do not know that it makes each instruction (nhlfe, ilm, > > > labelspace, xc), I do not know that it means. > > > > > > For example, if I execute 'mpls ilm add label gen 16 labelspace 0', > > > what I am doing? > > > > > > Can you helpme?, please! > > > > > > Ra?l Gil. > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you= shotput > > > a projector? How fast can you ride your desk chair down the office lu= ge track? > > > If you want to score the big prize, get to know the little guy. > > > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r > > > _______________________________________________ > > > mpls-linux-general mailing list > > > mpl...@li... > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > >=20 > > -- > > James R. Leu > > jl...@mi... > >=20 > >=20 > > >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id=16492&op?k > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general --=20 James R. Leu jl...@mi... |