Cisco SDM to Router in GNS3

This is the step by step instructions to download, install and configure Cisco Security Device Manager so that it can work with a router simulated in GNS3. Using of SDM with routers is an important aspect of CCNA sllabus albeit not given much importance in the course.

Software prerequisites:

GNS3

Cisco Security Device Manager (SDM)

The tutorial covers the following topics

1. Installing a Microsoft Loopback Adapter

2. Connecting the Microsoft Loopback Adapter to the simulated Router on GNS3

3. Downloading and installing Cisco SDM

4. Integrating the Cisco SDM with the router on GNS3 and controlling the router

 

Installing a Microsoft Loopback Adapter

1. Type and enter “hdwwiz” in Windows Run to raise the Add Hardware page.

Add Hardware

 

 

 

 

 

 

 

 

 

2. Select Manual selection of Hardware

Manual Selection

 

 

 

 

 

 

 

 

 

3. Select Hardware type as “Network Adapter

Network Adapter

 

 

 

 

 

 

 

 

 

4. Select “Manufacturer” as Microsoft and type as Microsoft Loopback Adapter

Microsoft Loopback Adapter

 

 

 

 

 

 

 

 

 

5. Go to Network and Sharing Center and click on Change Adapter Settings

 

 

 

 

 

 

6. Select the Microsoft Loopback Adapter, Right click and select Properties, then double click on TCP/IP v4 Properties to add the IP address.

Adding IP to Loopback Adapter

 

 

 

 

 

 

 

 

 

 

 

 

Connecting the Microsoft Loopback Adapter to the simulated Router on GNS3

 

1. Restart the PC after adding the Microsoft Loopback Adapter and before running GNS3

2. Run GNS3 as Administrator

 

 

 

 

 

 

 

 

 

 

3. Add a Cloud in GNS3, Right click and click on Configure.

Adding a Cloud

 

 

 

 

 

 

 

4. Scroll down under Generic Ethernet NIO and select the Microsoft Loopback Adapter

 

 

 

 

 

 

 

 

5. Add a router and connect it to the newly added loopback interface of cloud using an Ethernet connection.

 

 

 

Downloading and Installing Cisco SDM

 

1. Login to Cisco.com using your CCO credentials

2. Download the Security Device Manager Software from this LINK

3. Extract the zipper archive file into a folder

4. Double click on the “Setup.exe” application

5. Install the SDM Software on the PC

6. Go to the CLI of the router in GNS3 and enter the following commands

Router(config)# ip http server
Router(config)# ip http secure-server
Router(config)# ip http authentication local
Router(config)# username <username> privilege 15 password 0 <password>
Router(config)# line vty 0 4
Router(config-line)# privilege level 15
Router(config-line)# login local
Router(config-line)# transport input telnet
Router(config-line)# transport input telnet ssh
Router(config-line)# exit

Add appropriate username and password as you see fit (eg: admin / cisco )

7. Disable your PC’s Firewall

8. Test connectivity to the router via Microsoft Loopback Adapter by Pinging the Router’s ethernet interface’s IP Address from the Command Prompt

9.  Select Cisco SDM Application from Start Menu

 

 

 

 

10. Enter the Router interface IP Address in the Device IP address field and click on Launch

 

 

 

 

 

 

 

11. In the Internet Explorer page that opens up, Allow the blocked content. Then add the username and password to the log in prompt.

Log in to the Cisco SDM

 

 

 

 

 

 

 

12. Allow the blocked content once more in the second popup window.

 

 

 

 

 

 

13. And Voila!! The Cisco SDM starts now for your configuration pleasure!

12 comments for “Cisco SDM to Router in GNS3

  1. firman
    November 9, 2012 at 6:47 am

    bos numpang nanya ane
    itu ip addressny dri PC or bikin sndri???
    thx

    • November 9, 2012 at 11:07 am

      Hello friend, please repeat your question in English. I am unable to understand you, 🙁

      • firman
        November 10, 2012 at 6:05 am

        sorry, I guess you people of Indonesia.
        I want to ask you pakai.itu ip address ip address make your own or on your PC?

        • November 10, 2012 at 9:18 am

          I used a Private IP address from Class C to assign to the router’s interface and to my Virtual Loopback Adapter. It is different from my Physical NIC IP and Wifi IP.

  2. firman
    November 27, 2012 at 9:31 am

    unable to launch SDM due to one or more of the following reasons:

    1. the ip address or hostname you provided is not a valid router address or is not reachale.

    2.http/https is disabled on the router.

  3. firman
    November 27, 2012 at 9:39 am

    unable to launch sdm due to one or more of the following reasons:
    1. the ip address or hostname you provided is not a valid router address or is not reachable.
    2. http/https is disabled on the router.
    sdm requires http or https to be enabled on the router. if you are running http or https on a custom port, specify the port number along with the device ip address or hostname (e.g. 10.10.10.1;).

    after you have fixed these problems, try again.

    how to fix it?
    can you help me?

    • November 27, 2012 at 9:47 am

      First ensure that you have configured the ethernet interface on your router with correct IP address and has turned it on. Your router’s ethernet and your loopback address must belong to the same network address. Also ensure that the firewall is shut down before you attempt to start the SDM.

  4. firman
    November 27, 2012 at 9:55 am

    thx bro

  5. firman
    November 27, 2012 at 10:18 am

    how to type correct password??
    username privilege 15 password 0

  6. firman
    November 27, 2012 at 11:41 am

    how to type correct password??

    username privilege 15 password 0

    • November 27, 2012 at 1:04 pm

      Like this example:

      username Admin privilege 15 password 0 123456

      Where “Admin” is the username and we have set a password of “123456”.

  7. firman
    February 2, 2013 at 8:31 pm

    friends, this is what functions cisco sdm??

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.