Sample Router Configuration

This section contains a sample router configuration for the theoretical network router R2. This partial configuration file contains several ACLs that contain most of the ACL features already explained in this chapter. View this partial configuration as an example of how to integrate multiple ACL policies into a few main router ACLs.

Theoretical Network—Sample Configuration for Router R2

Example 4-26 is a partial configuration file for router R2 of Figure 4-30 that shows how to combine many ACL functions into two or three larger ACLs.

Example 4-26. Combining ACL Functions into Two or Three Larger ACLs
 ! hostname R2 ! interface Ethernet0/0 ip address 16.1.1.2 255.255.0.0 ip access-group 126 in ! interface Ethernet0/1 ...

Get CCSP Self-Study: Securing Cisco IOS Networks (SECUR) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.