Re: [mpls-linux-general] LSP establishment error
Status: Beta
Brought to you by:
jleu
From: Jason <css...@gm...> - 2010-08-11 02:17:00
|
Hi, You can try "ip route help" which gives you the following, or type man ip route on any linux box. Usage: ip route { list | flush } SELECTOR ip route get ADDRESS [ from ADDRESS iif STRING ] [ oif STRING ] [ tos TOS ] ip route { add | del | change | append | replace | monitor } ROUTE SELECTOR := [ root PREFIX ] [ match PREFIX ] [ exact PREFIX ] [ table TABLE_ID ] [ proto RTPROTO ] [ type TYPE ] [ scope SCOPE ] ROUTE := NODE_SPEC [ INFO_SPEC ] NODE_SPEC := [ TYPE ] PREFIX [ tos TOS ] [ table TABLE_ID ] [ proto RTPROTO ] [ scope SCOPE ] [ metric METRIC ] INFO_SPEC := NH OPTIONS FLAGS [ nexthop NH ]... NH := [ via ADDRESS ] [ dev STRING ] [ weight NUMBER ] NHFLAGS OPTIONS := FLAGS [ mtu NUMBER ] [ advmss NUMBER ] [ rtt TIME ] [ rttvar TIME ] [reordering NUMBER ] [ window NUMBER] [ cwnd NUMBER ] [ initcwnd NUMBER ] [ ssthresh NUMBER ] [ realms REALM ] [ src ADDRESS ] [ rto_min TIME ] [ hoplimit NUMBER ] TYPE := [ unicast | local | broadcast | multicast | throw | unreachable | prohibit | blackhole | nat ] TABLE_ID := [ local | main | default | all | NUMBER ] SCOPE := [ host | link | global | NUMBER ] MP_ALGO := { rr | drr | random | wrandom } NHFLAGS := [ onlink | pervasive ] RTPROTO := [ kernel | boot | static | NUMBER ] TIME := NUMBER[s|ms|us|ns|j] On 08/10/2010 07:42 PM, lili lili wrote: > Hi, > > Thanks for your response. Could you give me some indications about > where to find the latest documentation? > > Thanks again. > > 2010/8/10 Adrian Popa <adrian.popa.gh > <http://adrian.popa.gh>@gmail.com <http://gmail.com>> > > The syntax to the ip route command that you are using seems to be > rather old. Check the latest examples for the new syntax (I don't > remember it right now). > Good luck, > Adrian > > On Tue, Aug 10, 2010 at 6:28 AM, lili lili <lit...@gm... > <mailto:lit...@gm...>> wrote: > > Hi, > I have installed mpls linux on fedora core 10 with RPM and i > have some problem for esthabishing LSP manually. I have no > problem with "mpls nhlfe...." but when i type " ip route add > 10.0.5.1/32 <http://10.0.5.1/32> via 10.0.5.1 spec_nh 0x8847 > 0x2mpls" i have this error message : .*Either "to" is > duplicate or "spec_nh" is a garbage*. > Does any one can help me? > Thanks > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > <mailto:mpl...@li...> > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > > > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general |