cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
370
Views
0
Helpful
2
Replies

How to identify an end station's MAC and IP from its port on switch?

gwhuang5398
Level 2
Level 2

I know the switch port where an end station is connected to. How can I find out the station's MAC and IP from there?

The switch is running CatOS. Thanks a lot

Gary

2 Replies 2

farkascsgy
Level 4
Level 4

Use

show cam and show arp

commands.

(http://www.cisco.com/en/US/products/hw/switches/ps4324/products_command_reference_chapter09186a00801fd964.html#wp1025001)

show cam | include "port" --> result is MAC address

show arp | include "MAC" --> result is IP address

bye

FCS

Please rate me if I helped.

correct me if im wrong but you can only find out the ip address associtated to the MAC from a router on that subnet, not the Layer2 switch the pc in plugged into?

this is only true if the switch is run the SMI image and not a switch running the EMI image with ip routing enable.