Cisco 3032 Software Configuration Manual page 981

Hide thumbs Also See for 3032:
Table of Contents

Advertisement

Chapter 38
Configuring IP Unicast Routing
3.
4.
5.
6.
7.
8.
9.
10.
11.
Beginning in privileged EXEC mode, follow these steps to configure some decision attributes:
Command
Step 1
configure terminal
Step 2
router bgp autonomous-system
Step 3
bgp best-path as-path ignore
Step 4
neighbor {ip-address | peer-group-name}
next-hop-self
Step 5
neighbor {ip-address | peer-group-name} weight
weight
Step 6
default-metric number
OL-12247-04
Prefer the route with the highest local preference. Local preference is part of the routing update and
is exchanged among routers in the same autonomous system. The default value of the local
preference attribute is 100. You can set local preference by using the bgp default local-preference
router configuration command or by using a route map.
Prefer the route that was originated by BGP running on the local router.
Prefer the route with the shortest autonomous-system path.
Prefer the route with the lowest origin type. An interior route or IGP is lower than a route learned
by EGP, and an EGP-learned route is lower than one of unknown origin or learned in another way.
Prefer the route with the lowest multi-exit discriminator (MED) metric attribute if the neighboring
autonomous system is the same for all routes considered. You can configure the MED by using route
maps or by using the default-metric router configuration command. When an update is sent to an
IBGP peer, the MED is included.
Prefer the external (EBGP) path over the internal (IBGP) path.
Prefer the route that can be reached through the closest IGP neighbor (the lowest IGP metric). This
means that the router prefers the shortest internal path within the autonomous system to reach the
destination (the shortest path to the BGP next hop).
If these conditions are all true, insert the route for this path into the IP routing table:
Both the best route and this route are external.
Both the best route and this route are from the same neighboring autonomous system.
maximum-paths is enabled.
If multipath is not enabled, prefer the route with the lowest IP address value for the BGP router ID.
The router ID is usually the highest IP address on the router or the loopback (virtual) address, but
might be implementation-specific.
Cisco Catalyst Blade Switch 3130 and 3032 for Dell Software Configuration Guide
Purpose
Enter global configuration mode.
Enable a BGP routing process, assign it an
autonomous-system number, and enter router
configuration mode.
(Optional) Configure the router to ignore
autonomous-system path length in selecting a route.
(Optional) Disable next-hop processing on BGP updates
to a neighbor by entering a specific IP address to be used
instead of the next-hop address.
(Optional) Assign a weight to a neighbor connection.
Values are from 0 to 65535; the largest weight is the
preferred route. Routes learned through another BGP peer
have a default weight of 0; routes sourced by the local
router have a default weight of 32768.
(Optional) Set a MED metric to set preferred paths to
external neighbors. All routes without a MED are also set
to this value. The range is 1 to 4294967295. The lowest
value is the most desirable.
Configuring BGP
38-55

Advertisement

Table of Contents
loading

This manual is also suitable for:

3130

Table of Contents