Verifying multipath load sharing for ebgp and ibgp – Cisco 10000 User Manual

Page 137

Advertising
background image

4-5

Cisco 10000 Series Router Software Configuration Guide

OL-2226-23

Chapter 4 Configuring Multiprotocol Label Switching

BGP Multipath Load Sharing for eBGP and iBGP in an MPLS VPN

Configuring Multipath Load Sharing for eBGP and iBGP

To configure iBGP and eBGP routes for multipath load sharing, enter the following commands beginning
in global configuration mode:

Example 4-1

shows how to configure a VRF named main for an IPv4 session and configures a router to

select 4 eBGP or iBGP paths as multipaths in address family configuration mode.

Example 4-1

Configuring eBGP and iBGP Multipath Load Sharing

Router(config)# router bgp 50

Router(config-router)3 address-family ipv4 vrf main

Router(config-router-af)# maximum-paths eibgp 4

Verifying Multipath Load Sharing for eBGP and iBGP

To verify that iBGP and eBGP routes are configured for load sharing, enter any of the following
commands in privileged EXEC mode:

Configuration Examples for BGP Multipath Load Sharing for eBGP and iBGP
in an MPLS VPN

This section provides the following configuration examples:

eBGP and iBGP Multipath Load Sharing Configuration Example, page 4-6

Verifying eBGP and iBGP Multipath Load Sharing, page 4-6

Command

Purpose

Step 1

Router(config)# router bgp as-number

Configures the router to run a BGP process and enters router
configuration mode.

Step 2

Router(config-router)# address-family

ipv4 vrf

vrf-name

Configures a VRF instance for an IPv4 session and enters address
family configuration mode.

Step 3

Router(config-router-af)# maximum-paths

eibgp

number-of-paths

Configures the number of parallel iBGP and eBGP routes that can
be installed into a routing table. The maximum number of
configurable paths on the PRE2 is 6.

Note

You must configure the maximum-paths eibgp command
in address family IPv4 VRF configuration mode. You
cannot configure the command in any other address
family configuration mode.

Command

Purpose

Router# show ip bgp vpnv4 all

Displays all available VPNv4 information from the BGP
database.

Router# show ip route vrf vrf-name

Displays the IP routing table associated with a virtual routing and
forwarding (VRF) instance.

Advertising