Hi all,
The task to use weight attribute in Vol2 Lab3 Section 2.4, find difficulty while implementing it in the router.
Inially i match the VLAN29 segment using standared ACL, once implemented i could see R5 is giving weight 100 to all its prefixes. (access-list 10 permit 136.X.29.0 255.255.255.0)
while i did a check on the Router i can see the access-list is accepted as 0.0.0.0 255.255.255.0, Any idea why this happened ?
LAter i remove this from the configuration and use a prefix-list for the VLAN29 segment.
But unfortunatley even the configure are same, and clear the BGP neighbours, But the weight is not adding to the specific route in the output command.
Rack14R5#sh run | s bgp
router bgp 200
no synchronization
bgp router-id 150.14.5.5
bgp log-neighbor-changes
neighbor 136.14.15.1 remote-as 100
neighbor 136.14.15.1 route-map WEIGHT_VLAN29 in
neighbor 136.14.245.2 remote-as 300
neighbor 136.14.245.2 route-map WEIGHT_VLAN29 in
neighbor 150.14.4.4 remote-as 200
neighbor 150.14.4.4 update-source Loopback0
neighbor 192.10.14.254 remote-as 254
neighbor 192.10.14.254 password CISCO
no auto-summary
Rack14R5#sh ip prefi
Rack14R5#sh ip prefix-list
ip prefix-list WEIGHT: 1 entries
seq 5 permit 136.10.29.0/24
Rack14R5#sh route-map
route-map WEIGHT_VLAN29, permit, sequence 10
Match clauses:
ip address prefix-lists: WEIGHT
Set clauses:
weight 100
Policy routing matches: 0 packets, 0 bytes
route-map WEIGHT_VLAN29, permit, sequence 100
Match clauses:
Set clauses:
Policy routing matches: 0 packets, 0 bytes
Rack14R5#
Rack14R5#sh ip bgp
BGP table version is 4, local router ID is 150.14.5.5
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
* 54.14.3.0/24 136.14.245.2 0 300 100 i
*> 136.14.15.1 0 100 i
*> 136.14.29.0/24 136.14.245.2 0 0 300 i
* 136.14.15.1 0 100 300 i
* 204.12.14.0 136.14.245.2 0 300 100 i
*> 136.14.15.1 0 100 i
Rack14R5#
Any idea, why this happening ??
Thanks