Hello gears,
I installed SDM engine today in order to prepare myself for ISCW test.
I searched the web about howto’s but I never found what I needed. Hope that tutorial can help someone else.
Steps :
- Configure an ip address on a router interface and enable it. This interface must be fast/ethernet type.
- Ex :
- Router#conf t
- Router(config)#ip http secure-server (Some keys should be generated…)
- Router(config)#interface fastethernet0/0
- Router(config-int)#ip address 172.16.0.2
- Router(config-int)#duplex full
- Router(config-int)#no shut
- Install a loopback adaptater on your pc : You can follow the following article for this Link.
- Run the “Network device list” batch from Dynamips folder and gather the hardware reference for your network adaptater.
- Edit you .net file and add the following statement
- F0/0 = NIO_gen_eth:DeviceNPF_{ ** your nic reference **}
- Modify the new Windows network connection and assign it a static ip address such as 172.16.0.1/24.
- Run your .net file and try to ping from both sides : Router->PC and PC->Router
- Install SDM engine on your PC. I’m currently using the version 2.4.1. You may need to allow activex, you can trust them.
- Use the ip address you defined on the router and enter it into SDM. 172.16.0.2 in our case.
- You will be prompted for a username and a password. You have to define it into router configuration. Below is an example.
- Router(config)#usernmame sdm priv 15 password sdmlab
Cheers and Enjoy !
13 avril 2008 à 3:22
When you say:
F0/0 = NIO_gen_eth:DeviceNPF_{ ** your nic reference **}
Which NIC should we choose? The loopback or the local NIC?
13 avril 2008 à 4:28
Hello,
You have to use the loopback adaptater reference.
Good luck.
20 avril 2008 à 3:30
“Run your .net file and try to ping from both sides : Router->PC and PC->Router”
copied your instructions, agap, but ping fails.
No connection from and to my MS loopback adapter…
20 avril 2008 à 3:50
Helmut,
Are your pc and router in the same ip subnet ?
Are all interfaces up ?
Did you defined the correct DeviceNPF value ?
4 mai 2008 à 5:20
From PC to router is pinging , But from router to PC loopback not pinging why ??
Any other settings required .
6 juin 2008 à 9:09
I have the loopback adapter set up and can ping from both dirtections, but the SDM never launches. Very frustrating.
6 juin 2008 à 9:29
Hi Tim,
It takes a while to launch sometimes and if you’re using internet explorer you should be prompted to use an activeX.
Good luck
6 juin 2008 à 11:51
The problem was I was using Firefox 3.0. When I tried IE, it worked! Doh!
17 juin 2008 à 5:56
When I try to run the .net file, I get the message:
206-unable to create generic ethernet NIO.
I copied the loopback reference just as stated above. Is there something I’m not doing right?
17 juin 2008 à 6:54
nevermind…figured it out. one little \ and everything crapped out. Got it working now.
Excellent job Niamor….been looking for something like this for a while.
30 décembre 2008 à 8:11
I had deleted flash and nvram in cisco 1841 then how to install this again
31 décembre 2008 à 3:20
Hello Shankar,
Did you also remove the ios image ?
Rgds, Niamor
22 août 2009 à 10:50
Can someone tell me what does “NIC reference” mean please ?
or may be your example of the following line:
“F0/0 = NIO_gen_eth:DeviceNPF_{ ** your nic reference **}”
?
22 août 2009 à 11:20
ok
I found some examples of NIC reference, but have no idea where to look for it
22 août 2009 à 11:44
OHHHHHHHH
sorrrryyyyy
here in Ukraine it is quarter to 2′oclock in the morning, so i’m quite inattentive right now
figured out
thanks a bunch for the post
23 août 2009 à 1:21
well
now I just can’t log in to the router
I used the following command with another username and password. but then neither SDM nor telnet from cmd doesn’t let me in
* Router(config)#usernmame sdm priv 15 password sdmlab
23 août 2009 à 7:56
Hi Theo,
Did you find your nic ref ? (If not it is displayed via “Network device list” batch from Dynamips)
Did you enable the cisco webserver on the router ?
BRgds.
23 août 2009 à 3:01
hi Niamor,
yes, I found nic ref, I just missed the way to do it, when read it for the 1st time.
and
No, I didn’t enable the web server on the router. could you please give me a clue how to do it or a link? I’ll appreciate it very much.
when I start SDM it asks me to enter SSH username and password. then it asks the same for telnet.
I set up password for telnet. But what about username?
Then I tried to use the following example
* Router(config)#usernmame sdm priv 15 password sdmlab
and it didn’t help.
may be it’s related to setting up cisco web server on the router which you mentioned.
23 août 2009 à 3:07
Btw,
I accessed the router via telnet connection,
but still can’t do the same with SDM(ver. 2.3, 2.5 used)
23 août 2009 à 7:04
Theo,
Here is the command :
ip http secure-serverYou also have to use Internet Explorer and allow the ActiveX to run.
Cheers.
24 août 2009 à 12:33
Hi again,
well I set up:
- http server on the router
- allowed ActiveX
- downloaded JRE 1.4.2
- defined privilege level 15 user: username sdm privilege 15 password sdm
now, when I’m connecting to the router via SDM it shows me one after another windows of IE, and after it shows the 2nd one, the 3rd one is appearing with the message:
“SDM Startup Error
SDM has not been granted with the necessary privileges in order to startup successfully, or another unknown error occurred during startup.
Please close all involved browser windows and try again by granting all requested privileges.”
24 août 2009 à 12:53
once again it appeared to be a matter of JRE version.
I used 1.4.2, 1.4.2_05 etc
but it was 1.4.2_17, which appeared to be workable
so, no problems now and I’ve finally accessed my router through the SDM
anyway thanks for good tutorial
25 août 2009 à 6:09
Glad to see you nailed it
7 septembre 2009 à 8:51
Hello theo ,
I think u have to issue an additional command to use the local database while in https login , it goes like this : ip http authentication local … Or ( https ) I think that will do , good luck … A+
22 octobre 2009 à 5:40
Hello all. I am having some problems with the SDM running. I am able to ping from the PC and the router with in GNS3 both ways with 100% success rate. So I have communication there, and have the router set up to use local accounts for allowing my user name ans password for SDM. The weird part is everything opens and asks me about active X and prompts user name and password but when I enter it, the one window says loading SDM then that message goes away and nothing happens. Can anyone help me out here?