ccbootcamp lab 3 question

From: James Chen (jr_chen@xxxxxxxxxxxxxxx)
Date: Wed Nov 15 2000 - 11:25:26 GMT-3


   
Hello:

        I have one problem in lab 3, that the bgp route-map can not
filter the
static route injected into bgp.

the config is:

router bgp 1
 redistribute static route-map static
 neighbor 137.20.103.1 remote-as 2
 no auto-summary
!
ip classless
ip route 172.168.1.0 255.255.255.0 Null0
ip route 172.168.2.0 255.255.255.0 Null0
!
access-list 1 permit 172.168.2.0 0.0.0.255
access-list 2 permit any
route-map static permit 10
 match ip address 1
!
route-map static deny 20
 match ip address 2
-------------------------------------------------------------------------------
---------------

RT4#sh ip bgp s
BGP router identifier 137.20.103.2, local AS number 1
BGP table version is 3, main routing table version 3
2 network entries and 2 paths using 266 bytes of memory
2 BGP path attribute entries using 104 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP activity 5/75 prefixes, 5/3 paths

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down
State/PfxRcd
137.20.103.1 4 2 236 256 3 0 0
00:38:10 0
RT4#sh ip bgp nei 137.20.103.1 adv
BGP table version is 3, local router ID is 137.20.103.2
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network Next Hop Metric LocPrf Weight Path
*> 172.168.1.0/24 0.0.0.0 0 32768 ?
*> 172.168.2.0/24 0.0.0.0 0 32768 ?
-------------------------------------------------------------------------------
-------------------

I can not filter the route 172.168.1.0 out of the routing table.

Please help me to solve it !

Thanks

James
begin:vcard
n:Chen;James
tel;fax:886-2-27880815
tel;work:886-2-26512340
x-mozilla-html:FALSE
url:http://freebsd.ringline.com.tw
org:RingLine Corp.;Engineering Division
adr:;;B1, 99-1, Nankang Rd., Sec. 2, ;Taipei;Taiwan;115;R.O.C.
version:2.1
email;internet:jr_chen@ringline.com.tw
title:System Engineer
fn:James Chen
end:vcard



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:25:45 GMT-3