Configuring BGP policy globally

Global BGP policy configuration commands

Command syntax

Description

Default

CLI reference


[no] bgp open-on-accept

Delays sending the BGP Open message until an OPEN message is received.

  Delaying sending the BGP open message

[no] bgp maximum-prefix max-routes

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] bgp always-compare-med

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] bgp allowas-in num-loops

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] bgp bestpath as-path-ignore

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] bgp bestpath compare-originator-id

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] bgp bestpath compare-router-id

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] bgp bestpath med-missing-as-worst

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] bgp default-metric med-out

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] distance bgp ext-dist int-dist loc-dist

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] bgp client-to-client-reflection

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] bgp cluster-id ip-address

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