From: elsayedm (elsayedm@hotmail.com)
Date: Tue Aug 15 2006 - 11:51:54 ART
They are slightly different. The first one will set the weight to 1500 to
EVERY prefix from neighbor 2.2.4.4. On the other hand, the second config
will set the weight to 1500 to prefixes from neighbor 2.2.4.4 that passed
through AS 100.
Mo
----- Original Message -----
From: "Hash Aminu" <hashng@gmail.com>
To: "Cisco certification" <ccielab@groupstudy.com>
Sent: Tuesday, August 15, 2006 3:39 AM
Subject: BGP Set Weight
> 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