Cisco Systems OL-14356-01 Network Router User Manual


 
Implementing BGP on Cisco IOS XR Software
How to Implement BGP on Cisco IOS XR Software
RC-83
Cisco IOS XR Routing Configuration Guide
OL-14356-01
Disabling Next-hop Processing on BGP Updates
Perform this task to disable next-hop calculation for a neighbor and insert your own address in the
next-hop field of BGP updates. Disabling the calculation of the best next hop to use when advertising a
route causes all routes to be advertised with the network device as the next hop.
Note Next-hop processing can be disabled for address family group, neighbor group, or neighbor address
family.
SUMMARY STEPS
1. configure
2. router bgp as-number
3. neighbor ip-address
4. remote-as as-number
5. address-family{ipv4 unicast | ipv4 multicast | ipv4 labeled-unicast | ipv4 tunnel | ipv4 mdt |
ipv6 unicast | ipv6 multicast | ipv6 labeled-unicast | vpnv4 unicast | vpnv6 unicast}
6. next-hop-self
7. end
or
commit
DETAILED STEPS
Command or Action Purpose
Step 1
configure
Example:
RP/0/RP0/CPU0:router# configure
Enters global configuration mode.
Step 2
router bgp as-number
Example:
RP/0/RP0/CPU0:router(config)# router bgp 120
Enters BGP configuration mode, allowing you to configure
the BGP routing process.
Step 3
neighbor ip-address
Example:
RP/0/RP0/CPU0:router(config-bgp)# neighbor
172.168.40.24
Places the router in neighbor configuration mode for BGP
routing and configures the neighbor IP address as a BGP
peer.
Step 4
remote-as as-number
Example:
RP/0/RP0/CPU0:router(config-bgp-nbr)# remote-as
206
Creates a neighbor and assigns a remote autonomous
system number to it.