Configuring Bgp Filtering With Route Maps - Cisco WS-C3750-48PS-S Software Configuration Manual

Network switch
Table of Contents

Advertisement

Chapter 34
Configuring IP Unicast Routing
Command
Step 7
bgp bestpath med missing-as-worst
Step 8
bgp always-compare med
Step 9
bgp bestpath med confed
Step 10
bgp deterministic med
Step 11
bgp default local-preference value
Step 12
maximum-paths number
Step 13
end
Step 14
show ip bgp
show ip bgp neighbors
Step 15
copy running-config startup-config
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
Redistribute Routing Information" section on page 34-64
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 disable next-hop
processing:
Command
Step 1
configure terminal
Step 2
route-map map-tag [[permit | deny] |
sequence-number]]
78-16180-02
Purpose
(Optional) Configure the switch to consider a missing
MED as having a value of infinity, making the path
without a MED value the least desirable path.
(Optional) Configure the switch to compare MEDs for
paths from neighbors in different autonomous systems. By
default, MED comparison is only done among paths in the
same AS.
(Optional) Configure the switch to consider the MED in
choosing a path from among those advertised by different
subautonomous systems within a confederation.
(Optional) Configure the switch to consider the MED
variable when choosing among routes advertised by
different peers in the same AS.
(Optional) Change the default local preference value. The
range is 0 to 4294967295; the default value is 100. The
highest local preference value is preferred.
(Optional) Configure the number of paths to be added to
the IP routing table. The default is to only enter the best
path in the routing table. The range is from 1 to 8. Having
multiple paths allows load balancing among the paths.
Return to privileged EXEC mode.
Verify the reset by checking information about the routing
table and about BGP neighbors.
(Optional) Save your entries in the configuration file.
for more information about route maps. Each
Purpose
Enter global configuration mode.
Create a route map, and enter route-map configuration mode.
Catalyst 3750 Switch Software Configuration Guide
Configuring BGP
"Using Route Maps to
34-49

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3750

Table of Contents