Example 111 Sample ACL Configuration Permitting Network 1921681000 and Implicitly Denying All Other IP Traffic

Firewall(config)#access-list 1 permit 192.168.100.0 0.0.0.255 Firewall(config)#interface Ethernet0/0

Firewall(config-if)#ip address 192.168.100.1 255.255.255.0

The terms in , out , source , and destination are used as referenced by the router. Traffic on the router could be compared to traffic on the highway. If you were a law enforcement officer in the United States and wanted to stop a truck coming from Mexico and traveling to Canada, the truck's source would be Mexico, and the truck's destination would be Canada. The roadblock could be applied at the U.S./Canadian border (out) or the U.S./Mexican border (in). See Figures 11-2 and 113 .

0 0

Post a comment