Current location - Quotes Website - Collection of slogans - How to find the switch port corresponding to the host IP?
How to find the switch port corresponding to the host IP?
1, connect the switch first, and we can log in to the switch remotely.

Find the MAC address of this machine. You can enter "ipconfig/all" on the command line to query. Find the current network card address.

3. Then we enter the command "dis mac-address 448A-5BE2-5800" in the switch to find the port corresponding to this mac address.

It is easy to see that the computer corresponds to the eighth port of the switch.

5. I want to find the interface or IP address corresponding to the computer. Use this command "dis mac-address gig0/0/8" or "dis ip interface gig 0/0/8".

6, so you can easily find the correspondence between the port and the computer.