Re: [mpls-linux-general] mplsadm2 and quagga
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2005-08-04 01:59:20
|
To create an NHFLE via quagga you need to either create it via
a 'ip route' command or via 'label-map <ilm> swap' command.
Since it doesn't make sense (from a quagga perspective) to create
a NHLFE without attaching it to something, there does not exist a
CLI command for just creating a NHLFE.
Example:
simian# conf t
simian(config)# mpls static 0
simian(config-ls)# label-map gen 1000 swap gen 2000 nexthop eth1 192.168.4.1
simian(config-ls)# end
simian# show mpls forwarding
Insegments:
Lbl Spc Label Owner
0 1000 STATIC
Total 1
Outsegments:
Interface Label Next Hop Owner
eth1 2000 192.168.4.1 STATIC (inactive)
Total 1
Cross Connects:
Lbl Spc In Label Out Label Interface Next Hop Owner
0 1000 2000 eth1 192.168.4.1 STATIC (i=
nactive)
Total 1
simian# conf t
simian(config)# ip route 10.0.0.0/8 gen 3000 nexthop eth1 192.168.4.1
simian(config)# end
simian# sho mpls forwarding
Insegments:
Total 0
Outsegments:
Interface Label Next Hop Owner
eth1 3000 192.168.4.1 BGP (inactive)
Total 1
Cross Connects:
Total 0
simian# sho ip route
Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF,
I - ISIS, B - BGP, > - selected route, * - FIB route
S 0.0.0.0/0 [1/0] via 192.168.4.1, eth1
K>* 0.0.0.0/0 via 192.168.4.1, eth1
S> 10.0.0.0/8 [1/0] via 192.168.4.1, eth1 (label 3000)
C>* 127.0.0.0/8 is directly connected, lo
C>* 192.168.4.0/24 is directly connected, eth1
On Mon, Jul 25, 2005 at 10:34:31AM +0200, vittorio_manetti wrote:
> Hi to all,
> =20
> I'm working to find some difference between mplsadm2 and quagga. I would =
like to know if the the following sequence of instructions produce the same=
result :
>=20
> 1) eler(config)#mpls static 0
> eler(config-ls)#label-map gen 17 pop
> =20
> 2) #mplsadm2 -A -I 0 -o pop:gen:17
> =20
> =20
> In every case, I would like to know if a quagga command equivalent to the=
following mplsadm2 command exists :
>=20
> #mplsadm2 -A -O 0 -o push:gen:16
> =20
> Thanks.
>=20
>=20
>=20
> ____________________________________________________________
> 6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero!
> Scaricalo su INTERNET GRATIS 6X http://www.libero.it
>=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...
|