ASA接口和区域配置
ASA(config)#show inter ipbri
ASA(config)#inter g1/1
ASA(config-if)#nameif inside
INFO: Security level for "inside" set to 100 bydefault.
ASA(config-if)#security-level ?
interface mode commands/options:
<0-100> Security level for the interface
ASA(config-if)#security-level 100 #inside默认是100,可修改
ASA(config-if)#inter g1/2
ASA(config-if)#nameif outside
INFO: Security level for "outside" set to 0 bydefault.
ASA(config-if)#security-level 0 #除inside接口之外默认都是0
ASA(config-if)#ip add 192.168.2.1 255.255.255.0
ASA(config-if)#inter g1/3
ASA(config-if)#nameif DMZ
INFO: Security level for "DMZ" set to 0 bydefault.
ASA(config-if)#security-level 50
ASA(config-if)#ip add 192.168.3.1 255.255.255.0
ASA(config-if)#no shutdown
ASA(config)#ping 192.168.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max= 0/0/0 ms
ASA(config)#ping 192.168.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.2.2, timeout is2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max= 0/0/0 ms
ASA(config)#ping 192.168.3.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.3.2, timeout is2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max= 0/0/0 ms