Cisco Systems 12.4 Building Set User Manual


 
global configuration mode makes it unnecessary to explicitly specify LDP as part of the configuration from
the Tunnel14 and Tunnel16.
ip cef distributed !Router1 supports distributed CEF
mpls label protocol ldp !Use LDP as default for all interfaces
interface Loopback0 !Loopback interface for LDP ID.
ip address 10.25.0.11 255.255.255.255
interface Tunnel14 !Tunnel to Router 4 requiring label distribution
tunnel destination 10.11.0.4 !Tunnel endpoint is Router 4
mpls ip !Enable hop-by-hop forwarding on the interface
interface Tunnel15 !Tunnel to Router 5 requiring label distribution
tunnel destination 10.11.0.5 !Tunnel endpoint is Router 5
mpls label protocol tdp !Use TDP for session with Router 5
mpls ip !Enable hop-by-hop forwarding on the interface
interface Tunnel16 !Tunnel to Router 6 requiring label distribution
tunnel destination 10.11.0.6 !Tunnel endpoint is Router 6
mpls ip !Enable hop-by-hop forwarding on the interface
Router 4 Configuration
The mpls label protocol ldp command in global configuration mode makes it unnecessary to explicitly
specify LDP as part of the configuration for the Tunnel41 targeted session with Router 1.
ip cef distributed !Router 4 supports distributed CEF
mpls label protocol ldp !Use LDP as default for all interfaces
interface Loopback0 !Loopback interface for LDP ID.
ip address 10.25.0.44 255.255.255.255
interface Tunnel41 !Tunnel to Router 1 requiring label distribution
tunnel destination 10.11.0.1 !Tunnel endpoint is Router 1
mpls ip !Enable hop-by-hop forwarding on the interface
Router 5 Configuration
Router 5 must use TDP for all targeted sessions. Therefore, its configuration includes the mpls label
protocol tdpcommand.
ip cef !Router 5 supports CEF
mpls label protocol tdp !Use TDP as default for all interfaces
interface Loopback0 !Loopback interface for LDP ID.
ip address 10.25.0.55 255.255.255.255
interface Tunnel51 !Tunnel to Router 1 requiring label distribution
tunnel destination 10.11.0.1 !Tunnel endpoint is Router 1
mpls ip !Enable hop-by-hop forwarding on the interface
Router 6 Configuration
By default, a router cannot be a passive neighbor in targeted sessions. Therefore, Router 1, Router 4, and
Router 5 are active neighbors in any targeted sessions. The mpls ldp discovery targeted-hello accept
command permits Router 6 to be a passive target in targeted sessions with Router 1. Router 6 can also be an
active neighbor in targeted sessions, although the example does not include such a configuration.
ip cef distributed !Router 6 supports distributed CEF
interface Loopback0 !Loopback interface for LDP ID.
ip address 10.25.0.66 255.255.255.255
mpls ldp discovery targeted-hellos accept from LDP_SOURCES
!Respond to requests for targeted hellos
!from sources permitted by acl LDP_SOURCES
ip access-list standard LDP_SOURCES !Define acl for targeted hello sources.
permit 10.11.0.1 !Accept targeted hello request from Router 1.
deny any !Deny requests from other sources.
MPLS Label Distribution Protocol (LDP)
MPLS LDP Configuration Examples
MPLS LDP Configuration Guide, Cisco IOS Release 12.4
24