In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
1. Prefix list prefix-list parsing
2.2.2.0/24
2.2.2.0/25
2.2.2.0/26
ACL can only control the network number, not the mask
Access-list 1 permit 2.2.2.0 0.0.0.255
This ACL does not exactly match 2.2.2.0 Universe 24 2.2.2.0 Universe 25 and 2.2.2.0 Universe 26 are also included because their network numbers are the same.
Prefix-List can control both the network number and the mask
2.2.2.0/26
Ip prefix-list 1 permit 2.2.2.0 Compact 24 (Network number: 2.2.2.0 Mask: 24 bits)
Ip prefix-list 1 permit 2.2.2.0 ip prefix-list 24 le 32 (Network number: 2.2.2.0 Mask: 24-32 bits)
Ip prefix-list 1 permit 2.2.2.0 ge 24 ge 26 (network number: 2.2.2.0 mask: 26-32 bits)
Ip prefix-list 1 permit 2.2.2.0 ge 24 ge 26 le 30 (Network number: 2.2.2.0 Mask: 24-30 digits)
Ip prefix-list 1 permit 0.0.0.0amp 0 le 32 (permit any)
Prefix-list executes from top to bottom, default deny any
ACL can grab packets and routes, and can be applied to interfaces and routing processes. Prefix-List can only grasp routes and can only be used in routing processes.
2. Experimental topology
3. Experimental configuration
R1 configuration
Interface Serial0/0
Ip address 12.1.1.1 255.255.255.0
Interface Serial0/1
Ip address 13.1.1.1 255.255.255.0
Interface Serial0/2
Ip address 14.1.1.1 255.255.255.0
Router eigrp 90
Redistribute ospf 110 metric 1500 100 255 1 1500
Network 14.1.1.0 0.0.0.255
No auto-summary
Router ospf 110
Router-id 1.1.1.1
Log-adjacency-changes
Redistribute rip subnets
Network 13.1.1.0 0.0.0.255 area 0
Router rip
Version 2
Network 12.0.0.0
No auto-summary
R2 configuration
Interface Loopback0
Ip address 2.2.2.2 255.255.255.0
Interface Serial0/0
Ip address 12.1.1.2 255.255.255.0
Router rip
Version 2
Network 2.0.0.0
Network 12.0.0.0
No auto-summary
R3 configuration
Interface Loopback0
Ip address 3.3.3.3 255.255.255.0
Interface Serial0/0
Ip address 13.1.1.3 255.255.255.0
Router ospf 110
Router-id 3.3.3.3
Log-adjacency-changes
Network 3.3.3.0 0.0.0.255 area 0
Network 13.1.1.0 0.0.0.255 area 0
R4 configuration
Interface Loopback0
Ip address 4.4.4.4 255.255.255.0
Interface Serial0/0
Ip address 14.1.1.4 255.255.255.0
Router eigrp 90
Network 4.4.4.0 0.0.0.255
Network 14.1.1.0 0.0.0.255
No auto-summary
4. Prefix list application
At this point, we can see that R4 can learn 3.3.3.3Universe 32 and 13.1.1.0Universe 24, and here we hope to let R4 learn only 3.3.3.3Universe 32 through the distribution list.
R1 configuration
Ip prefix-list 1 permit 3.3.3.3/32
Router eigrp 90
Distribute-list prefix 1 out ospf 110
At this point, R4 only learns the route 3.3.3.3tick 32.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.