From: dampened (cheechew@hotmail.com)
Date: Thu Apr 05 2007 - 22:37:13 ART
Have you try reset the bgp session after applying the filter?
"Keith Bizzell" <mkbcoolman@gmail.com>
Sent by: nobody@groupstudy.com
04/06/2007 01:57 AM
Please respond to
"Keith Bizzell" <mkbcoolman@gmail.com>
To
"Cisco certification" <ccielab@groupstudy.com>
cc
Subject
INEv4 lab 12, section 5.8
This solution has an ebgp peer between R2 and R4 on AS 200 and 100,
respectivly. R2 should only allow routes from AS 100 or one of it's
directly connected AS. My thought was to use an inbound filter-list on R2,
using an as-path ACL with the statement ^100(_[0-9]+)?$. That didn't work.
Any ideas why?
Rack1R2(config-router)#do show run | b router bgp
router bgp 200
no synchronization
bgp router-id 150.1.2.2
bgp log-neighbor-changes
neighbor 129.1.23.3 remote-as 200
neighbor 129.1.23.3 next-hop-self
neighbor 129.1.124.4 remote-as 100
neighbor 129.1.124.4 route-map 5.4 out
neighbor 129.1.124.4 filter-list 1 in
neighbor 192.10.1.254 remote-as 254
neighbor 192.10.1.254 password CISCO
no auto-summary
!
!
ip as-path access-list 1 permit ^100(_[0-9]+)?$
!
Rack1R2(config-router)#do show ip bgp
BGP table version is 22, local router ID is 150.1.2.2
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
* 0.0.0.0 129.1.124.4 0 0 100 i
*>i 129.1.17.7 0 200 0 100 i
*> 28.119.16.0/24 129.1.124.4 0 100 54 i
*> 28.119.17.0/24 129.1.124.4 0 100 54 i
*>i112.0.0.0 129.1.124.4 0 100 0 100 54 50 60 i
*>i113.0.0.0 129.1.124.4 0 100 0 100 54 50 60 i
*> 114.0.0.0 129.1.124.4 0 100 54 i
*> 115.0.0.0 129.1.124.4 0 100 54 i
*> 116.0.0.0 129.1.124.4 0 100 54 i
*> 117.0.0.0 129.1.124.4 0 100 54 i
*> 118.0.0.0 129.1.124.4 0 100 54 i
*> 119.0.0.0 129.1.124.4 0 100 54 i
*>i129.1.3.0/25 129.1.23.3 0 100 0 i
*>i129.1.3.128/25 129.1.23.3 0 100 0 i
r>i129.1.17.0/24 129.1.17.7 0 100 0 i
*> 129.1.45.0/29 129.1.124.4 0 0 100 i
*> 129.1.46.0/24 129.1.124.4 0 0 100 i
*> 129.1.58.0/24 129.1.124.4 0 100 i
*> 205.90.31.0 192.10.1.254 0 0 254 ?
*> 220.20.3.0 192.10.1.254 0 0 254 ?
Network Next Hop Metric LocPrf Weight Path
*> 222.22.2.0 192.10.1.254 0 0 254 ?
Any ideas on what I'm doing wrong? I'm stumped.
This archive was generated by hypermail 2.1.4 : Tue May 01 2007 - 08:28:35 ART