install-igp-cost

Configures the device to use the IGP cost instead of the default BGP Multi-Exit Discriminator (MED) value as the route cost when the route is added to the Routing Table Manager (RTM).

Syntax

install-igp-cost
no install-igp-cost

Modes

BGP configuration mode

Usage Guidelines

By default, BGP uses the BGP MED value as the route cost when the route is added to the RTM. Use this command to change the default to the IGP cost.

The no form of the command restores the defaults.

Examples

The following example configures the device to compare MEDs.

device# configure terminal
device(config)# router bgp
device(config-bgp-router)# install-igp-cost