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