Posts Tagged ‘mac’


This can only be done with with L3 switches.

Run CLI command “show mac address-table”, you will get list with Vlan ID, mac address and port info.

Find your port in the list and take mac address which associates with this port. Then run “show arp” command and find the record with mentioned above mac address. You have ip you looking for.

for example:

PCORE02#show mac address-table | include 3/40
110    0017.4284.ef16   dynamic ip,ipx,assigned,other GigabitEthernet3/40   [Some time just put the port number like 3/40]

you have output:
110    0017.4284.ef16   dynamic ip,ipx,assigned,other GigabitEthernet3/40

sh arp | include 0017.4284.ef16

result:
Internet  10.80.10.140            4   0017.4284.ef16  ARPA   Vlan110

So you will get the IP address.