Configuring BGP
Configuring a BGP Peer
OmniSwitch AOS Release 7 Advanced Routing Configuration Guide
March 2011
page 3-29
5
After entering all commands to configure a peer you need to administratively enable the peer. The peer
will not begin advertising routes until you enable it. To enable the peer in the above step, enter the
ip bgp
network admin-state
command:
-> ip bgp neighbor 190.17.20.16 admin-state enable
Restarting a Peer
Many BGP peer commands will automatically restart the peer once they are executed. By restarting the
peer, these parameters take effect as soon as the peer comes back up. However, there are some peer
commands (such as those configuring timer values) that do not reset the peer. If you want these parame-
ters to take effect, then you must manually restart the BGP peer using the
ip bgp neighbor clear
. The
following command would restart the peer at address 190.17.20.16:
-> ip bgp neighbor 190.17.20.16 clear
The peer is not available to send or receive update or notification messages while it is restarting.
Use the
ip bgp neighbor clear soft
command to reset peer policy parameters.
Setting the Peer Auto Restart
When the auto restart is enabled, this peer will automatically attempt to restart a session with another peer
after a session with that peer terminates.
To enable the auto restart feature, enter the
ip bgp neighbor auto-restart
command with the peer IP
address, as shown:
-> ip bgp neighbor 190.17.20.16 auto-restart
To disable this feature, enter the following:
-> no ip bgp neighbor 190.17.20.16 auto-restart
Allows external peers to communicate
with each other even when they are not
directly connected.
ip bgp neighbor ebgp-multihop
Sets the BGP peer to use next hop pro-
cessing behavior.
ip bgp neighbor next-hop-self
Configures the local BGP speaker to wait
for this peer to establish a connection.
ip bgp neighbor passive
Enables or disables the stripping of pri-
vate autonomous system numbers from
the AS path of routes destined to this
peer.
ip bgp neighbor remove-private-as
Enables or disables BGP peer soft recon-
figuration.
ip bgp neighbor soft-reconfiguration
Peer Parameter
Command