Solved

client ip address

Posted on 2012-04-13
3
223 Views
Last Modified: 2012-04-13
If i am working on a cisco switch (layer 2 or layer 3) and i have a client ip address is it possible to figure out what switch access port that client is connected to?

Here is what i know:
1)  i can do this with a mac-address
2)  i can determine what vlan and associated ports are assigned to that vlan

thanks!
0
Comment
Question by:bryanord
3 Comments
 
LVL 17

Accepted Solution

by:
Anuroopsundd earned 500 total points
ID: 37842194
https://learningnetwork.cisco.com/thread/10600

show arp | inc 10.1.1.1
Internet  10.1.1.1               150   0022.90b7.b4f6  ARPA   FastEthernet0/0

 Note, the above interface is the layer 3 (router) interface, you still have to find it on a L2 switch
 switch#show mac address-table | inc 0022.90b7.b4f6

  1    0022.90b7.b4f6    DYNAMIC     Fa0/16
0
 
LVL 17

Expert Comment

by:Spartan_1337
ID: 37842247
To view VLAN and port assignments:

sh vlan brief

This will output all VLAN's and associated ports.
0
 

Author Closing Comment

by:bryanord
ID: 37842255
SPOT ON!  thanks for the fast response.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Before I go to far, let's explain HA (High Availability) and why you should consider it.  High availability is the mechanism used to provide redundancy to any service at the same site and appears as a single service to the users of that service.  As…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now