Presentation is loading. Please wait.

Presentation is loading. Please wait.

The Cisco ACL. 1.The Cisco ACL is simply a means to filter traffic that crosses your router. 2.It has two major syntax types numbered and named lists.

Similar presentations


Presentation on theme: "The Cisco ACL. 1.The Cisco ACL is simply a means to filter traffic that crosses your router. 2.It has two major syntax types numbered and named lists."— Presentation transcript:

1 The Cisco ACL

2 1.The Cisco ACL is simply a means to filter traffic that crosses your router. 2.It has two major syntax types numbered and named lists and it comes in several filtering types, including standard, extended, and reflexive, 3.all of which will be discussed in this chapter. Numbered access lists are entered in the format access-list number criteria

3 The Cisco ACL 1.where number is a given range that represents the type of access list it is. 2.The range 199 represents standard IP lists, and the range 100--199 represents extended IP lists. 3.Over time, these basic ranges have been expanded to include 1300-- 1999 for standard and 2000--2699 for extended. 4.Other access list number ranges are reserved for alternative protocols, and so on. 5.The named access list uses the format ip access-list type name

4 The Cisco ACL 1.where the type code stands for standard, extended, and so on, and the name code represents a unique name for the list. 2.Upon entering the preceding command to start list creation, you are dropped into a configuration mode just for that access list. Here, you can enter filtering commands in the following format: permit|deny criteria Either type of ACL works well and can be used separately or together. Although standard and extended lists can be written in either format. Reflexive access lists can use only the named format. To remove either type of ACL, reenter it preceded by the word no.

5 Rule Order 1.Many of the access lists demonstrated throughout this text are "deny" access lists that show how to block a particular address or port. 2.However, because of a concept called implicit deny, dropping such a list into an otherwise empty router configuration could cause the blocking of all traffic! 3.Implicit deny takes place when as little as one access list is added to an interface on a Cisco router.

6 Rule Order 4.The router stops its standard behavior of forwarding all routable traffic and instead begins comparing all packets received to the newly added access list. 5.If the traffic doesn't match the applied access list(s), it is dropped. 6.Adding one simple access list changes the behavior of the router entirely. Only packets that match the added access list as permitted traffic are allowed.

7 Rule Order 7.When multiple rules are added, even more concerns arise. 8.Because rules are processed from the top down and a packet only has to pass or fail one rule to be dropped or allowed into the network, it is imperative to put specific filters before general filters. 9.Otherwise, a more general rule might allow a packet access that may have been denied by another more specific rule later in the access list. 10.When a packet "matches" a rule, the packet is immediately dropped (if it is a deny rule) or forwarded (if it is a permit rule) without being tested by the rest of the access list entries.

8 Rule Order 11.Be careful when planning the order of access list rules. That is why a complete access list rule base needs to be laid out in advance and built from the ground up. 12.Adding rules carelessly is a sure recipe for disaster.

9 Cisco IOS Basics Cisco routers can be configured through a Telnet session, or via a web browser with newer models. After you have access to the router, actually getting it into configuration mode is a relatively easy process, as outlined here: 1.You receive the standard prompt (designated by the > symbol) routername>. 2.You must go into enable mode before configuration mode. Typing enable and pressing the Enter key accomplishes this. You are prompted for a secret password. After entering it, you are in enable mode, which is identified by the routername# prompt (designated by the number sign [#]).

10 Cisco IOS Basics 3.To configure the router, enter terminal configuration mode by typing config t (which is short for configure terminal) and pressing Enter. You then see the global configuration prompt: routername(config)#. This is where you enter global configuration commands, including access lists.

11 Cisco IOS Basics 4.You can enter interface configuration mode from the global configuration mode by typing int s1, where int stands for interface and s1 is the interface name (in this case, serial 1). This format is also carried into Ethernet interfaces (e0, e1, and so on) as well as other interface types. Typing the interface command changes the prompt to the interface configuration prompt: routername(config-if)#. From here, you can type interface-specific commands, and this is where you can apply access lists to individual interfaces with the access-group command.

12 Cisco IOS Basics 5)Exit any configuration level by typing the exit command. Completely exit out of configuration mode from any sublevel by pressing Ctrl+Z. Leave enable mode by typing disable.


Download ppt "The Cisco ACL. 1.The Cisco ACL is simply a means to filter traffic that crosses your router. 2.It has two major syntax types numbered and named lists."

Similar presentations


Ads by Google