cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

24392
Views
10
Helpful
13
Replies
Highlighted
Contributor

start ASDM from command-line

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
Highlighted
Beginner

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
Highlighted
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.

Highlighted

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.

Highlighted

Hello,

I doubt if this is availble for ASDM.

Regards,
Chirag

Highlighted
Contributor

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

Highlighted

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

Highlighted
Beginner

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

Highlighted

works this way in mRemoteNG

Thanks David!

Best regards

Fabian

Highlighted
Beginner

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

Highlighted
Beginner

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

Highlighted

Thanks David ! ! !

Highlighted

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,

Highlighted

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]

Highlighted

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,

Content for Community-Ad