Global BGP policy configuration commands
Command syntax | Description | Default | CLI reference |
---|---|---|---|
[no] |
Delays sending the BGP Open message until an OPEN message is received. | Delaying sending the BGP open message | |
[no] |
Specifies the maximum number of routes that BGP will accept for installation into the Routing Information Base (RIB). | Specifying the maximum routes that BGP will accept for installation into the RIB | |
[no] |
Enables the comparison of the Multi Exit Discriminator (MED) for paths from neighbors in different autonomous systems. | Enabling comparison of MED for paths from neighbors in different autonomous systems | |
[no] |
Specifies the number of time an Autonomous System number can appear in the AS_PATH. | Enabling comparison of MED for paths from neighbors in different autonomous systems | |
[no] |
Configures Border Gateway Protocol (BGP) to not consider the autonomous system (AS)-path during best path route selection. | By default, the AS-path is considered during BGP best path selection. | Configuring BGP to not consider AS_PATH |
[no] |
Specifies to break ties between routes based the Originator ID value instead of the neighbor’s router ID. | Breaking ties between routes based on originator ID value | |
[no] |
To configure a Border Gateway Protocol (BGP) routing process to compare identical routes received from different external peers during the best path selection process and to select the route with the lowest router ID as the best path, use the bgp bestpath compare-routerid command in router configuration mode. |
Comparing identical routes received from different external peers | |
[no] |
To configure a Border Gateway Protocol (BGP) routing process to assign a value of infinity (max possible) to routes that are missing the Multi Exit Discriminator (MED) attribute (making the path without a MED value the least desirable path), use the bgp bestpath med missing-as-worst command in router configuration mode. |
Assigning value of infinity to routes missing MED attribute | |
[no] |
Causes a BGP MED to be set on routes when they are advertised to peers. | Setting BGP MED on routes when advertised to peers | |
[no] |
A route’s preference specifies how active routes that are learned from BGP (compared to other protocols) will be selected. | Specifying a route's preference | |
[no] |
Enables or disables client-to-client route reflection. | When acting as a route-reflector, this functionality is enabled by default. | Enabling client-to-client route reflection |
[no] |
Specifies the cluster ID to be used when the BGP router is used as a routereflector. | The cluster ID default is the router ID. | Specifying cluster ID when BGP router is route-reflector |
Syntax:
Delays sending the BGP Open message until an OPEN message is received. When this command is specified, an OPEN message will be immediately sent when the TCP connection has completed for configured peers. If the peer is not configured (is matched by an allow clause, but not a peer command), it will continue to wait for the OPEN message from the remote peer before sending its own BGP OPEN message.
Syntax:
Enables the comparison of the Multi Exit Discriminator (MED) for paths from neighbors in different autonomous systems. To disallow the comparison, use the no form of this command.
The MED is one of the parameters that is considered when selecting the best path among many alternative paths. The path with a lower MED is preferred over a path with a higher MED. During the best-path selection process, MED comparison is done only among paths from the same autonomous system. The
bgp always-compare-med
command is used to change this behavior by enforcing MED comparison between all paths, regardless of the autonomous system from which the paths are received.
Syntax:
Configures Border Gateway Protocol (BGP) to not consider the autonomous system (AS)-path during best path route selection. To restore default behavior and configure BGP to consider the AS-path during route selection, use the no form of this command. By default, the AS-path is considered during BGP best path selection.
Syntax:
To configure a Border Gateway Protocol (BGP) routing process to compare identical routes received from different external peers during the best path selection process and to select the route with the lowest router ID as the best path, use the
bgp bestpath compare-routerid
command in router configuration mode. To return the BGP routing process to the default operation, use the no form of this command.The behavior of this command is disabled by default; BGP selects the route that was received first when two routes with identical attributes are received.
Syntax:
To configure a Border Gateway Protocol (BGP) routing process to assign a value of infinity (max possible) to routes that are missing the Multi Exit Discriminator (MED) attribute (making the path without a MED value the least desirable path), use the
bgp bestpath med missing-as-worst
command in router configuration mode. To return the router to the default behavior (assign a value of 0 to the missing MED), use the no form of this command.
Syntax:
A route’s preference specifies how active routes that are learned from BGP (compared to other protocols) will be selected. When a route has been learned from more than one protocol, the active route will be selected from the protocol with the lowest preference. Each protocol has a default preference in this selection. This preference can be overridden by a preference value specified on the peer.