User guide
Starting BGP Configuring BGP
page 4-18 OmniSwitch AOS Release 7 Advanced Routing Configuration Guide March 2015
Starting BGP
Before BGP is operational on the router must load it to running memory and then administratively enable
the protocol using the ip load bgp and ip bgp admin-state commands. Follow these steps to start BGP.
1 Configure the router's unique router-id and primary address. Assign the BGP local speaker's router-id
and primary IP address that uniquely identifies the router in the routing domain. If these values have not
been manually configured, they default to the user-defined Loopback0 interface address, if present, or to
the address assigned to the first operational IP interface.
-> ip router router-id 1.1.1.1
-> ip router primary-address 1.1.1.1
2 Install advanced routing image file in the active boot directory.
3 Load the BGP image into running memory by issuing the following command:
-> ip load bgp
4 Administratively enable BGP by issuing the following command:
-> ip bgp admin-state enable
Disabling BGP
The user can administratively disable BGP by issuing the following command:
-> ip bgp admin-state disable
Many BGP global commands require the user to disable the protocol before changing parameters. The
following functions and commands require that the user first disable BGP before issuing them:
Parameters Requiring that BGP first be disabled
Function Command
Router’s AS number ip bgp autonomous-system
Confederation identifier ip bgp confederation identifier
Default local preference ip bgp default local-preference
IGP synchronization ip bgp synchronization
AS Path Comparison ip bgp bestpath as-path ignore
MED comparison ip bgp always-compare-med
Substitute missing MED value ip bgp bestpath med missing-as-
worst
Equal-cost multi-path comparison ip bgp maximum-paths
Route reflection ip bgp client-to-client reflection
Cluster ID in route reflector group ip bgp cluster-id
Fast External Fail Over ip bgp fast-external-failover
Enable logging of peer changes ip bgp log-neighbor-changes