cisco — Configuring BGP Route Map Next-hop Self

Configuring BGP Configuring BGP Route Map Next-hop Self Command or Action Purpose Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode. Step 3 route-map map-tag permit sequence-number Example: Device(config)# route-map static-nexthop-rewrite permit 10 Defines conditions for redistributing routes from one routing protocol to another routing protocol and enters route-map configuration mode. Step 4 match source-protocol source-protocol Example: Device(config-route-map)# match source-protocol static Matches Enhanced Interior Gateway Routing Protocol (EIGRP) external routes based on a source protocol. Step 5 set ip next-hop self Example:

Device(config-route-map)# set ip next-hop self Configure local routes (for BGP only) with next hop of self. Step 6 exit Example: Device(config-route-map)# exit Exits route-map configuration mode and enters global configuration mode. Step 7 route-map map-tag permit sequence-number Example: Device(config)# route-map static-nexthop-rewrite permit 20 Defines conditions for redistributing routes from one routing protocol to another routing protocol and enters route-map configuration mode. Step 8 match route-type internal Example: Device(config-route-map)# match route-type internal Redistributes routes of the specified type. Step 9 match route-type external Example:

Device(config-route-map)# match route-type external Redistributes routes of the specified type. Configuring BGP 51