load-balancing eibgp(BGP-VPN instance IPv6 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 is implemented only among IBGP routes or EBGP routes, and a device compares IGP costs when selecting routes for load balancing.

Format

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

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

Parameters

None

Views

BGP-VPN instance IPv6 address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

To enable load balancing among EBGP and IBGP routes, run the load-balancing eibgp command.

When both EBGP and IBGP routes are available and load balancing among them is required, run the load-balancing eibgp command. Exercise caution when using the command because the execution of this command will change the conditions of load balancing.

To prevent a router from comparing IGP costs when selecting routes for load balancing, run the load-balancing igp-metric-ignore command.

When routes with different IGP costs are available and load balancing among them is required, run the load-balancing igp-metric-ignore command. Exercise caution when using the command because the execution of this command will change the conditions of load balancing.

Precautions

The load-balancing eibgp command and the maximum load-balancing { ebgp | ibgp }or maximum load-balancing eibgp command are mutually exclusive.

Example

# Enable load balancing among EBGP and IBGP routes.
<HUAWEI> system-view
[~HUAWEI] ip vpn-instance vpna
[*HUAWEI-vpn-instance-vpna] ipv6-family
[*HUAWEI-vpn-instance-vpna-af-ipv6] quit
[*HUAWEI-vpn-instance-vpna] quit
[*HUAWEI] bgp 100
[*HUAWEI-bgp] ipv6-family vpn-instance vpna
[*HUAWEI-bgp-6-vpna] load-balancing eibgp
# Prevent a router from comparing IGP costs when selecting routes for load balancing.
<HUAWEI> system-view
[~HUAWEI] ip vpn-instance vpna
[*HUAWEI-vpn-instance-vpna] ipv6-family
[*HUAWEI-vpn-instance-vpna-af-ipv6] quit
[*HUAWEI-vpn-instance-vpna] quit
[*HUAWEI] bgp 100
[*HUAWEI-bgp] ipv6-family vpn-instance vpna
[*HUAWEI-bgp-6-vpna] load-balancing igp-metric-ignore
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >