0% found this document useful (0 votes)
40 views

10-Basic Config Cisco ASA

The document provides an overview of basic Cisco ASA configuration commands and interface settings. It lists commands for navigating modes, viewing configurations, setting passwords, assigning interface names and IP addresses. It also describes default interface security levels and how to configure interface names, IP addresses, and security levels.

Uploaded by

elnur
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views

10-Basic Config Cisco ASA

The document provides an overview of basic Cisco ASA configuration commands and interface settings. It lists commands for navigating modes, viewing configurations, setting passwords, assigning interface names and IP addresses. It also describes default interface security levels and how to configure interface names, IP addresses, and security levels.

Uploaded by

elnur
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Cisco ASA Basic Configuration:

Cisco ASA Basic Commands


Commands Descriptions
ASA> Unprivileged Mode
ASA# Privileged Mode
ASA (config)# Configuration Mode
ASA (config-if)# Configuration Sub-modes
ASA(config)#configure factory-default Restores to factory default configuration
ASA# clear configure all Loads the startup configuration
ASA# write erase Erases the startup configuration
ASA# show running-config Views the running configuration
ASA# show startup-config Views the startup configuration
ASA# copy running-config startup-config Saves configuration to flash memory
ASA# write mem Saves configuration to flash memory
ASA(config)# hostname ASA Changing Host Name
ASA(config)# clear configure hostname Set default host name
ASA (config)# passwd 123 Set telnet password
ASA (config)# enable password 123 Set enable mode secret Password
ASA (config)# enable password Remove enable mode password
ASA(config-if)# nameif inside Assign name to interface
ASA(config-if)#security-level 50 Set interface security level
ASA # show run interface Ethernet 0 Show only interface details
ASA # show nameif Show interface names
ASA # show interface Show interfaces
ASA # show interface ip brief View interfaces briefly
ASA# reload Reload the ASA
ASA (config)# username admin pass 123 priv 15 Set a username and password
ASA(config)#no service password-recovery Stop password recovery option
ASA(config)# interface Ethernet 0 Entering interface
ASA(config-if)# ip address 192.168.1.254 Assign IP address to interface
ASA(config-if)# nameif Inside Given name to interface

1 | P a g e Created by Ahmad Ali E-Mail: [email protected] ,Mobile: 056 430 3717


Interfaces Setting:
Out of the box, or with the configure factory-default command, the ASA 5520 is configured.
Interface Name Security Level IP Address State
GigabitEthernet0/0 no nameif no security-level no ip address Shutdown
GigabitEthernet0/1
GigabitEthernet0/2
GigabitEthernet0/3
Management0/0 management 100 192.168.1.1 Management-only

o Interface is named “outside”, ASA automatically assigns the interface security level of 0.
o If an interface is named “inside”, ASA is automatically assigns a security level of 100.
o If did not specify subnet mask interface automatically assigned a classful subnet mask.
o I can specify the subnet mask in the ip address command under the interface configuration.

Interface Configuration
ASA(config)# interface Ethernet1
ASA(config-if)# nameif inside
ASA(config-if)# security-level 100
ASA(config-if)# ip address 192.168.1.100 255.255.255.0
ASA(config-if)# no shutdown
ASA(config)# interface Ethernet1
ASA(config-if)# nameif outside
ASA(config-if)# security-level 0
ASA(config-if)# ip address 192.168.2.100 255.255.255.0
ASA(config-if)# no shutdown
ASA(config-if)# show running-config interface
ASA(config-if)# show running-config interface e0
ASA(config-if)# show running-config interface e1
ASA(config-if)# show ip address
ASA(config-if)# show ip address ethernet 0
ASA(config-if)# show nameif
ASA(config-if)# show nameif ethernet 0
ASA(config-if)# show nameif ethernet 1
ASA(config-if)# show interface ip brief
ASA(config-if)# show interface ethernet 0 ip brief
ASA(config-if)# show interface ethernet 1 ip brief

2 | P a g e Created by Ahmad Ali E-Mail: [email protected] ,Mobile: 056 430 3717

You might also like