BGP Set Weight

From: Hash Aminu (hashng@gmail.com)
Date: Tue Aug 15 2006 - 04:39:37 ART


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


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