interface GigabitEthernet1/1
nameif outside
security-level 0
ip address dhcp setroute
no shutdown
interface GigabitEthernet1/2
nameif inside
security-level 100
ip address 192.168.1.1 255.255.255.0
no shutdown
!
object network obj_any
subnet 0.0.0.0 0.0.0.0
nat (any,outside) dynamic interface
!
http server enable
http 192.168.1.0 255.255.255.0 inside
!
dhcpd auto_config outside
dhcpd address 192.168.1.5-192.168.1.254 inside
dhcpd enable inside
!
logging asdm informational
For the ASA 5506W-X, the following commands are also included:
same-security-traffic permit inter-interface
!
interface GigabitEthernet 1/9
security-level 100
nameif wifi
ip address 192.168.10.1 255.255.255.0
no shutdown
!
http 192.168.10.0 255.255.255.0 wifi
!
dhcpd address 192.168.10.2-192.168.10.254 wifi
dhcpd enable wifi
ASA 5512-X, 5515-X, 5525-X and Above Default Configuration
The default factory configuration for the ASA 5512-X, 5515-X, 5525-X and above configures the following:
•
Management interface
—
Management 0/0 (management).
•
IP address
—
The management address is 192.168.1.1/24.
•
DHCP server
—
Enabled for management hosts so that a computer connecting to the management interface
receives an address between 192.168.1.2 and 192.168.1.254.
•
ASDM access
—
Management hosts allowed.
The configuration consists of the following commands:
interface management 0/0
ip address 192.168.1.1 255.255.255.0
nameif management
security-level 100
no shutdown
!
asdm logging informational
asdm history enable
!
http server enable
http 192.168.1.0 255.255.255.0 management
CLI Book 1: Cisco ASA Series General Operations CLI Configuration Guide, 9.5
19
Getting Started
ASA 5512-X, 5515-X, 5525-X and Above Default Configuration