RE: BGP Set Weight

From: Michael Stout (michaelgstout@hotmail.com)
Date: Tue Aug 15 2006 - 11:31:10 ART


They are the same, one is easier to configure than the other.

  --------------------------------------------------------------------

  From: "Hash Aminu" <hashng@gmail.com>
  Reply-To: "Hash Aminu" <hashng@gmail.com>
  To: "Cisco certification" <ccielab@groupstudy.com>
  Subject: BGP Set Weight
  Date: Tue, 15 Aug 2006 08:39:37 +0100
  Hello GS

  please i would like to know if there is any difference between the
  following
  configs

  r6(config)#router bgp 2
  r6(config-router)#nei 2.2.4.4 weight 1500

  and

  r6(config)#route-map SET_WEIGHT permit 10
  r6(config-route-map)#match as-path 1
  r6(config-route-map)#set weight 1500
  r6(config-route-map)#exit
  r6(config)#ip as-path access-list 1 permit ^100$
  r6(config)#router bgp 2
  r6(config-router)#nei 2.2.4.4 route-map SET_WEIGHT in

  assuming that the peering is only coming from AS 100

  thanks in advance
  Hash

  --
  B.Eng, MCP,CCNA, CCNP

  _______________________________________________________________________
  Subscription information may be found at:
  http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Fri Sep 01 2006 - 15:41:57 ART