Confused by route matching syntax

Discussion in 'Cisco' started by anon6111@hotmail.com, Jul 17, 2007.

  1. Guest

    Hi there,

    I am having trouble understanding a route map that is being used to
    redistribute bgp routes into OSPF. The routes are filtered through a
    route map:
    route-map BGP_TO_OSPF permit 10
    match ip address 150

    My problem is that the access list referenced contains a number of
    lines such as the following:
    access-list 150 permit ip 10.30.0.0 0.0.255.255 255.255.0.0
    0.0.255.255
    access-list 150 permit ip 10.65.100.0 0.0.7.255 any

    The first line is ok, I think it means "allow all 10.30.x.x networks
    with a mask from /16 to /32".
    The second line confuses me. Can somebody please explain which routes
    it will match?



    Thanks very much.
    , Jul 17, 2007
    #1
    1. Advertising

  2. Trendkill Guest

    On Jul 16, 11:41 pm, wrote:
    > Hi there,
    >
    > I am having trouble understanding a route map that is being used to
    > redistribute bgp routes into OSPF. The routes are filtered through a
    > route map:
    > route-map BGP_TO_OSPF permit 10
    > match ip address 150
    >
    > My problem is that the access list referenced contains a number of
    > lines such as the following:
    > access-list 150 permit ip 10.30.0.0 0.0.255.255 255.255.0.0
    > 0.0.255.255
    > access-list 150 permit ip 10.65.100.0 0.0.7.255 any
    >
    > The first line is ok, I think it means "allow all 10.30.x.x networks
    > with a mask from /16 to /32".
    > The second line confuses me. Can somebody please explain which routes
    > it will match?
    >
    > Thanks very much.


    10.65.96.0 - 10.65.103.255
    Trendkill, Jul 17, 2007
    #2
    1. Advertising

  3. Klutz Guest

    access-list 150 permit ip 10.65.100.0 0.0.7.255 any
    It means "allow all traffic form networks of 10.65.96.0~10.65.103.255
    to any destination."
    <> 写入消æ¯
    news:...
    > Hi there,
    >
    > I am having trouble understanding a route map that is being used to
    > redistribute bgp routes into OSPF. The routes are filtered through a
    > route map:
    > route-map BGP_TO_OSPF permit 10
    > match ip address 150
    >
    > My problem is that the access list referenced contains a number of
    > lines such as the following:
    > access-list 150 permit ip 10.30.0.0 0.0.255.255 255.255.0.0
    > 0.0.255.255
    > access-list 150 permit ip 10.65.100.0 0.0.7.255 any
    >
    > The first line is ok, I think it means "allow all 10.30.x.x networks
    > with a mask from /16 to /32".
    > The second line confuses me. Can somebody please explain which routes
    > it will match?
    >
    >
    >
    > Thanks very much.
    >
    Klutz, Jul 17, 2007
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. AM
    Replies:
    3
    Views:
    634
  2. Replies:
    1
    Views:
    5,174
    Barry Margolin
    Aug 13, 2005
  3. Jarek Jarzebowski

    BGP - route-map matching clients IP.

    Jarek Jarzebowski, Sep 5, 2006, in forum: Cisco
    Replies:
    2
    Views:
    697
    Jarek Jarzebowski
    Sep 6, 2006
  4. barret bonden
    Replies:
    2
    Views:
    3,625
    chris
    Sep 7, 2006
  5. Replies:
    9
    Views:
    5,050
    Scott Perry
    Aug 7, 2008
Loading...

Share This Page