Wednesday, September 28, 2011

LAB: BGP BestPath Selection - DMZ Link BW

- Modify the configuration of AS 100 routers so that R1 load-balances to the paths in AS 54 proportional to the bandwidth of the links connecting R4 and R6 to AS 54 routers.



configuration:
R1:
router bgp 100
maximum-path ibgp 2

R4:
router bgp 100
bgp dmzlink-bw
neighbor 155.1.146.1 send-community extended
neighbor 204.12.1.254 dmzlink-bw
R6:
router bgp 100
bgp dmzlink-bw
neighbor 155.1.146.1 send-community extended
neighbor 54.1.1.254 dmzlink-bw
!
interface Serial 0/0
bandwidth 2000


verification:

Rack1R1#show ip bgp 112.0.0.0
BGP routing table entry for 112.0.0.0/8, version 48
Paths: (2 available, best #2, table Default-IP-Routing-Table)
Multipath: iBGP
  Advertised to update-groups:
     1          2        
  54 50 60, (Received from a RR-client)
    204.12.1.254 (metric 2560002816) from 155.1.146.4 (150.1.4.4)
      Origin IGP, metric 0, localpref 100, valid, internal, multipath
      DMZ-Link Bw 12500 kbytes
  54 50 60, (Received from a RR-client)
    54.1.1.254 (metric 2560002816) from 155.1.146.6 (6.6.6.6)
      Origin IGP, metric 0, localpref 100, valid, internal, multipath, best
      DMZ-Link Bw 250 kbytes


Rack1R1#show ip route 112.0.0.0
Routing entry for 112.0.0.0/8
Known via "bgp 100", distance 200, metric 0
Tag 54, type internal
Last update from 204.12.1.254 00:07:21 ago
Routing Descriptor Blocks:
204.12.1.254, from 155.1.146.4, 00:07:21 ago
Route metric is 0, traffic share count is 48
AS Hops 3
Route tag 54
* 54.1.1.254, from 155.1.146.6, 00:07:21 ago
Route metric is 0, traffic share count is 1
AS Hops 3
Route tag 54

No comments:

Post a Comment