Network

Common Cisco ASA Commands

Most Cisco devices including routers and switches use a CLI (Command Line Interface) to configure the network device. The CLI is an interface, based on text. You type in configuration commands and use show commands to get the output from the router or switch. In this guide, you will learn about some Common Cisco ASA Commands. Please see How to update Cisco ASA software from Cisco Website, How to enable ssh via ASDM, How to configure a username and secret on Cisco Switch and Router, how to Check Windows Activation Status and troubleshoot activation errors, and How to deploy MBAM Client as part of a Windows Deployment.

Show VLAN Command

Use “show switch vlan” to view the vlans that have been assigned to Layer 2 switch ports.

 TestASA(config)# show switch vlan
 VLAN Name                             Status    Ports
 
 1    inside                           up        Et0/1, Et0/2, Et0/3, Et0/4
                                                 Et0/5, Et0/6, Et0/7
 2    outside                          down      Et0/0
 TestASA(config)#  

Int IP brief Command

Use the show int IP brief to view the configured interfaces

TestASA(config)# show int ip brief
 Interface                  IP-Address      OK? Method Status                Protocol
 Ethernet0/0                unassigned      YES unset  down                 down
 Ethernet0/1                unassigned      YES unset  up                       up

Note on a cisco switch its “show ip interface brief“. Use the show ip add a command to view the configured IP address of the interfaces and VLANs

 TestASA(config)# show ip add
System IP Addresses:
Interface Name IP address Subnet mask Method
Vlan1 inside 192.1xx.1xx.xx 255.xxx.xxx.0 CONFIG
Current IP Addresses:
Interface Name IP address Subnet mask Method
Vlan1 inside 192.1xx.1xx.xx 255.xxx.xxx.0 CONFIG

Show run HTTP

Used to display the configured http server if configured. Please see Basic Cisco ASA troubleshooting Commands,

TestASA(config-if)# show run http
http server enable
http 192.168.xxx.0 255.255.xxx.0 inside

Show Telnet

To display the configured Telnet connection

TestASA(config)# show run telnet
telnet 192.168.xxx.0 255.255.xxx.0 inside
telnet timeout 1000

show run ssh

To display the configured ssh connection

TestASA(config)# show run ssh   
ssh stricthostkeycheck
ssh 192.168.xxx.0 255.255.xxx.0 inside
ssh timeout 10
TestASA(config)# 

I hope you found this blog post helpful on some common Cisco ASA Commands. If you have any questions, please let me know in the comment section.

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x