Multicast and Routing Guide K/KA/KB.15.15

Table 34 Neighbor configuration and neighbor policy configuration commands (continued)
CLI referenceDefaultDescriptionCommand syntax
before it is exported into
BGP
(page 294)This value defaults to the
globally configured
Preferences are the first
criteria of comparison for
route selection.
[no] neighbor
ipv4-addr weight
weight
preference if it is not
specified.
(page 300)To specify that a
community’s attribute should
[no]neighbor
ipv4-addr
send-community
be sent to a BGP neighbor,
use the neighbor
send-community command
in address family or router
configuration mode.
(page 300)By default MEDs are used to
choose which route to use.
Processes sending of MEDS
and for handling received
MEDs.
[no] neighbor
ipv4-addr use-med
(page 300)The values of keep-alive and
hold-time default to 60 and
180 seconds, respectively.
To set the timers for a
specific BGP peer, use the
neighbor timers
[no] neighbor
ipv4-addr timers
keep-alive hold-time
command in router
configuration mode.
(page 300)Resets BGP peering sessions,
sends route refresh requests
if ‘soft’.
clear ip bgp
[neighbor ipv4-addr] [
soft ]
(page 300)Enables or disables
multi-hop peering with the
[no] neighbor
ipv4-addr
ibgp-multihop [ttl]
specified EBGP peer, and
optionally indicates the
maximum number of hops
(TTL.)
(page 301)Forces BGP to use the
router's outbound interface
[no] neighbor
ipv4-addr
next-hop-self
address as the next hop for
the route updates to the
peer.
(page 301)If enabled, does not initiate
a peering connection to the
peer.
[no] neighbor
ipv4-addr passive
(page 301)Specifies whether the private
AS # should be removed
[no] neighbor
ipv4-addr
remove-private-as
from the as-path attribute of
updates to the EBGP peer.
(page 301)Acts as a route-reflector for
the peer.
[no] neighbor
ipv4-addr
route-reflector-client
(page 301)Shuts down the BGP peering
session without removing the
[no] neighbor
ipv4-addr shutdown
associated peer
configuration.
(page 301)Enables or disables the
advertisement of
[no] neighbor
ipv4-addr
route-refresh
route-refresh capability in the
Open message sent to the
peer.
Neighbor configuration and neighbor policy configuration 297