CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2010
    Posts
    3

    Switching Ethernet Ports

    Hey,

    First a little background...

    I have a Desktop PC that is connected to Dell Switch of 100 ethernet ports. I have a different ethernet source coming out of the first 20 ports.

    What im trying to do is isolate one of the sources coming out of the switch and disable the other 19. I then want to manually run a few tests and then when I decide, I want to switch to another source. (if at 2 goto 3 if at 14 goto 15) How would i began to write a code that would do this?

    Thanks

    Brandon T

  2. #2
    Join Date
    Apr 2010
    Posts
    172

    Thumbs up Re: Switching Ethernet Ports

    This could start you of

    http://msdn.microsoft.com/en-us/library/ms742212

    I also suggest googling system level programming
    Last edited by gaar321; July 20th, 2010 at 03:50 PM.

  3. #3
    Join Date
    Jul 2010
    Posts
    3

    Re: Switching Ethernet Ports

    Well i figured out that i can Telnet into the Switch and manually Enable and Disable the selected ports. Which is working how I would like it to. Now I just have the process of writing it in code and looking up the different commands for this. I mainly just wondered if someone had done this before and had a example.

Tags for this Thread

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

Featured