Quantcast
Channel: All Ethernet Switching posts
Viewing all articles
Browse latest Browse all 10307

Re: EX2200: How to find out ip address for port

$
0
0

Remember that the switch wil have ethernet-switching table with defaul aging time out 5 minutes. If device has static IP, and never communicates with the switch, then it does not log any information in the table. You you need to get the device to talk to the switch. If you know the device name, then try pinging it by name and get the IP address.

Try ping ip addess on your network to see its address, then its all yours to figure out which one belongs to that device. If there are hundreds then...dilemma.

 

FOR /L %i IN (1,1,254) DO ping -n 1 192.168.1.%i | FIND /i "Reply">>c:\ipaddresses.txt


this will also resolve hostnames
FOR /L %i IN (1,1,254) DO ping -a -n 1 192.168.1.%i | FIND /i "Reply">>c:\ipaddresses2host.txt


Viewing all articles
Browse latest Browse all 10307

Trending Articles