Configuring bgp load balancing – H3C Technologies H3C S12500 Series Switches User Manual

Page 249

Advertising
background image

233

To enable MD5 authentication for TCP connections:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter BGP view or BGP-VPN

instance view.

Enter BGP view:
bgp as-number

Enter BGP-VPN instance view:

a.

bgp as-number

b.

ipv4-family vpn-instance
vpn-instance-name

Use either method.

3.

Enable MD5 authentication
for BGP peers.

peer { group-name | ip-address }
password { cipher | simple }

password

Optional.
Not enabled by default.

Configuring BGP load balancing

If multiple BGP routes that have the same AS_PATH, ORIGIN, LOCAL_PREF, and MED attributes to a

destination exist, you can use the balance command to configure the maximum number of BGP routes for

load balancing to improve link utilization.
To configure BGP load balancing:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter BGP view or BGP-VPN

instance view.

Enter BGP view:
bgp as-number

Enter BGP-VPN instance view:

a.

bgp as-number

b.

ipv4-family vpn-instance

vpn-instance-name

Use either method.

3.

Configure the maximum

number of BGP routes for load
balancing.

balance number

By default, load balancing is not
enabled.

Forbidding session establishment with a peer or peer group

This task allows you to temporarily tear down the BGP session to a specific peer or peer group. To recover
the session, execute the undo peer ignore command. In this way, you can implement network upgrade

and maintenance without deleting and then configuring the peer or peer group.
To forbid session establishment with a peer or peer group:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

Advertising