Chapter 50
| IP Routing Commands
Border Gateway Protocol (BGPv4)
– 1083 –
Route Metrics and Selection
bgp always-compare-med Allows comparison of the Multi Exit Discriminator (MED) for
paths advertised from neighbors in different autonomous
systems
RC
bgp bestpath as-path
ignore
Ignores AS path length in the selection of a path RC
bgp bestpath compare-
confed-aspath
Compare confederation AS path length in addition to
external AS path length in the selection of a path
RC
bgp bestpath compare-
routerid
Compare similar routes from external peers, and give
preference to a route with the lowest router identifier
RC
bgp bestpath med Enables comparison of MED attribute for paths learned
from confederation peers, and the treatment of a route
when the MED is missing
RC
bgp default
local-preference
Sets the default local preference used for best path
selection among local iBGP peers
RC
bgp deterministic-med Enforces deterministic comparison of the MED attribute
between all paths received from the same AS, ensuring
that selection of the best path will always be the same,
regardless of the order in which the paths are received by
the local router
RC
distance Sets the administrative distance for a specified external
BGP (eBGP) route
RC
distance bgp Sets the administrative distance for BGP external, internal,
and local routes
RC
Neighbor Configuration
neighbor activate Enables exchange of routing information with a
neighboring router or peer group
RC
neighbor advertisement-
interval
Configures the interval between sending update messages
to a neighbor
RC
neighbor allowas-in Configures the number of times the AS path for a received
route can contain the same AS number
RC
neighbor
attribute-unchanged
Configures certain attributes to be kept unchanged for
transparent transmission to the specified neighbor
RC
neighbor
capability dynamic
Configures dynamic negotiation of capabilities between
neighboring routers
RC
neighbor capability orf
prefix-list
Configures negotiation of outbound route filter
capabilities with neighboring router
RC
neighbor default-originate Allows the local router to send a default route to a neighbor RC
neighbor description Configures the description of a neighbor or peer group RC
neighbor distribute-list Filters route updates to/from a neighbor or peer group RC
neighbor dont-capability-
negotiate
Disables capability negotiation when creating connections RC
neighbor ebgp-multihop Allows eBGP neighbors to exist in different segments, and
configures the maximum hop count (TTL)
RC
neighbor enforce-multihop Enforces the requirement for all neighbors to form multi-
hop connections
RC
Table 23: Border Gateway Protocol Commands – Version 4 (Continued)
Command Function Mode