We're Sorry, Full Content Access is for Members Only...

If you like to keep on reading, Become a Member Now! Here is Why:

  • Learn any CCNA, CCNP and CCIE R&S Topic. Explained As Simple As Possible.
  • Try for Just $1. The Best Dollar You've Ever Spent on Your Cisco Career!
  • Full Access to our 549 Lessons. More Lessons Added Every Week!
  • Content created by Rene Molenaar (CCIE #41726)


299 New Members signed up the last 30 days!


100% Satisfaction Guaranteed!
You may cancel your monthly membership at any time.
No Questions Asked!


Notable Replies

  1. Hi John,

    Good question, it can't be done...let's look at an example:

    00000000 /24
    10000000 /25
    11000000 /26
    11100000 /27
    11110000 /28
    11111000 /29
    11111100 /30
    11111110 /31
    11111111 /32

    Let's say you want to match /26 up to /29, the problem is that they don't have a lot of bits in common...only the first two bits are the same:

    11000000 /26
    11100000 /27
    11110000 /28
    11111000 /29

    Now if you would use wildcard 00111111 (63 in decimal) then it matches /26, /27, /28, /29 but also /30, /31 and /32.

    It can't be done in one statement but of course you can use multiple statements...just create one for /26, /27, /28 and /29 and you are done.


  2. --- "We want to match all subnet masks from /27 to /32 so we use a wildcard of This means the first three octets have to match and the last four bits of the 4th octet. This will allow subnet mask,,,,, and"

    In the above, should be included? Thanks

  3. Hi Shady,

    If you want to enforce one path for outgoing traffic from AS 1 to AS 2 then it's best to influence the attributes. Don't let the router ID decide it. If you want to do this for the entire AS, it's best to configure local preference inbound on R1 and/or R3.


  4. Hi, Rene.

    I'm replicating this same scenario in GNS3 and even applying the filters to some specific routes, I lose all routes from the routing table and in the BGP table. Why is this so?

Continue the discussion forum.networklessons.com

4 more replies