Chapter 29
| IP Routing Commands
Border Gateway Protocol (BGPv4)
– 919 –
bgp confederation peer Adds an internal peer autonomous system to a
confederation
RC
bgp dampening Configures route dampening to reduce the propagation of
unstable routes
RC
bgp enforce-first-as Denies an update received from an external peer that does
not list its own autonomous system number at the
beginning of the AS path attribute
RC
bgp fast-external-failover Resets sessions for any directly connected external peers if
the link goes down
RC
bgp log-neighbor-changes Enables logging of neighbor resets (that is, up or down
status changes)
RC
bgp network import-check Checks the existence of the next-hop and its accessibility to
IGP
RC
bgp router-id Sets the router ID for this device RC
bgp scan-time Sets the interval at which to validate next hop information
for BGP routes
RC
network Specifies a network to advertise RC
redistribute Redistribute routes from one routing domain to another RC
timers bgp Sets the Keep Alive time used for maintaining connectivity,
and the Hold time to wait for Keep Alive messages before
declaring a neighbor down
RC
clear ip bgp Clears connections using hard or soft re-configuration PE
clear ip bgp dampening Clears route dampening information and unsuppresses
any suppressed routes
PE
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
Table 185: Border Gateway Protocol Commands – Version 4 (Continued)
Command Function Mode