Application Overview of IP prefix-list routing distribution

Source: Internet
Author: User
Tags filter

corresponding to the distribution of precise control routes, IP prefix-list has a good application.

Topology

R1--r2--r3

From R3 came the route to R2 as follows

172.16.192.0/24

172.16.193.0/24

172.16.199.248/29

R2 to R1 to do the filter output, 192.168.24.13 is the R1 address

R2

Router BGP 65183
No synchronization
BGP log-neighbor-changes
Neighbor 192.168.24.13 Remote-as 4809
Neighbor 192.168.24.13 Prefix-list Filter out

No auto-summary

More Wonderful content: http://www.bianceng.cnhttp://www.bianceng.cn/Network/lyjs/

If you want to send R1 routing 172.16.192.0/20 after the R2 aggregation, the aggregation command does not apply to that method,

Then need

IP prefix-list Filter seq Permit 172.16.192.0/20

So that only through 172.16.192.0/20,

172.16.192.0/24

172.16.193.0/24

172.16.199.248/29

have been filtered out.

If you want to pass only

172.16.192.0/24

172.16.193.0/24

So

IP prefix-list Filter seq permit 172.16.192.0/20 ge-Le 24

GE is the smallest, le is the largest, if all is 24, it is 172.16.192.0/20 within the range of/24 routing, if the

172.16.192.0/24

172.16.193.0/24

Aggregate into

172.16.192.0/23

is not.

If you want to pass all the 172.16.192.0/20 range inside whatever the mask is, you should

IP prefix-list Filter seq permit 172.16.192.0/20 le 32

Such

172.16.192.0/24

172.16.193.0/24

172.16.199.248/29

Can all pass.

This article from "Genius No that 1% is absolutely not good" blog, please be sure to retain this source http://xushen.blog.51cto.com/1673219/1067249

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.