how i get IP of user connected on my switch

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered
i would like to check the user IP that connected on my switch .i can access my switch through putty i know that which port is up through NMS know i would like to know that which user is connected on my that switch.
Photo of shashank sharma

shashank sharma

  • 222 Points 100 badge 2x thumb

Posted 3 years ago

  • 0
  • 1
Photo of Alexandr P

Alexandr P, Embassador

  • 12,576 Points 10k badge 2x thumb
Hi, Shashank!

You can use:
#show fdb
and
#show iparp

Thank you!
Photo of shashank sharma

shashank sharma

  • 222 Points 100 badge 2x thumb
thanks a lot sir.
Photo of Patrick Voss

Patrick Voss, Alum

  • 11,594 Points 10k badge 2x thumb
Show FDB will work 100% of the time. It is important to know that if the VLAN does not have an IP address assigned to it will not learn anything in the IPARP table.
Photo of Drew C.

Drew C., Community Manager

  • 39,442 Points 20k badge 2x thumb
If you know the specific port and are running EXOS 16.1+, a new command was added.  show iparp port <port_num>

Older versions where the "pipe" include option is available, you can specify port number that way.  Here's an example with port 10.
# show iparp | include "10$"
VR-Default    10.67.71.17      00:04:96:35:d0:90    0      NO  row_K-mgmt    1071  10
VR-Default    10.67.71.36      00:21:d7:e9:27:c1   13      NO  row_K-mgmt    1071  10
VR-Default    10.67.71.38      00:04:96:6d:55:52    8      NO  row_K-mgmt    1071  10
VR-Default    10.67.71.45      00:04:96:52:d8:31    8      NO  row_K-mgmt    1071  10
VR-Default    10.67.71.52      00:04:96:36:5f:51    8      NO  row_K-mgmt    1071  10
VR-Default    10.67.71.54      00:04:96:36:5f:58    8      NO  row_K-mgmt    1071  10
VR-Default    10.67.70.63      00:80:a3:35:2e:57    3      NO  termsvr_pdu   1070  10