38-55
Cisco Catalyst Blade Switch 3130 for Dell Software Configuration Guide
OL-13270-01
Chapter38 Configuring IP Unicast Routing Configuring BGP
Use the no form of each command to return to the default state.
Configuring BGP Filtering with Route Maps
Within BGP, route maps can be used to control and to modify routing information and to define the
conditions by which routes are redistributed between routing domains. See the “Usi ng Route Ma ps to
Redistribute Routing Information” section on page 38-85 for more information about route maps. Each
route map has a name that identifies the route map (map tag) and an optional sequence number.
Beginning in privileged EXEC mode, follow these steps to use a route map to disa ble next-ho p
processing:
Use the no route-map map-tag command to delete the route map. Use the no set ip next-hop ip-address
command to re-enable next-hop processing.
Configuring BGP Filtering by Neighbor
You can filter BGP advertisements by using AS-path filters, such as the as-path access-list global
configuration command and the neighbor filter-list router configuration command. You can also use
access lists with the neighbor distribute-list router configuration command. Distribute-list filters are
applied to network numbers. See the “Controlling Advertising and Processing in Routing Updates”
section on page 38-93 for information about the distribute-list command.
You can use route maps on a per-neighbor basis to f ilter updates an d to modify v arious attrib utes. A ro ute
map can be applied to either inbound or outbound updates. Onl y the rout es th at p ass the r oute map a re
sent or accepted in updates. On both inbound and outbound updates, matching is supported based on AS
Step14 show ip bgp
show ip bgp neighbors Verify the reset by checking information about the r outing
table and about BGP neighbors.
Step15 copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 route-map map-tag [[permit | deny] |
sequence-number]] Create a route map, and enter route- map con figurat ion mo de.
Step3 set ip next-hop ip-address [...ip-address]
[peer-address](Optional) Set a route map to disable next-hop processing
In an inbound route map, set the next hop of matching rou tes to
be the neighbor peering address, overriding third-party next hops.
In an outbound route map of a BGP peer, set the next hop to the
peering address of the local router, disabling the next-hop
calculation.
Step4 end Return to privileged EXEC mode.
Step5 show route-map [map-name] Display all route maps configured or only the one specified to verify
configuration.
Step6 copy running-config startup-config (Optional) Save your entries in the configuration file.