Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2010-08-31
7
391 Views
Last Modified: 2012-06-27
How can I get a switch port address from a Cisco 4500 Switch with having only the IP Address of the device?

0
Comment
Question by:Qmez
  • 4
  • 2
7 Comments
 
LVL 24

Expert Comment

by:rfc1180
ID: 33571744
what do you mean by switchport address?
0
 
LVL 6

Expert Comment

by:Joshua_Peters
ID: 33571822
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
 
LVL 24

Expert Comment

by:rfc1180
ID: 33571839
>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
Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

 

Author Comment

by:Qmez
ID: 33571932
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
 
LVL 24

Assisted Solution

by:rfc1180
rfc1180 earned 250 total points
ID: 33571995
ahhh
show arp | inc 192.168.1.1

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

Billy
0
 
LVL 24

Accepted Solution

by:
rfc1180 earned 250 total points
ID: 33572052
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
 

Author Comment

by:Qmez
ID: 33572065
Thank you....  that answers my questions.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The worst thing when starting a new job is when the previous Network Administrator left behind no documentation. How do you get into the devices? If you've been in this situation or just accidently mistyped your password, this article will hopefully…
I see many questions here on Experts Exchange regarding switch port configurations and trunks. This article is meant for beginners in the subject to help to get basic knowledge about Virtual Local Area Network (VLAN (http://en.wikipedia.org/wiki/Vir…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

861 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