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
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?

Question by:Qmez
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
  • 4
  • 2
LVL 24

Expert Comment

ID: 33571744
what do you mean by switchport address?

Expert Comment

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.
LVL 24

Expert Comment

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.
Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.


Author Comment

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?  
LVL 24

Assisted Solution

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

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

LVL 24

Accepted Solution

rfc1180 earned 250 total points
ID: 33572052
If there is any other questions, here is a better example:

agr01.den03#show arp | include
Internet            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


Author Comment

ID: 33572065
Thank you....  that answers my questions.

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
managing a small network 6 105
eigrp - not allow a subnet from advertising 1 75
Disabling SNMP Write-Access on Switches 6 54
Changing the default VLAN on a Cisco switch? 9 69
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 (…
I eventually solved a perplexing problem setting up telnet for a new switch.  I installed a new Cisco WS-03560X-24P switch connected to an existing Cisco 4506 running a WS-X4013-10GE Sup II-Plus. After configuring vlans and trunking,  I could no…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

733 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