Cisco Systems OL-6426-02 Benutzerhandbuch

Seite von 196
B E TA   D R A F T   -   C I S C O   C O N F I D E N T I A L
8-4
Cisco 1800 Series Integrated Services Routers (Fixed) Software Configuration Guide
OL-6426-02
Chapter 8      Configuring a Simple Firewall
  Apply Access Lists and Inspection Rules to Interfaces
Apply Access Lists and Inspection Rules to Interfaces
Perform these steps to apply the ACLs and inspection rules to the network interfaces, beginning in global 
configuration mode:
Command
Purpose
Step 1
interface type number
Example:
Router(config)# interface vlan 1
Router(config-if)# 
Enters interface configuration mode for the 
inside network interface on your router.
Step 2
ip inspect inspection-name {in | out}
Example:
Router(config-if)# ip inspect firewall in
Router(config-if)# 
Assigns the set of firewall inspection rules to the 
inside interface on the router.
Step 3
exit
Example:
Router(config-if)# exit
Router(config)# 
Returns to global configuration mode.
Step 4
interface type number
Example:
Router(config)# interface fastethernet 0
Router(config-if)# 
Enters interface configuration mode for the 
outside network interface on your router.
Step 5
ip access-group {access-list-number | 
access-list-name} {in | out
Example:
Router(config-if)# ip access-group 103 in
Router(config-if)# 
Assigns the defined ACLs to the outside 
interface on the router.
Step 6
exit
Example:
Router(config-if)# exit
Router(config)# 
Returns to global configuration mode.