Configuring a BGP Peer Configuring BGP
page 4-28 OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide December 2007
Creating a Peer
1 Create the peer and assign it an address using the ip bgp neighbor command. For example to create a
peer with an address of 190.17.20.16 you would enter:
-> ip bgp neighbor 190.17.20.16
2 Assign an AS number to the peer using the ip bgp neighbor remote-as command. For example to
assign the peer created in Step 1 to AS number 100, you would enter:
-> ip bgp neighbor 190.17.20.16 remote-as 100
The AS number for a peer defaults to 1 if you do not configure an AS number through the
ip bgp neighbor remote-as command.
3 You can optionally assign this peer a descriptive name using the ip bgp neighbor description
command. Such a name may be helpful particularly in networks with connections to more than one ISP.
For example, you could name peers based on their connection to a given ISP. In the example above, you
could name the peer “FastISP” as follows:
-> ip bgp neighbor 190.17.20.16 description FastISP
4 Configure optional attributes for the peer. You can configure many attributes for a peer; these attributes
are listed in the table below along with the commands used to configure them.
Optional BGP Peer Parameters
Peer Parameter Command
Interval between route advertisements
with external peers.
ip bgp neighbor advertisement-interval
Enables or disables BGP peer automatic
restart.
ip bgp neighbor auto-restart
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
Enables or disables BGP peer default
origination.
ip bgp neighbor default-originate
Configures the tolerated hold time inter-
val, in seconds, for messages to this peer
from other peers.
ip bgp neighbor timers
Configures the time interval between
KEEPALIVE messages sent by this peer.
ip bgp neighbor timers
Configures the maximum number of pre-
fixes, or paths, the local router can
receive from this peer in UPDATE mes-
sages.
ip bgp neighbor maximum-prefix
Enable or disables maximum prefix
warning for a peer.
ip bgp neighbor maximum-prefix
warning-only
Configures the local address from which
this peer will be contacted.
ip bgp neighbor update-source