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
390 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

This tutorial will go through the steps required to write a script that will back up the configuration settings of a HP-ProCurve switch. You will need to get the following things to follow this tutorial: Telnet Scripting Tool e.g. TST10.exe …
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…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

777 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