Configuring a BGP Peer
Configuring BGP
page 3-26
OmniSwitch AOS Release 7 Advanced Routing Configuration Guide
March 2011
Configuring a BGP Peer
BGP supports two types of peers, or neighbors: internal and external. Internal sessions are run between
BGP speakers in the same autonomous system (AS). External sessions are run between BGP peers in
different autonomous systems. Internal neighbors may be located anywhere within the same autonomous
system while external neighbors are adjacent to each other and share a subnet. Internal neighbors may or
may not share a subnet.
BGP Peers can be configured on the OmniSwitch with the same AS number or different AS numbers.
Each peer must be explicitly configured on the OmniSwitch as BGP peers are not dynamically learned.
Note.
In this document, the BGP terms “peer” and “neighbor” are used interchangeably to mean any BGP
entity known to the local router.
Peer Command Defaults
The following table lists the default values for many of the peer commands:
Parameter Description
Command
Default Value/
Comments
Enables or disables BGP peer.
ip bgp neighbor admin-state
disabled
Assigns an AS number to the
BGP peer.
ip bgp neighbor remote-as
1
Configures the time interval for
updates between external BGP
peers.
ip bgp neighbor advertisement-interval
30
Enables or disables BGP peer
automatic restart.
ip bgp neighbor auto-restart
enabled
Configures this peer as a client to
the local route reflector.
ip bgp neighbor route-reflector-client
disabled
The interval, in seconds,
between
BGP
retries to set up a
connection via the transport
protocol with another peer.
ip bgp neighbor conn-retry-interval
120
Enables or disables BGP peer
default origination.
ip bgp neighbor default-originate
disabled
Configures the tolerated hold
time interval, in seconds, for this
peer’s session.
ip bgp neighbor timers
90
Configures the timer interval
between KEEPALIVE messages
sent to this peer.
ip bgp neighbor timers
30
Configures the maximum number
of prefixes, or paths, the local
router can receive from this peer
in UPDATE messages.
ip bgp neighbor maximum-prefix
5000