Not getting MAC-Address

Answered Question
Mar 29th, 2007
User Badges:

Hi

I have to find IP address of printer which is connected in fa0/6 port in Cisco 2950G

I tried using following command


switch> sh mac-address int fa0/4

but result shows blank

Mac Address Table

------------------------------------------


Vlan Mac Address Type Ports

---- ----------- ---- ----


I have to find mac address and IP Address

could any help me to solve this


thanks

selva


Correct Answer by m.matteson about 10 years 3 months ago

log onto the printer server or a client that can print to the printer and ping it. then check the arp table.


arp -a or /proc/net/arp

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (1 ratings)
Loading.
Edison Ortiz Thu, 03/29/2007 - 19:38
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

You mentioned f0/6 in the heading and the output display is looking for f0/4.


Which port is it ?

Edison Ortiz Thu, 03/29/2007 - 20:01
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

The port shows up/up ? The printer seems not to be ARPng.

pselva2000 Thu, 03/29/2007 - 20:05
User Badges:

Yes

but printer is working,users able to take print out, till now no one made compliant.

but iam able to get all mac id from other ports.could you tell me how to resolve this



pselva2000 Thu, 03/29/2007 - 20:05
User Badges:

Yes

but printer is working,users able to take print out, till now no one made compliant.

but iam able to get all mac id from other ports.could you tell me how to resolve this



avillalva Thu, 03/29/2007 - 20:57
User Badges:

Get the printer's mac address from an arp cache or a config page then issue the command


sh mac-address-table | include xxxx.xxxx.xxxx


pselva2000 Thu, 03/29/2007 - 21:17
User Badges:

from where you want me try,from core switch or in this particular switch, if core switch I tried, but Iam not able to find.

if its edge switch, it shows only management vlan ip's

Correct Answer
m.matteson Thu, 03/29/2007 - 21:45
User Badges:

log onto the printer server or a client that can print to the printer and ping it. then check the arp table.


arp -a or /proc/net/arp

m.matteson Thu, 03/29/2007 - 21:59
User Badges:

do you have a dns name for the printer? if people can print to it there has to be some sort of dns name somewhere or IP addresses entered into the print servers port somewhere. i would try to find that then ping that printer and check arp. also check the docs on the printer and print a test page, that will give you the ip address of the machine and print the config.

Actions

This Discussion