Difference between revisions of "cisco asa notes"
From cpwiki.net
(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...") |
|||
(One intermediate revision by one user not shown) | |||
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''' | ||
+ | |||
+ | ==VM notes== | ||
+ | |||
+ | KVM graphical console stops after... | ||
+ | Booting the kernel. | ||
+ | |||
+ | at this point he VM is outputing to the virtual serial console. There are similar experiences on VMware. |
Latest revision as of 18:54, 24 June 2024
Contents |
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
VM notes
KVM graphical console stops after...
Booting the kernel.
at this point he VM is outputing to the virtual serial console. There are similar experiences on VMware.