Re: [mpls-linux-general] I got a error when I restart "mpls ip" command on interface
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2005-02-23 18:52:32
|
Good work.
A quick look at the trace file shows:
PRT: ldp_cfg_entity_set: no such interface
entity delete
EXIT: ldp_cfg_entity_set
ENTER: ldp_cfg_entity_get
EXIT: ldp_cfg_entity_get
lt-ldpd: ldp_interface.c:101: ldp_interface_startup: Assertion `ldp &&
+li->iff.index' failed.
Aborted
Note the 'no such interface'. That means quagga tried to configure
an entity for an interface which LDP does not know about. Trying looking
through the trace to see if any of the ldp_cfg_if_* calls result in
an error ('PRT' usually indicates an error I think).
On Thu, Feb 24, 2005 at 12:02:57AM +0800, ?????x wrote:
> Hi James,
>=20
> The two hosts can form an LDP adj, and a session, then start exchanging l=
abels (I use Ethereal to capture packets, there are Hello message, LDP sess=
ion establish, Keeplive message, Initialization message), and the first ste=
p you told me last time was ok which is:
>=20
> > ldpd> conf t
>=20
> > ldpd(config)# mpls ldp
>=20
> > ldpd(config-ldp)# exit
>=20
> > ldpd(config)# int eth0
>=20
> > ldpd(config-if)# mpls interface
>=20
> >ldpd(config-ldp)# end
>=20
> > ldpd> show ldp
>=20
> > ldpd> show ldp neigh
>=20
> > ldpd> show ldp ?
>=20
> =20
>=20
> But when I start trying to disable/enable ldp on an interface, following =
shows what I did:
>=20
> =20
>=20
> uml-1# conf t
>=20
> uml-1(config)# mpls ip
>=20
> uml-1(config-ldp)# trace all
>=20
> uml-1(config-ldp)# exit
>=20
> uml-1(config)# interface eth1
>=20
> uml-1(config-if)# mpls
>=20
> interface Dynamic label distribution via LDP
>=20
> labelspace labelspace
>=20
> uml-1(config-if)# mpls interface
>=20
> uml-1(config-if-ldp)# end
>=20
> uml-1# conf t
>=20
> uml-1(config)# no m
>=20
> uml-1(config)# no mpls ip
>=20
> uml-1(config)# mpl
>=20
> uml-1(config)# mpls ip
>=20
> uml-1(config-ldp)# exit
>=20
> uml-1(config)# interface eth1
>=20
> uml-1(config-if)# no mpl
>=20
> uml-1(config-if)# no mpls
>=20
> ip remove LDP
>=20
> labelspace labelspace
>=20
> uml-1(config-if)# no mpls ip
>=20
> uml-1(config-if)# mpls
>=20
> interface Dynamic label distribution via LDP
>=20
> labelspace labelspace
>=20
> uml-1(config-if)# mpls in
>=20
> uml-1(config-if)# mpls interface
>=20
> Connection closed by foreign host.
>=20
> =20
>=20
> I got an error. Then, you can see the error message in the ??daemon runni=
ng?? forground:
>=20
> =20
>=20
> lt-ldpd: ldp_interface.c:101: ldp_interface_startup: Assertion `ldp && li=
->iff.index' failed.
> Aborted
>=20
> =20
>=20
> I use the Unix utility ??script?? to capture what I did attached with thi=
s mail.
>=20
> =20
>=20
> Thanks
>=20
> Timothy
>=20
> 2005.02.24
>=20
--=20
James R. Leu
jl...@mi...
|