load-balancing eibgp (BGP-EVPN address family view)

Function

The load-balancing eibgp command enables load balancing among EBGP and IBGP routes.

The undo load-balancing eibgp command disables load balancing among EBGP and IBGP routes.

The load-balancing igp-metric-ignore command prevents a router from comparing IGP costs when selecting routes for load balancing.

The undo load-balancing igp-metric-ignore command restores the default configuration.

By default, load balancing can be implemented only between IBGP or EBGP routes. The IGP metric of the routes is compared when load balancing is implemented.

Format

load-balancing { eibgp | igp-metric-ignore }

undo load-balancing { eibgp | igp-metric-ignore }

Parameters

None

Views

BGP-EVPN address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

After the load-balancing eibgp command is run, load balancing is performed among EBGP and IBGP routes.

The load-balancing eibgp command is used when EBGP and IBGP routes coexist on a device and load balancing needs to be implemented among the EBGP and IBGP routes. This command will change the conditions for load balancing among routes. Therefore, exercise caution when running this command.

After the load-balancing igp-metric-ignore command is run, the device does not compare the IGP costs of the routes to be used for load balancing.

load-balancing igp-metric-ignore is used when routes with different IGP metrics exist on a device and load balancing needs to be implemented among these routes. Running this command will change the conditions for load balancing among routes. Therefore, exercise caution when running this command.

Precautions

This command is mutually exclusive with the maximum load-balancing { ebgp | ibgp } and maximum load-balancing eibgp commands.

Example

# Enable load balancing among EBGP and IBGP routes.
<HUAWEI> system-view
[*HUAWEI] bgp 100
[*HUAWEI-bgp] l2vpn-family evpn
[*HUAWEI-bgp-af-evpn] load-balancing eibgp
# Configure a device not to compare the IGP costs of the routes to be used for load balancing.
<HUAWEI> system-view
[*HUAWEI] bgp 100
[*HUAWEI-bgp] l2vpn-family evpn
[*HUAWEI-bgp-af-evpn] load-balancing igp-metric-ignore
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >