Cisco Cisco IOS Software Release 12.2(14)S

Page de 12
      BGP Next Hop Propagation
Configuration Examples for BGP Next Hop Propagation
8
Cisco IOS Release 12.0(16)ST, 12.2, 12.2(14)S, and 12.0(22)S 
DETAILED STEPS
Configuration Examples for BGP Next Hop Propagation
The following examples show how to configure this feature:
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 NEXTHOP 
set ip next-hop 172.16.0.1 
exit 
router bgp 65535
address-family ipv4
neighbor 10.0.0.100 activate 
neighbor 10.0.0.100 ebgp-multihop 255
neighbor 10.0.0.100 route-reflector-client
neighbor 10.0.0.100 route-map NEXTHOP out
end
Command or Action
Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode. 
Enter your password if prompted.
Step 2
show ip bgp neighbors [neighbor-address] 
[received-routes | routes | advertised-routes | 
{paths regexp} | dampened-routes | received 
prefix-filter]]
Example:
Router# show ip bgp neighbors 
Displays information about the TCP and BGP connections 
to neighbors. The output will display the status of the BGP 
Next Hop Propagation feature.
Step 3
show ip bgp [network] [network-mask] 
[longer-prefixes] [prefix-list prefix-list-name 
| route-map route-map-name] [shorter prefixes 
mask-length] 
Example:
Router# show ip bgp 
Displays entries in the BGP routing table. The displayed 
output will indicate if the neighbor next-hop-unchanged 
command has been configured for the selected address.