Procedure
PurposeCommand or Action
Enters the global configuration mode.configure terminal
Example:
Device# configure terminal
Step 1
Enters BGP router configuration mode.
router bgp autonomous-system
Step 2
Creates a BGP peer group.
neighbor peer-group-name peer-group
Step 3
Makes a BGP neighbor a member of the peer group.
neighbor ip-address peer-group
peer-group-name
Step 4
Specifies a BGP neighbor. If a peer group is not
configured with a remote-as number, use this
neighbor {ip-address | peer-group-name}
remote-as number
Step 5
command to create peer groups containing EBGP
neighbors. The range is 1 to 65535.
(Optional) Associates a description with a neighbor.
neighbor {ip-address | peer-group-name}
description text
Step 6
(Optional) Allows a BGP speaker (the local router)
to send the default route 0.0.0.0 to a neighbor for use
as a default route.
neighbor {ip-address | peer-group-name}
default-originate [route-map
map-name]
Step 7
(Optional) Specifies that the COMMUNITIES
attribute be sent to the neighbor at this IP address.
neighbor {ip-address | peer-group-name}
send-community
Step 8
(Optional) Allows internal BGP sessions to use any
operational interface for TCP connections.
neighbor {ip-address | peer-group-name}
update-source interface
Step 9
(Optional) Allows BGP sessions, even when the
neighbor is not on a directly connected segment. The
neighbor {ip-address | peer-group-name}
ebgp-multihop
Step 10
multihop session is not established if the only route
to the multihop peer’s address is the default route
(0.0.0.0).
(Optional) Specifies an AS number to use as the local
AS. The range is 1 to 65535.
neighbor {ip-address | peer-group-name}
local-as number
Step 11
(Optional) Sets the minimum interval between
sending BGP routing updates.
neighbor {ip-address | peer-group-name}
advertisement-interval seconds
Step 12
(Optional) Controls how many prefixes can be
received from a neighbor. The range is 1 to
neighbor {ip-address | peer-group-name}
maximum-prefix maximum [threshold]
Step 13
4294967295. The threshold (optional) is the
percentage of maximum at which a warning message
is generated. The default is 75 percent.
Routing Configuration Guide, Cisco IOS XE Everest 16.6.x (Catalyst 9500 Switches)
138
Configuring IP Unicast Routing
Configuring BGP Neighbors and Peer Groups