Solved

client ip address

Posted on 2012-04-13
3
220 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Cat6A Cabeling 3 39
gns3 - switchport trunk allow vlan error 4 32
Network Connection 5 35
server plus 2 47
In this tutorial I will show you with short command examples how to obtain a packet footprint of all traffic flowing thru your Juniper device running ScreenOS. I do not know the exact firmware requirement, but I think the fprofile command is availab…
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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

759 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

22 Experts available now in Live!

Get 1:1 Help Now