Cisco ME 3400 Software Configuration Manual page 777

Ethernet access switch
Hide thumbs Also See for ME 3400:
Table of Contents

Advertisement

Chapter 35
Configuring IP Unicast Routing
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 (Optional) Disable next-hop processing on BGP updates
Step 5
neighbor {ip-address | peer-group-name} weight
weight
Step 6
default-metric number
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.
OL-9639-07
Purpose
Enter global configuration mode.
Enable a BGP routing process, assign it an AS number,
and enter router configuration mode.
(Optional) Configure the router to ignore AS path length
in selecting a route.
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.
Acceptable 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 will also be
set to this value. The range is 1 to 4294967295. The lowest
value is the most desirable.
(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.
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
Configuring BGP
35-51

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents