[c-nsp] ldp-igp

Mateusz Błaszczyk blahu77 at gmail.com
Sun Nov 23 05:19:56 EST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Marlon,

> Hi - Does anyone know how LDP and IGP forwarding on 7600 series can be
> separated?I have OSPF as IGP and also LDP is advertising the same routes
> from the neighbors.

well, LDP advertises label to FEC bindings, not routes

> It looks like that Cisco selects only MPLS (LDP based) forwarding path. How
> can I tell to use IP forwarding for some routes and MPLS for other.
> No RSVP (MPLS-TE) is enabled.

The default behaviour is to advertice label to FEC bindings for ALL
iGP learnt IPv4 prefixes. So:

first disable the default behaviour

R1(config)#no mpls ldp advertise-labels

Then set for what PREFIXes advertise the labels to what PEERs

R1(config)#mpls ldp advertise-labels ?
  for        Access-list specifying controls on destination prefixes

R1(config)#mpls ldp advertise-labels for ?
  WORD  IP access-list for destination prefixes; name or number (1-99)

R1(config)#mpls ldp advertise-labels for PREFIXes ?
  to  Access-list specifying controls on LDP peers


R1(config)#mpls ldp advertise-labels for PREFIXes to PEERs


> When I run show ip route, only IP routes are shown. show mpls forwarding
> shows only MPLS routes. Is there any way that I can pick one vs the other
> for forwarding? How can I tell from a 'show ' command which one is used?

"show ip cef PREFIX detail" will tell you if there are any MPLS labels
attached to the IPv4 packet, when it will be send to the PREFIX
destination.

BRs,

- -mat

- --
pgp-key 0x1C655CAB


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFJKS5R+BuaDRxlXKsRAnf7AJ9vFZRvWLtcyqciGycBgs9VqAiLeQCfRq9c
WGeXQApGzTErB16stzca/Pg=
=7LoB
-----END PGP SIGNATURE-----


More information about the cisco-nsp mailing list