In the global mode
Asa (config) #int e0/0//Enter interface//
ASA (CONFIG-IF) #nameif name//config interface name//
ASA (CONFIG-IF) #security-leve 0-100//Configure interface Security level, 0-100 indicates security level//
ASA (CONFIG-IF) #ip add 192.168.1.1 255.255.255.0//Configuration Interface IP address//
Asa (config) #access-list 100-199 permit|deny IP host 192.168.1.2 host 192.168.2.2//Allow Inbound/
The ASA (config) #access-group 100-199 in int outside//applied to the interface//
The ASA (config) #route outside 172.16.1.0 255.255.255.0 172.16.2.1//outside represents the interface direction, 172.168.2.1-bit one-hop address//
Asa (config) #access-list 111 permit ICMP any any//allow ICMP through Firewall//
Asa (config) #access-group 111 in int outside//apply to interface//
Asa#write Erase//delete Startup-config profile//
Storage of the ASA firewall configuration
Copy Running-config Disk0:/.private/startup-config
Boot config Disk0:/.private/startup-config
ASA Firewall Basic Configuration