# Configuring BGP globally

Use this procedure to configure general BGP parameters to define how BGP operates on the system, and to enable BGP so that BGP runs on the router.

## About this task

If you must configure the BGP router ID, use ACLI. You cannot configure the BGP router ID using EDM.

## Procedure

1. In the navigation tree, open the following folders: Configuration > IP.
2. Click BGP.
3. Click the Generals tab.
4. In AdminStatus, select enable.
5. Configure the local autonomous system (AS) ID.
6. In the Aggregate area, enable or disable route aggregation as required.
7. Configure the BGP options as required.
8. In the DebugMask area, select the check box for the type of information to show for BGP debugging purposes.
9. Configure BGP route reflectors as required.
10. Click Apply.

## Generals field descriptions

Use the data in the following table to use the Generals tab.

Name | Description
--- | ---
AdminStatus | Enables or disables BGP on the router. The default is disable. You cannot enable AdminStatus until you change the LocalAS value to a nonzero value.
LocalAs | Configures the local AS number in the range of 0 –65535. You cannot change the LocalAS if AdminStatus is enable.
Aggregate | Enables or disables aggregation. The default is enable.
DefaultMetric | Configures the metric sent to BGP neighbors. The default metric determines the cost of a route a neighbor uses. Use this parameter in conjunction with the redistribute parameters so that BGP uses the same metric for all redistributed routes. The default is -1. The range is -1–2147483647.
DefaultLocalPreference | Specifies the default local preference. The local preference indicates the preference that AS border routers assign to a chosen route when they advertise it to IBGP peers. The default is 100. The range is 0–2147483647.
DefaultInformationOriginate | Enables or disables the redistribution of network 0.0.0.0 into BGP. The default is disable.
AlwaysCompareMed | Enables or disables the comparison of the multi-exit discriminator (MED) parameter for paths from neighbors in different ASs. The system prefers a path with a lower MED over a path with a higher MED. The default is disable.
AutoPeerRestart | Enables or disables the process that automatically restarts a connection to a BGP neighbor. The default is enable.
AutoSummary | Enables or disables automatic summarization. If you enable this variable, BGP summarizes networks based on class limits (for example, Class A, B, or C networks). The default is enable.
NoMedPathIsWorst | Enables NoMedPathIsWorst. When enabled, BGP treats an update that is missing a MED attribute as the worst path. This would be checked only for updates with the same latest AS number in the AS Path sequence (the left most AS number should be the same in the paths for this comparison to occur). The default is enable.
DebugMask | Displays the specified debug information for BGP global configurations. The default value is none. Other options are none : disables all debug messages. event: enables the display of debug event messages. state: enables display of debug state transition messages. update: enables display of debug messages related to updates transmission and reception. error: enables the display of debug error messages. trace: enables the display of debug trace messages. init: enables the display of debug initialization messages. all: enables all debug messages. packet: enables the display of debug packet messages. warning: enables the display of debug warning messages. filter: enables the display of debug messages related to filtering.
IgnoreIllegalRouterId | Enables BGP to overlook an illegal router ID. For example, this variable enables the acceptance of a connection from a peer that sends an open message using a router ID of 0. The default is enable.
MaxEqualcostRoutes | Configures the maximum number of equal-cost-paths that are available to a BGP router by limiting the number of equal-cost-paths the routing table can store. The default value is 1; the range is 1–4.
IbgpReportImportRoute | Configures BGP to report imported routes to an interior BGP (IBGP) peer. This variable also enables or disables reporting of non-BGP imported routes to other IBGP neighbors. The default is enable.
QuickStart | Enables or disables the Quick Start feature, which forces the BGP speaker to begin establishing peers immediately, instead of waiting for the auto-restart timer to expire. The default is disable.
TrapEnable | Enables or disables BGP traps.
ReflectionEnable | Enables or disables the reflection of routes from IBGP neighbors. The default is enable.
ReflectorClusterId | Configures a reflector cluster ID IP address. This variable applies only if you enable ReflectionEnable, and if multiple route reflectors are in a cluster.
ReflectorClientToClientReflection | Enables or disables route reflection between two route reflector clients. This variable applies only if ReflectionEnable is enable. The default is enable.