Results 1 to 2 of 2

Thread: Reprogramming a Cisco router

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2001
    Location
    Bismarck
    Posts
    2

    Smile

    I would like to know if anyone knows how to reprogram a cisco 675 router remotely through VB.
    I do tech support, and It is common for people to have to reprogram them to change passwords, etc. I would like to write an app with a few input boxes that ask for password, username, etc, so that all the tech has to do is type the customers information to be changed, and the app would automatically send it to the routers ip address to reprogram it.
    Currently we can use telnet to look at thier router. You can telnet to the router, input the executive password, enable password, then use the "show" command to show various settings within the router.
    I could be wrong, but I think mainly what I would need to know is how to send text to a specific I.P address.
    Thanks in advance for any help.

  2. #2
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Well, I've had to do something similar.

    We're using a netopia isdn router here, and from time to time the router 'thinks' that it's connected, when in fact it isnt. So we'd have to telnet to it, and manually drop the WAN connections.

    So I wrote an app to do it.

    Just use a winsock control, remotehost = ip of routet, remoteport = telnet port of routet, and then connect.
    Then just send the text that you need to send to the router.

    Telnet text is kinda funny though.
    You may want to write a bouncer first and sample the data that is going through from telnet to the router.

    - jamie
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width