Re: [mpls-linux-general] I hit the first point when I dig in LDP code
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2005-02-21 15:02:17
|
What version of mpls-linux are you running? Make sure to start ldpd in the forground (ie not as a daemon) and redirect it's STDERR and STDOUT to a file. My guess is that there are some error msgs being printed by the ldpd daemon. You can also try enabling all tracing (which also goes to STDOUT). conf t mpls ip trace all exit int eth0 mpls ip Try that and see if you can find anything in the output from ldpd. On Mon, Feb 21, 2005 at 09:36:43PM +0800, ?????x wrote: > Hi James, >=20 > I follow the steps that you told me last time. > The two hosts can't establish LDP session.=20 > In order to avoid wrong configure I enter, I capture out my configure bel= ow. >=20 > Host A's OSPF configure > Current configure: > ! > hostname ospfd > password zebra > log stdout > ! > ! > ! > interface eth0 > ! > interface eth1 > ! > interface lo > ! > interface sit0 > ! > router ospf > network 192.168.1.0/24 area 0.0.0.1 > ! > line vty > ! > end >=20 > Host A's LDP configure > uml-1# conf t > uml-1(config)# mpls ip > uml-1(config-ldp)# exit > uml-1(config)# int eth1 > uml-1(config-if)# mpls ip > uml-1(config-ldp)# end > uml-1# show ldp > LSR-ID: c0a80102 Admin State: ENABLED > Transport Address: c0a80102 > Control Mode: ORDERED Repair Mode: GLOBAL > Propogate Release: TRUE Label Merge: TRUE > Retention Mode: LIBERAL Loop Detection Mode: NONE > TTL-less-domain: FALSE > Local TCP Port: 646 Local UDP Port: 646 > Keep-alive Time: 45 Keep-alive Interval: 15 > Hello Time: 15 Hello Interval: 5 >=20 > uml-1# show ldp neighbor > =20 > No discovered neighbors >=20 > uml-1# show ldp ? > addr > attr > database Labeling information > discovery Discovery information > fec > interface > neighbor Discovered neighbors > session Session information > <cr> >=20 > uml-1# show running-config > Current configuration: > ! > hostname uml-1 > password root > enable password root > ! > interface eth0 > ! > interface eth1 > ! > interface lo > ! > interface sit0 > ! > ! > mpls ip > egress connected > ! > line vty > ! > end >=20 >=20 >=20 > Host B's OSPF configure > Current configuration: > ! > hostname ospfd > password zebra > log stdout > ! > ! > ! > interface eth0 > ! > interface eth1 > ! > interface lo > ! > interface sit0 > ! > router ospf > network 192.168.1.0/24 area 0.0.0.1 > ! > line vty > ! > end >=20 > Host B's LDP configure > uml-1# conf t > uml-1(config)# mpls ip > uml-1(config-ldp)# exit > uml-1(config)# int eth1 > uml-1(config-if)# mpls ip > uml-1(config-ldp)# end > uml-1# show ldp > LSR-ID: c0a80101 Admin State: ENABLED > Transport Address: c0a80101 > Control Mode: ORDERED Repair Mode: GLOBAL > Propogate Release: TRUE Label Merge: TRUE > Retention Mode: LIBERAL Loop Detection Mode: NONE > TTL-less-domain: FALSE > Local TCP Port: 646 Local UDP Port: 646 > Keep-alive Time: 45 Keep-alive Interval: 15 > Hello Time: 15 Hello Interval: 5 >=20 > uml-1# show ldp neighbor >=20 > No discovered neighbors >=20 > uml-1# show ldp ? > addr > attr > database Labeling information > discovery Discovery information > fec > interface > neighbor Discovered neighbors > session Session information > <cr> >=20 >=20 > uml-1# show running-config > Current configuration: > ! > hostname uml-1 > password root > enable password root > ! > interface eth0 > ! > interface eth1 > ! > interface lo > ! > interface sit0 > ! > ! > mpls ip > egress connected > ! > line vty > ! > end >=20 >=20 >=20 >=20 > What's the problem? and What should I do? >=20 >=20 > Thanks > Best Regards >=20 > Timothy > 2005.02.21 >=20 --=20 James R. Leu jl...@mi... |