ASA Basic Initial Configuration
ASA Basic Initial Configuration
Appliance (ASA)
Prerequisite – Adaptive security appliance (ASA)
Adaptive Security Appliance (ASA) is a Cisco security appliance which combines classic
firewall features with VPN, Intrusion Prevention and antivirus capabilities. It has the capability
to provide threat defense before the attacks spread into the networks.
Administrative Configuration –
Its the same way by which we assign an IP address to the router’s interface. But the
difference is that we can assign an IP address to ASA interface without the subnet mask
also.
IP address IP_address
Now, if we don’t give a subnet mask, it automatically takes a classful subnet mask.for
example if we assign 192.168.1.1 to the ASA interface the it will automatically takes
255.255.255.0 as subnet mask.
nameif NAME
NAME is the name you want to give to an interface.
Security-level {value}
Here is an example where we will provide IP address 192.268.1.1 and subnet mask
255.255.255.0, name as INSIDE and security-level as 100.
asa(config)#int e0
asa(config-if)#no shut
asa(config-if)#ip address 192.168.1.1 255.255.255.0
asa(config-if)#nameif INSIDE
asa(config-if)#security level 100
asa(config)#hostname ciscoasa
ciscoasa(config)#
Setting passwords –
As ASA is a security device, by default it will ask for password while we try to enter privilege
mode. By default, no password is set therefore by simply clicking enter, we can enter the
privilege mode.
enable password –
The enable password is used for securing privilege mode. In routers, this password is shown in
clear text in running-configuration but in ASA, this password is encrypted (therefore no enable
secret required.) The password is a case-sensitive password of up to 16 alphanumeric and special
characters. We can set an enable password by
Or by the command
asa(config)#enable password
login password –
This password is used for taking access of ASA by using Telnet or SSH. By default, the login
password is “Cisco”. We can change it by the command
asa(config)#password GeeksforGeeks
or
asa(config)#passwd GeeksforGeeks