How can I get a switch port address from a Cisco 4500 Switch with having only the IP Address of the device?

How can I get a switch port address from a Cisco 4500 Switch with having only the IP Address of the device?

QmezAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
rfc1180Connect With a Mentor Commented:
If there is any other questions, here is a better example:

agr01.den03#show arp | include 10.169.98.5
Internet  10.169.98.5            45   0080.cb49.093d  ARPA   Vlan811
agr01.den03#show mac-address address 0080.cb49.093d
Legend: * - primary entry
        age - seconds since last seen
        n/a - not available

  vlan   mac address     type    learn     age              ports
------+----------------+--------+-----+----------+--------------------------
Active Supervisor:
*  811  0080.cb49.093d   dynamic  Yes          5   Gi4/13



Billy
0
 
rfc1180Commented:
what do you mean by switchport address?
0
 
Joshua_PetersCommented:
I think you mean the individual ip address for a specific port? If your cisco equipment handles your dhcp you can find out by connecting to the switch via the blue cable that has ethernet on one side and serial on the other. If your server handles your dhcp then the switch will not know what the address is.
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
rfc1180Commented:
>I think you mean the individual ip address for a specific port?
well, sure, but he said switchport, you can not have an IP address on a layer2 switch, that is why I want clarification.
0
 
QmezAuthor Commented:
Yes.... I need to get a specific port number for a specific IP address.
I can do a SHOW  MAC-ADDRESS ADDRESS XXXX.XXXX.XXXX and it will give me the assigned port.  But how can I get the assigned port if I only have the IP address?  What switch command can I use?  
0
 
rfc1180Connect With a Mentor Commented:
ahhh
show arp | inc 192.168.1.1

get the mac, then do a show mac-address | inc xxxx.xxxx.xxxx

Billy
0
 
QmezAuthor Commented:
Thank you....  that answers my questions.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.