![]() |
IP Routing: OSPF Configuration Guide, Cisco IOS XE Release 3S
|
||||||||||||||||||||
OSPF Support for Forwarding Adjacencies over MPLS TE Tunnels
![]() |
|||||||||||||||||||||
|
Contents
OSPF Support for Forwarding Adjacencies over MPLS TE TunnelsLast Updated: November 26, 2012
The OSPF Support for Forwarding Adjacencies over MPLS Traffic Engineered Tunnels feature adds Open Shortest Path First (OSPF) support to the Multiprotocol Label Switching (MPLS) Traffic Engineering (TE) Forwarding Adjacency feature, which allows a network administrator to handle a traffic engineering, label-switched path (LSP) tunnel as a link in an Interior Gateway Protocol (IGP) network based on the shortest path first (SPF) algorithm. An OSPF forwarding adjacency can be created between routers in the same area. History for the OSPF Support for Forwarding Adjacencies over MPLS Traffic Engineered Tunnels Feature
Finding Feature InformationYour software release may not support all the features documented in this module. For the latest caveats and feature information, see Bug Search Tool and the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the feature information table at the end of this module. Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required. Prerequisites for OSPF Forwarding Adjacency
Information About OSPF Forwarding AdjacencyOSPF includes MPLS TE tunnels in the OSPF link-state database in the same way that other links appear for purposes of routing and forwarding traffic. When an MPLS TE tunnel is configured between networking devices, that link is considered a forwarding adjacency. The user can assign a cost to the tunnel to indicate the link's preference. Other networking devices will see the tunnel as a link in addition to the physical link. How to Configure OSPF Forwarding AdjacencyConfiguring OSPF Forwarding Adjacency
DETAILED STEPS Configuration Examples for OSPF Forwarding AdjacencyExample OSPF Forwarding AdjacencyIn the following example, the tunnel destination is the loopback interface on the other router. The router is configured with OSPF TE extensions and it floods traffic engineering link-state advertisements (LSAs) in OSPF area 0. The traffic engineering router identifier for the node is the IP address associated with Loopback 0. The last five lines of the example set up the routing protocol for the MPLS network, which is OSPF in this case.
ip routing ip cef distributed mpls traffic-eng tunnels ! interface Loopback0 ip address 127.0.0.1 255.255.255.255 no shutdown ! interface Tunnel1 ip unnumbered Loopback0 no ip directed-broadcast tunnel destination 10.1.1.1 tunnel mode mpls traffic-eng tunnel mpls traffic-eng forwarding-adjacency holdtime 10000 ip ospf cost 4 tunnel mpls traffic-eng priority 2 2 tunnel mpls traffic-eng bandwidth 10 tunnel mpls traffic-eng path-option 2 dynamic router ospf 5 log-adjacency-changes network 10.1.1.1 0.0.0.0 area 0 mpls traffic-eng router-id loopback0 mpls traffic-eng area 0 When you look at the self-generated router LSA, you will see it as one of the links in router LSA (shown in bold in the following output). Router# show ip ospf database route self-originate OSPF Router with ID (10.5.5.5) (Process ID 5) Router Link States (Area 0) LS age:332 Options:(No TOS-capability, DC) LS Type:Router Links Link State ID:10.5.5.5 Advertising Router:10.5.5.5 LS Seq Number:80000004 Checksum:0x1D24 Length:72 Number of Links:4 Link connected to another Router (point-to-point) (Link ID) Neighboring Router ID:10.3.3.3 (Link Data) Router Interface address:0.0.0.23 Number of TOS metrics:0 TOS 0 Metrics:1562 Link connected to:a Transit Network (Link ID) Designated Router address:172.16.0.1 (Link Data) Router Interface address:172.16.0.2 Number of TOS metrics:0 TOS 0 Metrics:10 Link connected to:a Transit Network (Link ID) Designated Router address:172.16.0.3 (Link Data) Router Interface address:172.16.0.4 Number of TOS metrics:0 TOS 0 Metrics:10 Link connected to:a Stub Network (Link ID) Network/subnet number:10.5.5.5 (Link Data) Network Mask:255.255.255.255 Number of TOS metrics:0 TOS 0 Metrics:1 Additional ReferencesMIBsTechnical Assistance
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1110R) Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental. © 2012 Cisco Systems, Inc. All rights reserved.
|
||||||||||||||||||||
|
|