Find the Port in switch associated with IP

Posted: September 6, 2010 in CISCO

With this we are trying to find what Cisco switch port the IP 10.80.1.145 Binds.Log in to Pcore01 switch. Then do the following.

=====================================================================

PCORE01#ping 10.80.1.145

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.80.1.145, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/5/20 ms
PCORE01#sho
PCORE01#show mac
PCORE01#show arp
PCORE01#show arp | inclu
PCORE01#show arp | include 10.80.1.145
Internet 10.80.1.145 0 0023.26ac.e43c ARPA Vlan101
PCORE01#sho
PCORE01#show mac
PCORE01#show mac add
PCORE01#show mac address-table add
PCORE01#show mac address-table address 0023.26ac.e43c
Unicast Entries
vlan mac address type protocols port
——-+—————+——–+———————+——————–
101 0023.26ac.e43c dynamic ip,ipx,assigned,other Port-channel64 — > This is Uplink to Pcore02, means the IP is on some port on Pcore02
Telnet to Pcore02 >

PCORE01#telnet 10.80.0.172
Trying 10.80.0.172 … Open

User Access Verification

Password:
PCORE02>ena
PCORE02>enable
Password:
PCORE02#sho
PCORE02#show mac
PCORE02#show mac add
PCORE02#show mac address-table add
PCORE02#show mac address-table address 0023.26ac.e43c
Unicast Entries
vlan mac address type protocols port
——-+—————+——–+———————+——————–
101 0023.26ac.e43c dynamic ip,ipx,assigned,other GigabitEthernet6/10 —- > This is the Port Number , The IP is connected.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s