cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
36751
Views
10
Helpful
13
Replies

start ASDM from command-line

lcaruso
Level 6
Level 6

Hi,

Can ASDM be started from the command line? If so, what is the proper command and arguements to give? I manage a lot of different firewalls and find the pull down list to be time consuming and harder to use than if I could create my own commands. Thanks.

1 Accepted Solution

Accepted Solutions

Stroemblad
Level 1
Level 1

To run ASDM from command line you should use "Java web start". To do that you browse to the java folder (cd

Program Files\Java\jre6\bin) and run

javaws.exe https://(ip or hostname to ASA)/admin/public/asdm.jnlp

for example

javaws.exe https://fw01.domain.com/admin/public/asdm.jnlp

If you connect using a custom port just add ":" and the port to the IP or domain name.

You may be required to run cmd as administrator.

Kind regards

David

View solution in original post

13 Replies 13

csaxena
Cisco Employee
Cisco Employee

Hello,

We can't run ASDM using CLI. There are no commands to run ASDM, we only have option to configure it using CLI.

Hope this helps. Please reply back if you need any further assistance.

Regards,
Chirag
P.S.: Please mark this thread as answered if you feel your query is answered. Do rate helpful posts.

On a win7x64 system, the laucher shortcut has these properties.

C:\Windows\SysWOW64\javaw.exe -Xms64m -Xmx512m -Dsun.swing.enableImprovedDragGesture=true -classpath lzma.jar;jploader.jar;asdm-launcher.jar;retroweaver-rt-2.0.jar com.cisco.launcher.Launcher

"C:\Program Files (x86)\Cisco Systems\ASDM\"

My question is can I add arguements to the end of the line to specify which ip address to open?

e.g.) ...com.cisco.launcher.Launcher 192.168.1.1

That way I could have ASDM shortcuts/icons for specific sites instead of having to wade through the lengthy pull down list I have.

Hello,

I doubt if this is availble for ASDM.

Regards,
Chirag

If you want to enable the ASDM using CLI the commands you need are:

http server enable

http 0 0 inside

Not sure if that was your question

Sent from Cisco Technical Support iPhone App

sorry i was not clear...i meant the windows command line

Fabian Kessler
Level 1
Level 1

Have you found a way to do it?

I would like to use the ASDM launcher in mRemoteNG as an external application to connect to ASA's.

Best Regards

Fabian

works this way in mRemoteNG

Thanks David!

Best regards

Fabian

Jimmy Nguyen
Level 1
Level 1

Have you found the answer for doing this? I also want to launch ASDM from a third party application.

Stroemblad
Level 1
Level 1

To run ASDM from command line you should use "Java web start". To do that you browse to the java folder (cd

Program Files\Java\jre6\bin) and run

javaws.exe https://(ip or hostname to ASA)/admin/public/asdm.jnlp

for example

javaws.exe https://fw01.domain.com/admin/public/asdm.jnlp

If you connect using a custom port just add ":" and the port to the IP or domain name.

You may be required to run cmd as administrator.

Kind regards

David

Thanks David ! ! !

Hello, 

I just wanted to know if it was possible to pass on the credentials (username and password) with the command line that you shared already? 

 

javaws.exe https://(ip or hostname to ASA)/admin/public/asdm.jnlp + [Username/Password]

 

Thanks in advance,

Can we pass user and Password as well?

 

I just wanted to know if it is possible to pass on the credentials (username and password) with the command line that you shared already? 

 

javaws.exe https://(ip or hostname to ASA)/admin/public/asdm.jnlp + [Username/Password]

Hello, 

I just wanted to know if it was possible to pass on the credentials (username and password) with the command line that you shared already? 

 

javaws.exe https://(ip or hostname to ASA)/admin/public/asdm.jnlp + [Username/Password]

 

Thanks in advance,

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: