BGP conditional advertise with ACL list not working

Hello all,

when i practised with this BGP lab, i found that conditional adv with ACL was not working.

prefix-list was working

 

configration as below. who ever found it ?

thanks

Danny

 

neighbor 155.1.37.7 advertise-map ADVERTISE_MAP non-exist-map NON_EXIST_MAP
 
!
ip forward-protocol nd
!
ip as-path access-list 1 permit 254$
!
no ip http server
no ip http secure-server
!
!
ip prefix-list LINK_R1_R3 seq 5 permit 155.1.13.0/24
!
route-map NON_EXIST_MAP permit 10
 match ip address 11
!
route-map ADVERTISE_MAP permit 10
 match as-path 1
!
!
access-list 11 permit 155.1.13.0

Comments

  • Because you need to match on both the prefix and the prefix-length.

    Sent from my iPhone

    On Apr 24, 2015, at 04:36, dannz1 <[email protected]> wrote:

    Hello all,

    when i practised with this BGP lab, i found that conditional adv with ACL was not working.

    prefix-list was working

     

    configration as below. who ever found it ?

    thanks

    Danny

     

    neighbor 155.1.37.7 advertise-map ADVERTISE_MAP non-exist-map NON_EXIST_MAP
     
    !
    ip forward-protocol nd
    !
    ip as-path access-list 1 permit 254$
    !
    no ip http server
    no ip http secure-server
    !
    !
    ip prefix-list LINK_R1_R3 seq 5 permit 155.1.13.0/24
    !
    route-map NON_EXIST_MAP permit 10
     match ip address 11
    !
    route-map ADVERTISE_MAP permit 10
     match as-path 1
    !
    !
    access-list 11 permit 155.1.13.0




    INE - The Industry Leader in CCIE Preparation

    http://www.INE.com



    Subscription information may be found at:

    http://www.ieoc.com/forums/ForumSubscriptions.aspx
Sign In or Register to comment.