[mpls-linux-general] I hit the first point when I dig in LDP code
Status: Beta
Brought to you by:
jleu
|
From: <m9...@cn...> - 2005-02-21 13:30:39
|
Hi James,
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 =
below.
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
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
uml-1# show ldp neighbor
=20
No discovered neighbors
uml-1# show ldp ?
addr
attr
database Labeling information
discovery Discovery information
fec
interface
neighbor Discovered neighbors
session Session information
<cr>
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
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
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
uml-1# show ldp neighbor
No discovered neighbors
uml-1# show ldp ?
addr
attr
database Labeling information
discovery Discovery information
fec
interface
neighbor Discovered neighbors
session Session information
<cr>
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
What's the problem? and What should I do?
Thanks
Best Regards
Timothy
2005.02.21
|