Difference between revisions of "cisco asa notes"

From cpwiki.net
Jump to: navigation, search
Check Point Profressional Services
(Created page with "==Getting Started== Accessing the Appliance Command-Line Interface This following prompt indicates that you are in user EXEC mode. Only basic commands are available from user...")
 
Line 1: Line 1:
 
==Getting Started==
 
==Getting Started==
Accessing the Appliance Command-Line Interface
+
===Accessing the Appliance Command-Line Interface===
  
 
This following prompt indicates that you are in user EXEC mode. Only basic commands are available from user EXEC mode.
 
This following prompt indicates that you are in user EXEC mode. Only basic commands are available from user EXEC mode.
Line 18: Line 18:
 
The prompt changes to the following:
 
The prompt changes to the following:
 
  hostname(config)#
 
  hostname(config)#
 +
 +
===configure base system===
 +
 +
set firewall mode to transparent or routed? (Optional)
 +
 +
example config... can paste on command line over console
 +
ASA Version 9.18.4
 +
!
 +
console serial
 +
interface management0/0
 +
nameif management
 +
security-level 100
 +
ip address 192.168.100.254 255.255.255.0
 +
no shutdown
 +
interface gigabitethernet0/0
 +
nameif inside
 +
security-level 100
 +
ip address 10.100.0.254 255.255.255.0
 +
no shutdown
 +
interface gigabitethernet0/1
 +
nameif outside
 +
security-level 0
 +
ip address 172.16.100.254 255.255.255.0
 +
no shutdown
 +
http server enable
 +
http 192.168.100.0 255.255.255.0 management
 +
crypto key generate rsa modulus 1024
 +
username admin password admin
 +
ssh 192.168.100.0 255.255.255.0 management
 +
aaa authentication ssh console LOCAL
 +
 +
save config
 +
hostname(config)# '''write memory'''

Revision as of 04:41, 20 June 2024

Getting Started

Accessing the Appliance Command-Line Interface

This following prompt indicates that you are in user EXEC mode. Only basic commands are available from user EXEC mode.

hostname>

To access privileged EXEC mode, enter the following command:

hostname> enable

The prompt changes to the following:

hostname#

To exit privileged mode, enter the disable, exit, or quit command.

access global configuration mode

hostname# configure terminal

The prompt changes to the following:

hostname(config)#

configure base system

set firewall mode to transparent or routed? (Optional)

example config... can paste on command line over console

ASA Version 9.18.4
!
console serial
interface management0/0
nameif management
security-level 100
ip address 192.168.100.254 255.255.255.0
no shutdown
interface gigabitethernet0/0
nameif inside
security-level 100
ip address 10.100.0.254 255.255.255.0
no shutdown
interface gigabitethernet0/1
nameif outside
security-level 0
ip address 172.16.100.254 255.255.255.0
no shutdown
http server enable
http 192.168.100.0 255.255.255.0 management
crypto key generate rsa modulus 1024
username admin password admin
ssh 192.168.100.0 255.255.255.0 management
aaa authentication ssh console LOCAL 

save config

hostname(config)# write memory