Feedback
|
Table Of Contents
Prerequisites for BGP Next Hop Propagation
Restrictions for BGP Next Hop Propagation
Information About Next Hop Propagation
BGP Next Hop Propagation Overview
Benefits of BGP Next Hop Propagation
How to Configure BGP Next Hop Propagation
Configuring the Route Reflector
Configuring the Route Reflector Client
Verifying BGP Next Hop Propagation
Configuration Examples for BGP Next Hop Propagation
Router Reflector Client: Example
BGP Next Hop Propagation
The BGP Next Hop Propagation feature provides additional flexibility when designing and migrating networks. The BGP Next Hop Propagation feature allows a route reflector to modify the next hop attribute for a reflected route and allows Border Gateway Protocol (BGP) to send an update to an external BGP (eBGP) multihop peer with the next hop attribute unchanged.
Feature History for BGP Next Hop Propagation
Finding Support Information for Platforms and Cisco IOS Software Images
Use Cisco Feature Navigator to find information about platform support and Cisco IOS software image support. Access Cisco Feature Navigator at http://www.cisco.com/go/fn. You must have an account on Cisco.com. If you do not have an account or have forgotten your username or password, click Cancel at the login dialog box and follow the instructions that appear.
Contents
•
Prerequisites for BGP Next Hop Propagation
•
Restrictions for BGP Next Hop Propagation
•
Information About Next Hop Propagation
•
How to Configure BGP Next Hop Propagation
•
Configuration Examples for BGP Next Hop Propagation
Prerequisites for BGP Next Hop Propagation
•
BGP peering has been established, and the next hop is accessible.
Restrictions for BGP Next Hop Propagation
•
BGP Next Hop Propagation can be configured only between multihop eBGP peers. The follow error message will be displayed if you attempt to configure this feature for a directly connect neighbor:
%BGP: Can propagate the nexthop only to multi-hop EBGP neighbor•
Do not use the neighbor next-hop-self command to modify the next hop attribute for a route reflector when this feature is enabled for a route reflector client. Using the neighbor next-hop-self command on the route reflector will modify next hop attributes only for routes that are learned from eBGP peers and not the intended routes that are being reflected from the route reflector clients. To modify the next hop attribute when reflecting a route, use an outbound route map.
Information About Next Hop Propagation
This section contains the following concepts:
•
BGP Next Hop Propagation Overview
•
Benefits of BGP Next Hop Propagation
BGP Next Hop Propagation Overview
The BGP Next Hop Propagation feature provides additional flexibility when designing and migrating networks. The BGP Next Hop Propagation feature allows a route reflector to modify the next hop attribute for a reflected route and allows BGP to send an update to an eBGP multihop peer with the next hop attribute unchanged.
CautionIncorrectly setting BGP attributes for a route reflector can cause inconsistent routing, routing loops, or a loss of connectivity. Setting BGP attributes for a route reflector should be attempted only by an experienced network operator.
The configuration of this feature in conjunction with the iBGP Multipath Load Sharing feature allows you to use an outbound route map to include BGP route reflectors in the forwarding path.
Benefits of BGP Next Hop Propagation
The BGP Next Hop Propagation feature allows you to perform the following tasks:
•
Bring the route reflector into the forwarding path, which can be used with the iBGP Multipath Load Sharing feature to configure load balancing.
•
Configure interprovider Multiprotocol Label Switching (MPLS) Virtual Private Networks (VPNs) by not modifying the next hop attribute when advertising routes to an eBGP peer.
•
Turn off the next hop calculation for an eBGP peer. This feature is useful for configuring the end-to-end connection of a label-switched path.
How to Configure BGP Next Hop Propagation
This section contains the following procedures:
•
Configuring the Route Reflector (required)
•
Configuring the Route Reflector Client (required)
•
Configuring the Route Reflector Client (optional)
Configuring the Route Reflector
In this section, the following tasks are completed:
•
A route map is created to set the next hop that will be advertised to the router reflector client. The route map is applied only to outbound routes.
•
eBGP peering is configured with the route reflector client.
Restrictions
Do not use the neighbor next-hop-self command to modify the next hop attribute for a route reflector when this feature is enabled for a route reflector client.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
route-map map-tag [permit | deny] [sequence-number]
4.
set ip next-hop ip-address [peer-address]
5.
exit
6.
router bgp as-number
7.
address-family ipv4 [mdt | multicast | tunnel | unicast [vrf vrf-name] | vrf vrf-name]
8.
neighbor ip-address activate
9.
neighbor ip-address ebgp-multihop ttl
10.
neighbor ip-address route-reflector-client
11.
neighbor ip-address route-map map-tag in | out
12.
end
DETAILED STEPS
Examples
The following example, starting in global configuration mode, configures the local router as a route reflector and configures the 10.0.0.100 multihop peer as a route reflector client. A route map is created to set the advertised next hop to 172.16.0.1.
route-map NEXTHOPset ip next-hop 172.16.0.1exitrouter bgp 65535address-family ipv4neighbor 10.0.0.100 activateneighbor 10.0.0.100 ebgp-multihop 255neighbor 10.0.0.100 route-reflector-clientneighbor 10.0.0.100 route-map NEXTHOP outendWhat to Do Next
To complete this configuration, the neighbor next-hop-unchanged command is configured on the route reflector client. Proceed to the next section to see more information.
Configuring the Route Reflector Client
In this section, the following tasks are completed:
•
eBGP peering is configured with the route reflector.
•
The route-reflector client is configured to propagate the next hop unchanged.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
router bgp as-number
4.
address-family ipv4 [mdt | multicast | tunnel | unicast [vrf vrf-name] | vrf vrf-name]
5.
neighbor ip-address activate
6.
neighbor ip-address ebgp-multihop ttl
7.
neighbor ip-address next-hop-unchanged
8.
end
DETAILED STEPS
Examples
The following example, starting in global configuration mode, configures the local router (route-reflector client) to establish peering with the route reflector and to propagate the next hop unchanged:
router bgp 65412address-family ipv4neighbor 192.168.0.1 activateneighbor 192.168.0.1 ebgp-multihop 255neighbor 192.168.0.1 next-hop-unchangedend
What to Do Next
Proceed to the next section to see commands that can be used to verify the configuration of the BGP Next Hop Propagation feature.
Verifying BGP Next Hop Propagation
The configuration of the BGP Next Hop Propagation feature can be verified with the show ip bgp neighbors EXEC command.
SUMMARY STEPS
1.
enable
2.
show ip bgp neighbors [neighbor-address] [received-routes | routes | advertised-routes | {paths regexp} | dampened-routes | received prefix-filter]]
3.
show ip bgp [network] [network-mask] [longer-prefixes] [prefix-list prefix-list-name | route-map route-map-name] [shorter prefixes mask-length]
DETAILED STEPS
Configuration Examples for BGP Next Hop Propagation
The following examples show how to configure this feature:
•
Router Reflector Client: Example
Router Reflector: Example
The following example, starting in global configuration mode, configures the local router as a route reflector and configures the 10.0.0.100 multihop peer as a route reflector client. A route map is created to set the advertised next hop to 172.16.0.1.
route-map NEXTHOPset ip next-hop 172.16.0.1exitrouter bgp 65535address-family ipv4neighbor 10.0.0.100 activateneighbor 10.0.0.100 ebgp-multihop 255neighbor 10.0.0.100 route-reflector-clientneighbor 10.0.0.100 route-map NEXTHOP outendRouter Reflector Client: Example
The following example, starting in global configuration mode, configures the local router (route-reflector client) to establish peering with the route reflector and to propagate the next hop unchanged:
router bgp 65412address-family ipv4neighbor 192.168.0.1 activateneighbor 192.168.0.1 ebgp-multihop 255neighbor 192.168.0.1 next-hop-unchangedendAdditional References
The following sections provide references related to the BGP Next Hop Propagation feature.
Related Documents
Related Topic Document TitleBGP commands and configuration tasks—The BGP Next Hop Propagation feature is an extension of the BGP routing protocol. For more information about configuring BGP, route reflectors, route summarization, and filtering, refer to the Cisco IOS IP Routing Configuration Guide and the Cisco IOS IP Command Reference, Volume 2 of 4: Routing Protocols.
•
Cisco IOS IP Command Reference, Volume 2 of 4: Routing Protocols, Release 12.3T
•
Cisco IOS IP Configuration Guide, Release 12.3
iBGP multipath loadsharing—For internal BGP (iBGP) multipath load-sharing configuration and command reference information, refer to the iBGP Multipath Load Sharing feature document in the "New Features in Release 12.2(1)T" area of Cisco.com.
Standards
Standards TitleNo new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature.
—
MIBs
RFCs
RFCs TitleNo new or modified RFCs are supported by this feature, and support for existing standards has not been modified by this feature.
—
Technical Assistance
Command Reference
This section documents new commands. All other commands used with this feature are documented in the Cisco IOS command reference publications.
neighbor next-hop-unchanged
To enable an external BGP (eBGP) multihop peer to propagate the next hop unchanged, use the neighbor next-hop-unchanged command in address family or router configuration mode. To disable next hop propagation capabilities, use the no form of this command.
neighbor ip-address | peer-group-name next-hop-unchanged
no neighbor ip-address | peer-group-name next-hop-unchanged
Syntax Description
ip-address
The IP address of the next hop.
peer-group-name
The name of a BGP peer group that is the next hop.
Defaults
No default behavior or values
Command Modes
Address family configuration
Router configurationCommand History
Usage Guidelines
The neighbor next-hop-unchanged command is used to configured the propagate the next hop unchanged for multihop eBGP peering sessions. This command should not be configured on a route reflector, and the neighbor next-hop-self command should not be used to modify the next hop attribute for a route reflector when this feature is enabled for a route reflector client.
This command can be used to perform the following tasks:
•
Bring the route reflector into the forwarding path, which can be used with the iBGP Multipath Load Sharing feature to configure load balancing.
•
Configure interprovider Multiprotocol Label Switching (MPLS) Virtual Private Networks (VPNs) by not modifying the next hop attribute when advertising routes to an eBGP peer.
•
Turn off the next hop calculation for an eBGP peer. This feature is useful for configuring the end-to-end connection of a label-switched path.
CautionIncorrectly setting BGP attributes for a route reflector can cause inconsistent routing, routing loops, or a loss of connectivity. Setting BGP attributes for a route reflector should be attempted only by an experienced network operator.
Examples
Route Reflector Configuration
In the following example, the local router is configured as a route reflector and configures the 10.0.0.100 multihop peer as a route reflector client. A route map is created to set the advertised next hop to 172.16.0.1.
Router(config)# route-map NEXTHOPRouter(config-route-map)# set ip next-hop 172.16.0.1Router(config-route-map)# exitRouter(config)# router bgp 65534Router(config-router)# neighbor 10.0.0.100 remote-as 65412Router(config-router)# address-family ipv4Router(config-router-af)# neighbor 10.0.0.100 activateRouter(config-router-af)# neighbor 10.0.0.100 ebgp-multihop 255Router(config-router-af)# neighbor 10.0.0.100 route-reflector-clientRouter(config-router-af)# neighbor 10.0.0.100 route-map NEXTHOP outRouter(config-router-af)# endRoute Reflector Client Configuration
In the following example, the local router (route-reflector client) is configured to establish peering with the route reflector and to propagate the next hop unchanged:
Router(config)# router bgp 65412Router(config-router)# neighbor 192.168.0.1 remote-as 65412Router(config-router)# address-family ipv4Router(config-router-af)# neighbor 192.168.0.1 activateRouter(config-router-af)# neighbor 192.168.0.1 ebgp-multihop 255Router(config-router-af)# neighbor 192.168.0.1 next-hop-unchangedRouter(config-router-af)# endRelated Commands
Copyright © 2005 Cisco Systems, Inc. All rights reserved.
Feedback
