03-14-2011 09:18 PM - edited 03-11-2019 01:06 PM
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.
Solved! Go to Solution.
06-28-2012 12:13 AM
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
03-14-2011 10:18 PM
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.
03-15-2011 11:28 AM
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.
03-15-2011 07:46 PM
Hello,
I doubt if this is availble for ASDM.
Regards,
Chirag
03-15-2011 06:00 AM
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
03-15-2011 07:56 AM
sorry i was not clear...i meant the windows command line
11-13-2011 02:37 AM
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
06-28-2012 05:39 AM
works this way in mRemoteNG
Thanks David!
Best regards
Fabian
04-19-2012 03:08 PM
Have you found the answer for doing this? I also want to launch ASDM from a third party application.
06-28-2012 12:13 AM
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
06-28-2012 05:28 AM
Thanks David ! ! !
07-10-2018 02:52 AM
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,
09-26-2019 08:24 AM
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]
07-25-2018 03:17 AM
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,
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide