Prerequisites for OSPFv2 Autoroute Exclude
- Open Shortest Path First (OSPF) must be configured in your network.
- Cisco Express Forwarding (CEF) must be enabled.
- Multiprotocol Label Switching (MPLS) TE tunnels must be configured.
The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
The OSPFv2 Autoroute Exclude feature allows specific destinations and prefixes to avoid Traffic Engineering (TE) tunnels for the packet transport. The rest of the prefixes can still be set to use TE tunnels. Prefixes that are excluded do not use a TE tunnel path. Only native non-TE paths are downloaded to RIB for such routes. This module describes how to configure the OSPFv2 Autoroute Exclude feature.
The Autoroute feature is an IP routing method that forces OSPF to use MPLS TE tunnels to build paths for IP traffic routes.
The Autoroute feature enables all routes to use TE Tunnels, even if there is an alternate non-TE path available for that route.
The OSPFv2 Autoroute Exclude feature allows specific destinations or prefixes to avoid TE tunnels, while other prefixes can still be configured to use TE tunnels. Prefixes that are excluded do not use a TE tunnel path. Only native non-TE paths are downloaded to RIB for such routes.
The auto route exclude option is configured under the router OSPF configuration mode by using a prefix list. IP addresses and prefixes that are members of this prefix list are excluded from TE tunnels, even when the auto route is enabled on them. If the IP addresses or prefixes are added to the prefix list, they are dynamically routed without passing through the TE tunnel. If the IP addresses or prefixes are removed from the prefix list, they are dynamically rerouted back on the TE tunnel path.
Command or Action | Purpose | |
---|---|---|
Step 1 |
enable Example:
|
Enables privileged EXEC mode.
|
Step 2 |
configure terminal Example:
|
Enters global configuration mode. |
Step 3 |
router ospf process-ID Example:
|
Configures OSPF routing process and enters OSPF router configuration mode. |
Step 4 |
router-id ip-address Example:
|
Enables to use a fixed router ID in router configuration mode. |
Step 5 |
mpls traffic-eng router-id interface-name Example:
|
Specifies the traffic engineering router identifier for the node and the IP address associated with a given interface. |
Step 6 |
mpls traffic-eng areanumber Example:
|
Configures a router running OSPF MPLS so that it floods traffic engineering for the indicated OSPF area. |
Step 7 |
mpls traffic-eng autoroute-exclude prefix-list prefix-list-name Example:
|
Allows specific destinations and prefixes to avoid routing through TE tunnels.
|
Step 8 |
exit Example:
|
Exits router configuration mode and returns to privileged EXEC mode. |
!
router ospf 1
router-id 3.3.3.3
mpls traffic-eng router-id Loopback0
mpls traffic-eng area 0
mpls traffic-eng autoroute-exclude prefix-list XX
!
Related Topic |
Document Title |
---|---|
Cisco IOS commands |
|
Configuring OSPF |
IP Routing: OSPF Configuration Guide |
Configuring Basic Cisco Express Forwarding |
IP Switching: Cisco Express Forwarding Configuration Guide |
MPLS Traffic Engineering Tunnel Source |
MPLS Traffic Engineering Path Calculation and Setup Configuration Guide |
Description |
Link |
---|---|
The Cisco Support website provides extensive online resources, including documentation and tools for troubleshooting and resolving technical issues with Cisco products and technologies. To receive security and technical information about your products, you can subscribe to various services, such as the Product Alert Tool (accessed from Field Notices), the Cisco Technical Services Newsletter, and Really Simple Syndication (RSS) Feeds. Access to most tools on the Cisco Support website requires a Cisco.com user ID and password. |
The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.
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.
Feature Name |
Releases |
Feature Information |
---|---|---|
OSPFv2 Autoroute Exclude |
Cisco IOS XE 3.13S |
The OSPFv2 Autoroute Exclude feature allows specific destinations and prefixes to avoid TE tunnels for the packet transport. The following commands were introduced or modified: mpls traffic-eng autoroute-exclude prefix list . |
Feature Name |
Releases |
Feature Information |
---|---|---|
OSPFv2 Autoroute Exclude |
Cisco IOS XE 17.4 |
This feature was introduced. |