Configuring IP Unicast Routing
Step 14
Step 15
Step 16
Step 17
Step 18
Step 19
Step 20
Step 21
Step 22
Step 23
Step 24
Step 25
Command or Action
neighbor {ip-address | peer-group-name}
next-hop-self
neighbor {ip-address | peer-group-name}
password string
neighbor {ip-address | peer-group-name}
route-map map-name {in | out}
neighbor {ip-address | peer-group-name}
send-community
neighbor {ip-address | peer-group-name}
timers keepalive holdtime
neighbor {ip-address | peer-group-name}
weight weight
neighbor {ip-address | peer-group-name}
distribute-list {access-list-number |
name} {in | out}
neighbor {ip-address | peer-group-name}
filter-list access-list-number {in | out |
weight weight}
neighbor {ip-address | peer-group-name}
version value
neighbor {ip-address | peer-group-name}
soft-reconfiguration inbound
end
Example:
Device(config)# end
show ip bgp neighbors
Routing Configuration Guide, Cisco IOS XE Everest 16.6.x (Catalyst 9500 Switches)
Configuring BGP Neighbors and Peer Groups
Purpose
(Optional) Disables next-hop processing on the BGP
updates to a neighbor.
(Optional) Sets MD5 authentication on a TCP
connection to a BGP peer. The same password must
be configured on both BGP peers, or the connection
between them is not made.
(Optional) Applies a route map to incoming or
outgoing routes.
(Optional) Specifies that the COMMUNITIES
attribute be sent to the neighbor at this IP address.
(Optional) Sets timers for the neighbor or peer group.
• The keepalive interval is the time within which
keepalive messages are sent to peers. The range
is 1 to 4294967295 seconds; the default is 60.
• The holdtime is the interval after which a peer
is declared inactive after not receiving a
keepalive message from it. The range is 1 to
4294967295 seconds; the default is 180.
(Optional) Specifies a weight for all routes from a
neighbor.
(Optional) Filter BGP routing updates to or from
neighbors, as specified in an access list.
(Optional) Establish a BGP filter.
(Optional) Specifies the BGP version to use when
communicating with a neighbor.
(Optional) Configures the software to start storing
received updates.
Returns to privileged EXEC mode.
Verifies the configuration.
139