The BGP Conditional Route Injection feature is supported by all platforms in Cisco IOS Release 12.2(14)S that support BGP:
• Cisco 7200 series
• Cisco 7400 series
• Cisco 7500 series
Determining Platform Support Through Cisco Feature Navigator Cisco IOS software is packaged in feature sets that support specific platforms. To get updated information regarding platform support for this feature, access Cisco Feature Navigator. Cisco Feature Navigator dynamically updates the list of supported platforms as new platform support is added for the feature. Cisco Feature Navigator is a web-based tool that enables you to determine which Cisco IOS software images support a specific set of features and which features are supported in a specific Cisco IOS image.
You can search by feature or release. Under the release section, you can compare releases side by side to display both the features unique to each software release and the features in common.
• Cisco 7200 series
• Cisco 7400 series
• Cisco 7500 series
Determining Platform Support Through Cisco Feature Navigator Cisco IOS software is packaged in feature sets that support specific platforms. To get updated information regarding platform support for this feature, access Cisco Feature Navigator. Cisco Feature Navigator dynamically updates the list of supported platforms as new platform support is added for the feature. Cisco Feature Navigator is a web-based tool that enables you to determine which Cisco IOS software images support a specific set of features and which features are supported in a specific Cisco IOS image.
You can search by feature or release. Under the release section, you can compare releases side by side to display both the features unique to each software release and the features in common.
See the following section for configuration tasks for the BGP Conditional Route Injection feature. Each task in the list is identified as either required or optional.
• Configuring BGP Conditional Route Injection (required)
• Verifying BGP Conditional Route Injection (optional)
To configure the BGP Conditional Route Injection feature, use the following commands beginning in global configuration mode:
Command | Purpose | |
Step 1 | Router(config)# router bgp as-number | Places the router in router configuration mode, and configures the router to run a BGP process. |
Step 2 | Router(config-router)# bgp inject-map ORIGINATE exist-map LEARNED_PATH | Configures the inject-map named ORIGINATE and the exist-map named LEARNED_PATH for conditional route injection. |
Step 3 | Router(config-router)# exit | Exits router configuration mode, and enters global configuration mode. |
Step 4 | Router(config)# route-map LEARNED_PATH permit sequence-number | Configures the route map named LEARNED_PATH. |
Step 5 | Router(config-route-map)# match ip address prefix-list ROUTE | Specifies the aggregate route to which a more specific route will be injected. |
Step 6 | Router(config-route-map# match ip route-source prefix-list ROUTE_SOURCE | Configures the prefix list named ROUTE_SOURCE to redistribute the source of the route. Note: The route source is the neighbor address that is configured with the neighbor remote-as command. The tracked prefix must come from this neighbor in order for conditional route injection to occur. |
Step 7 | Router(config-route-map)# exit | Exits route-map configuration mode, and enters global configuration mode. |
Step 8 | Router(config)# route-map ORIGINATE permit 10 | Configures the route map named ORIGINATE. |
Step 9 | Router(config-route-map)# set ip address prefix-list ORIGINATED_ROUTES | Specifies the routes to be injected. |
Step 10 | Router(config-route-map)# set community community-attribute additive | Configures the community attribute of the injected routes. |
Step 11 | Router(config-route-map)# exit | Exits route-map configuration mode, and enters global configuration mode. |
Step 12 | Router(config)# ip prefix-list ROUTE permit 10.1.1.0/24 | Configures the prefix list named ROUTE to permit routes from network 10.1.1.0/24. |
Step 13 | Router(config)# ip prefix-list ORIGINATED_ROUTES permit 10.1.1.0/25 | Configures the prefix list named ORIGINATED_ROUTES to permit routes from network 10.1.1.0/25. |
Step 14 | Router(config)# ip prefix-list ORIGINATED_ROUTES permit 10.1.1.128/25 | Configures the prefix list named ORIGINATED_ROUTES to permit routes from network 10.1.1.0/25. |
Step 15 | Router(config)# ip prefix-list ROUTE_SOURCE permit 10.2.1.1/32 | Configures the prefix list named ROUTE_SOURCE to permit routes from network 10.2.1.1/32. Note: The route source prefix list must be configured with a /32 mask in order for conditional route injection to occur. |
Note: To enable conditional route injection, the exist-map must contain both the match ip address prefix-list and match ip route-source prefix-list match clauses in the route map paragraph. |
0 Comments:
Post a Comment