switch port mapper or flasher

Hi all of you , I need to free program or any trick to do the following :
1.flash switch port from my laptop (Windows) to switch (Cisco) to view it from switch LED blinking (any program thad connects and disconnect automatically  to LAN switch)
2.know the port number of switch and the name using CDP protocol
LVL 8
nader alkahtaniNetwork EngineerAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Rob GConnect With a Mentor Microsoft Systems EngineerCommented:
Nader,
See attached..

You will need to launch a command prompt as admin
Rename the txt file to a .bat
then drag and drop the batch file into your command prompt and execute it.
NIC-Flash.zip
0
 
MiftaulCommented:
Its easy to find which port is connecting a PC or any IP address using the "Show arp" and "Show mac-" on the cisco switch cli
0
 
nader alkahtaniNetwork EngineerAuthor Commented:
But I need to use windows
Exe program is preferred
0
Evaluating UTMs? Here's what you need to know!

Evaluating a UTM appliance and vendor can prove to be an overwhelming exercise.  How can you make sure that you're getting the security that your organization needs without breaking the bank? Check out our UTM Buyer's Guide for more information on what you should be looking for!

 
MiftaulCommented:
the commands I am saying will work when you logon to the cisco switch cli.

Solarwind has a tool for windows, you can use the trial version. Link
0
 
nader alkahtaniNetwork EngineerAuthor Commented:
Need to free
0
 
Rob GMicrosoft Systems EngineerCommented:
They don't really make a "free" windows version of what you are trying to do..
You can follow the above posts and get the information from the Cisco Side for free.. Or can pay for some 3rd party software to get the port information.. Or can script a slow blink by scripting the off/on of the Nic on the desktop side, but it will be REALLY delayed..
0
 
nader alkahtaniNetwork EngineerAuthor Commented:
Rob : how can script that?
0
 
Rob GConnect With a Mentor Microsoft Systems EngineerCommented:
netsh interface set interface name="Local Area Connection" admin=disabled
netsh interface set interface name="Local Area Connection" admin=enabled

If that doesn't work..

Try:


wmic path win32_networkadapter where NetConnectionID="Wireless Network Connection" call disable
wmic path win32_networkadapter where NetConnectionID="Wireless Network Connection" call enable


You will need to change the quoted name to the name of the network connection, most are Local Area Network connection, but that can be followed by a number or changed if the NIC name was changed..

You would obviously need to run this local, as running if remotely will fail to execute the enable since you can't remotely connect if the NIC is not there..

If you need it to flash the connection you can do this to make it flash 6 times.. (1 flash for every 2 commands)

netsh interface set interface name="Local Area Connection" admin=disabled
netsh interface set interface name="Local Area Connection" admin=enabled
netsh interface set interface name="Local Area Connection" admin=disabled
netsh interface set interface name="Local Area Connection" admin=enabled
netsh interface set interface name="Local Area Connection" admin=disabled
netsh interface set interface name="Local Area Connection" admin=enabled
netsh interface set interface name="Local Area Connection" admin=disabled
netsh interface set interface name="Local Area Connection" admin=enabled
netsh interface set interface name="Local Area Connection" admin=disabled
netsh interface set interface name="Local Area Connection" admin=enabled
netsh interface set interface name="Local Area Connection" admin=disabled
netsh interface set interface name="Local Area Connection" admin=enabled
0
 
nader alkahtaniNetwork EngineerAuthor Commented:
Good idea , I want to run this script from laptop then  go to switch to see the LED flash
How can I do that
Whitch simplest programming language  can do that ?
Thank you Rob
0
 
nader alkahtaniNetwork EngineerAuthor Commented:
Thank you so much
0
All Courses

From novice to tech pro — start learning today.