Filtering Routes with ACLs
ACLs can be used to filter advertised and received routes of various dynamic routing protocols. For example, enterprise users access the Internet using a switch. Some users, such as R&D staff members, need to be prohibited from accessing the Internet, and some servers such as salary query servers reject external access to ensure information security. To meet the preceding requirements, define ACL rules on the switch connected to the Internet to filter certain packets.
As shown in Figure 3-2, SwitchA connects the intranet running Open Shortest Path First (OSPF) to the Internet. ACLs are defined on SwitchA and applied to OSPF to control route advertisement and receiving. The ACL specifies the following rules:
SwitchA only advertises routes 10.1.17.0/24, 10.1.18.0/24, and 10.1.19.0/24 to SwitchB.
SwitchC only receives the route 10.1.18.0/24.