MAC address on 2950

Hi...
Whenever I telnet to the switch that my PC is connected to and type sho arp I get all the IP addresses of PCs connected to the switch while the hardware address is the same for all of them.
How can I get the mac addresses of the PCs connected to the ports?
Thanks

You should be getting the correct hardware address if the PCs are directly connected to the switch.
If you are connecting a group of PCs that pass through a router, then the single MAC that you are seeing is the MAC of the router interface connecting to the 2950.
To get the real MACs of the PCs, you'd need to look at the ARP table of the router.
Here's a sh arp from my switch:
Smack_2950#sho arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 172.16.1.254 190 000a.4144.d4bd ARPA Vlan1
Internet 172.16.1.198 3 0004.75db.07b9 ARPA Vlan1
Internet 172.16.1.57 74 00d0.5836.f441 ARPA Vlan1
Internet 172.16.1.29 - 0009.b74a.9580 ARPA Vlan1
Internet 172.16.1.127 81 0013.6042.8a8d ARPA Vlan1
Internet 172.16.1.77 0 0002.b349.c8c8 ARPA Vlan1
Smack_2950#
You might also try a sh mac-address-table, it'll give you MAC and switch-port that the MAC is connected to.
Here's an example:
Smack_2950#show mac-address-table
Mac Address Table
Vlan Mac Address Type Ports
All 0009.b74a.9580 STATIC CPU
All 0100.0ccc.cccc STATIC CPU
All 0100.0ccc.cccd STATIC CPU
All 0100.0cdd.dddd STATIC CPU
1 0002.b349.c8c8 DYNAMIC Fa0/24
1 0002.b349.c965 DYNAMIC Gi0/1
1 0004.75db.07b9 DYNAMIC Fa0/23
1 000a.4144.d4bd DYNAMIC Fa0/18
1 000d.613b.28e5 DYNAMIC Gi0/1
1 000e.a62d.abf1 DYNAMIC Gi0/1
1 000f.f73a.bc4d DYNAMIC Fa0/19
1 0010.7be7.a772 DYNAMIC Fa0/21
1 0011.240d.960f DYNAMIC Fa0/19
1 0013.6042.8a8d DYNAMIC Fa0/20
1 0030.4821.e689 DYNAMIC Fa0/24
1 00d0.5836.f441 DYNAMIC Fa0/22
56 0001.5c22.9982 DYNAMIC Fa0/12
56 000a.4144.d4bc DYNAMIC Fa0/13
100 0000.0c4a.5eca DYNAMIC Fa0/1
100 00c0.7b4c.9325 DYNAMIC Fa0/2
200 0000.0c5d.b3ee DYNAMIC Fa0/3
400 0010.7b80.2ecd DYNAMIC Fa0/8
300 0000.0c5c.f28c DYNAMIC Fa0/7
Total Mac Addresses for this criterion: 23
Smack_2950#
Check it out and let us know what you find.
FWIW
Scott

Similar Messages

  • Mac Address Tracing - CatOS

    I have noticed a lot of bad traffic coming from one particular computer on the network. Normally not a big deal, I found the MAC Address in my DHCP Table, logged into a switch, did a 'sh mac-address-table address <mac address>', found what port it was connected to (it was another switch), I then did a 'sh cdp neighbor detail' got the ip address, telneted to that switch, rinsed and repeated... until I hit a switch that had CatOS.
    My question is how do I do this same type of thing on CatOS? I know how to get everything else except which port it is on like the 'sh mac-address-table address <mac address>' command gives me.

    just type show cam it will clearly tell where the mac-address is residing.
    eg. lets say that 6509--->2950---->(my pc)
    in 6509 type show cam
    it show some thing like this...
    Cat6509> (enable) sh cam 00:02:B3:87:EA:10
    * = Static Entry. + = Permanent Entry. # = System Entry. R = Router Entry.
    X = Port Security Entry $ = Dot1x Security Entry
    VLAN Dest MAC/Route Des [CoS] Destination Ports or VCs / [Protocol Type]
    194 00-02-b3-87-ea-10 4/7 [ALL]
    on 4/7 2950 is connected, in that again you type the pc mac address.
    2950#sh mac-address-table address 00-02-b3-87-ea-10
    Mac Address Table
    Vlan Mac Address Type Ports
    194 0002.b387.ea10 DYNAMIC Fa0/2
    Total Mac Addresses for this criterion: 1
    which means the pc is connected on fasethernet 0/2 port.
    hope this helps,
    rate this post.

  • Detemining MAC addresses on WS-C2950G switches

    On my old WS-C3500XL switches (running IOS ver 12.0(5)WC5(fc1), I could input the following IOS command and figure out the MAC address of hosts that are connected to any switch port interface (int fa0/1 in the example below):
    3500xl# show mac int fa0/1
    Non-static Address Table:
    Destination Address Address Type VLAN Destination Port
    0800.20a4.eefe Dynamic 6 FastEthernet0/1
    I work in the aerospace industry and this was very useful for me to verify hosts were connected to the correct switch port (especially in remote locations). It also allowed me to verify more easily find out if someone who shouldn't be connected to the net is (i.e. a user that might disconnect a Sun host to put his PC on the net).
    On my newer WS-C2950G Catalyst 2950 switches running IOS ver 12.1(22)EA1b(fc1), it no longer supports this same IOS command. Is there another command I can use to get this info?
    Thanks,
    Scott

    Hi Scott,
    You can achieve the same with the following command
    sh mac-address-table interface
    eg
    2950#sh mac-address-table interface fa 0/1
    Non-static Address Table:
    Destination Address Address Type VLAN Destination Port
    0015.2bd7.1821 Dynamic 25 FastEthernet0/1
    HTH
    Narayan

  • Show mac-address-table

    Given the command show mac-address-table from the privilege exec mode in a cat 2950, the output shows some (i think 4) mac-address tha are system. Do u have any idea what are these mac?

    Hi Dimitris,
    Thanks for writing in. I tried the command on my switch and got the following: Do you see a similar output and is this what you are referring to?
    2950#sh mac-address-table
    Mac Address Table
    Vlan Mac Address Type Ports
    All 0009.7c70.f9c0 STATIC CPU
    All 0100.0ccc.cccc STATIC CPU
    All 0100.0ccc.cccd STATIC CPU
    All 0100.0cdd.dddd STATIC CPU
    0100.0ccc.cccc is used for CDP/VTP/DTP/PAgP/UDLD
    0100.0ccc.cccd is used for PVST+
    0100.0cdd.dddd seems to be related to multicast, however need to confirm on this.
    0009.7c70.f9c0 is the mac address for my management vlan interface.
    2950#sh int vlan 1
    Vlan1 is administratively down, line protocol is down Hardware is CPU Interface, address is 0009.7c70.f9c0 (bia 0009.7c70.f9c0)
    Hope this helps.
    regards
    -Alok

  • Really long MAC address?

    I am trying to setup AUTOINSTALL on a catalyst 2950. I have been successfull but I am slightly confused.
    I am creating a DHCP reservation on my Windows 2000 DHCP server for the switch that I am autoinstalling. After many failures whereby the switch would not assign itself the IP I had reserved for it I discovered why.
    The base MAC address of the switch (which incidentally is 00:11:21:EB:D3:C0) as confirmed by the label on the back and the switch startup screen was not the one being seen by the Windows 2000 DHCP server. Instead the MAC (or as Windows calls it the "UniqueID") is a 48 character string.
    I attach a screenshot, the switch is the top one in the list, the other ones are regular PC hosts who show their MAC address.
    I need to be able to work out in advance what a Cisco 2950's switch MAC (or UniqueID) is going to be to allow me to create a reservation for it.
    Thanks in advance,
    Ellis Dixon

    It shows the same, so the UniqueID/MAC is static between reboots.
    This is necessary for the reservation to function correctly, in that the switch is sent the same DHCP options (66 & 67) upon a restart without a config file present.
    Thanks,
    Ellis

  • RSPAN limitations with vtp domain on 6500- 12.2.3(33)SXH5 ERROR DUPLICATED MAC ADDRESS ON TWO VLANS

    Hello everyone,
    i have a network with a
    L3(core) 6500 12.2.3(33)SXH5  with vtp (server) and pruning on, rstp 
    L2(distribution, ) with 3750 fiber connected
    L2(access) with mixed hardware 2950-3750
    when i go to setup a rspan:
    6500(config)#vlan 400
    6500(config-vlan)#remote-span
    access(config)#monitor session1 source remote vlan400
    access(config)#monitor session1 destination fa2/0/1
    access(config)#monitor session1 source int gi1/0/37, gi1/0/44, tx
    access(config)#monitor session1 destination remote vlan 400
    my problem is on a periferic access switches 2950 not redundant:
    i relevated a 
    duplicate mac-address table, i found a every mac on 2 vlan, the 200 and 400(of remote span) with related problem of loss of packets and random connection problem
    My question is:
    is compatibile the rspan with 6500 vtp, how i can fixed this problems?
    thank you

    Other users from the forums with a similar problem came to a conflict occurring here
    Oct 18 11:52:41 MacBook-Pro opendirectoryd[123]: 2595.39 - ODNodeCreateWithNameAndOptions failed with error 'Unknown node name' (2000)
    They say it's some sort of conflict with the language of the installation or is it language keyboard input, then what is meant and how it can be solved I do not understand if this is certainly so.
    (sorry for my bad english)

  • How to make mac address gmail contacts overwrite the ones on my HTC Android phone - I don't want to sync - that makes the phone scramble and overwrite my computer.  I want to remove or correctly overwrite the phone information as I have done with iPad.

    Please help - I am beginning to hate google, my android and gmail.  I have just wasted about 5 hours in a futile attempt to try and get my current Mac contacts list on my computer updated to my phone. I'm not that computer literate but I have looked up about google phone accounts, vCards, backing up contact lists, what SD on phones are, and God know what else.  I have searched the internet and tried all sorts of things and I still have a mac with a now correct contact list (after the iPad contacts scrambled it and I spent ages manually correcting them all) and a phone with an outdated contact list.  If you try and sync them the phone wants to overwrite the computer one just like the iPad did (would it be so **** hard to give you a choice on the phone as to which overwrites which!).  After all the  advice on the internet failed, I got the bright idea to completely delete all the ones on the phone and if it was empty of contacts the computer one could be exported to it.  Not as simple as it sounds.  First I backed up (I think) my computer contacts list. Numerous futile attempts to go through the phone options to globally delete all contacts did not work - they gave a warning message and you got to choose whether to continue or not, I did, and it looked like it might be working as it changed to zero data on the phone, but then they all popped back up again from God knows where from, but without their little added bits like pictures of the people.  So, I tried un- syncing the darn phone from  google and then deleting them globally.  That didn't work either.  I tried deleting them  all again and again and google would crash and not let me do it. It is absolutely ridiculous that this is so damned difficult to do (especially if you are not computer savvy) and that you cannot choose which device overwrites which when syncing. I gave up and ticked sync with Google again (not that it appears to do anything to the phone contact list at all).  So after 5 hours I am back to where I started from, with a phone showing all the same  incorrect contacts (but the pictures are back), which wants to overwrite the computer if I try any sort of sync, and no way to fix them except go into each one manually and try and do it - and how long would that take (and I've already wasted hours and hours fixing scrambled contact lists!).  I think I will do a print out of the computer contact list and just carry it around with me like an address book - so much bloody simpler.  So now I have a headache, am fighting an overwhelming urge to hurl the phone at the wall,  hoping for a heat wave to evaporate icloud things and am wishing I had bought an iPhone instead of the stupid HTC Android.  Can any one offer me any suggestions on how to get rid of the contacts on my phone and replace them with the ones in my mac address list - hopefully after that  they can sync to their hearts content and not stuff everything up again (which was why I unsynced google a while back - because the phone's list kept making stuff ups and scrambling and duplicating my computer contacts list).  Am I the only one on the planet having this problem or is there someone else out there who has had it and solved it.

    Without "pretending" to be yourself on the other phone (change settings) there's nothing else you can do.
    iOS devices are meant to be single user and can't view iCloud.com the same way a Mac or PC can do.
    You need to find a desktop or laptop machine (Mac or PC) to log in at iCloud.

  • I want to reserve a static IP address on my Airport extreme.  What is the difference between reserving by MAC Address and DHCP Client ID?

    I want to understand the differences in the way you can reserve a static address for a device on the network.  I had previously set the device itself to an address and then reserved it with DHCP Client ID, which I thought was just the devices static addresss.  I'm not sure if this was in fact correct or just happend to work.  I know what a MAC address is, but I'm not really sure what the DHCP Client ID is. So it would be great if someone could clarify it, and the difference between reserving address by MAC Address or DHCP Client ID.

    A MAC address is a unique identification consisting of letters and numbers in a form that looks like this:
    xx:xx:xx:xx:xx:xx
    Every network device has a MAC address, which can be found on a label on the bottom or back of the device. Apple calls this the Ethernet ID.
    A DHCP Client ID is an optional name that you can assign to a device. For example, on your Mac....
    Open System Preferences (gear icon on the dock)
    Open Network
    Click on Ethernet
    Click Advanced at the lower right
    You may be able to edit the DHCP Client  ID here....for example.....you could enter MJ500's MacBook in the space provided. That would be the Client ID of your Mac.

  • I have two .mac addresses; how does this work in iCloud?

    This is not about consolidating Apple ID's... I think.
    When I got my first .mac address, I thought I picked a good one at the time. Later on, due to the peculiar spelling, I opted for an additonal (paid) address which I use every day. Now the first one (which is an Apple ID) contains my calendars, contacts, etc. I never use the email portion of it, again because of challenging spelling. The second .mac address (also an Apple ID) is an email only account. This is the email account I use daily.
    When I make the transition to iCloud, I intend to keep my original AppleID (from the pre-.mac days) as my iTunes store ID.
    My question is, what happens with my two other accounts?
    .mac #1 with the contacts and such would move to iCloud and sync everything there as it currently does with MobileMe. Since .mac #2 is an email only account, would I even need to bother moving it to iCloud (if that's even possible), or would I just keep using that as email only using the current mail settings on my iThingys and Mac? Does anyone know if .mac #2 will live on after MobileMe vanishes, or will I loose my daily and coveted .mac email at that time?
    I'm sure Apple has a good reason for not allowing us to just consolidate everything in one place, but I know there are many out there with a similar situation to mine.
    I've spent a good deal of time tonight searching the various threads and can't seem to find an answer to the two .mac email dilemma. My appologies if it's already been discussed.
    To sum up, I have one Apple ID that I use for iTunes and intend to keep as such. I have two .mac addresses which are also Apple ID's; one that syncs with MobileMe and one that is email only. I would like to use iCloud to sync what is currently on MobileMe, AND continue to use the simpler email address that I've been using for years.
    Am I screwed??
    Thanks in advance for your help, and Happy Holidays to all!!

    Migrate the account which contains your calendars, contacts etc. first, at http://me.com/move and set it up on your Mac and devices.
    http://www.apple.com/icloud/setup/mac.html
    Now migrate the email-only account in the same way. On a Mac you can add it in System Preferences>Mail, Contacts & Calendars - it won't sync anything but will be added to the accounts in Mail where you can then use the email in the normal way.
    I don't know what the equivalent process on an iOS device is; very likely you need to add it as an account in the Mail app.

  • How to find a workstation object by ip or mac address?

    Hi gang.
    I'm trying to search for a workstation object by mac address or by IP
    address. So far, I'm not able to find the correct attributes to do so.
    Can anybody point me in the right direction to find a workstation by either
    IP or mac?
    thanks!
    John

    [email protected] wrote:
    >
    > Hi gang.
    >
    > I'm trying to search for a workstation object by mac address or by IP
    > address. So far, I'm not able to find the correct attributes to do so.
    >
    > Can anybody point me in the right direction to find a workstation by either
    > IP or mac?
    In ConsoleOne find, advanced, look for ZEN:INV IP Address attribute
    -sk

  • How do I add my phone's Wi-Fi Mac address to my home server so that I can use my home Wi-Fi with my phone?

    Hello. I am using an Android cell phone and, though the phone sees my home server name and accepts my password, it won't connect. I understand that I may have to add my phone's Wi-Fi Mac address to my home server in order for it to allow my phone access, but I have no idea how I might do that. Could someone help me with this? Thank you.

    Tdalso wrote:
    How do I add a phone number so I can use either my US or Canadian number (depending on where I am) with iMessage and Facetime on both my iPhones?
    You need to log out of iMessage and Facetime, make sure your number is correct in Settings/General/About, then log back in again to send a new activation request.

  • I need to change the MAC Address for Airport on MacBook

    I have a specific need to change my son's Airport MAC address as his school requires the use of USB network cards that aren't compatible with MACs. These cards are needed because the school's router uses MAC address filtering.
    Before we upgraded his Mac to Snow Leopard, we were able to change the MAC address to the MAC address of the useless dongal the school supplied. We basically created an AppleScript program that ran the "sudo ifconfig en1 ether xx:xx:xx:xx:xx:xx" and all was good.
    This command no longer works for changing the MAC address. We tried it as root user as well and by typing it into the terminal window as root. After running the command, we can run "ifconfig en1" and it does display the new mac address but when we turn the airport on and try to connect, it just hangs and won't connect.
    Our other non-Snow Leopard still works fine after running the commands so I'm guessing Apple disabled this functionality. It's hardly a security issue by being able to change your mac addres.
    Is there a new way to accomplish this? I've searched everywhere.
    Thanks!

    Would an easier solution be to provide the school's IT admin with your mac address and have it added? If they can add a block of mac addresses for the usb dongles, they can add more for machines that cannot use the dongle.
    Also: "It's hardly a security issue by being able to change your mac address."
    While it may not be a security issue for your machine, it is a security for the school network who is using mac address filtering as hopefully only one part of their wireless security.
    That being said, have you read this?
    http://osxdaily.com/2008/01/17/how-to-spoof-your-mac-address-in-mac-os-x/

  • How to connect apple TV when im in hotel without giving my mac address

    i got my apple tv with me cause i live in hotel but the only way to connected to internet if I give them my mac address therefore if i give my mac address to customer service wont they be able to access all my info and my mobile when connected or pictures and video

    Hotel networks require authentication via webpage, there is no browser on Apple TV so it won't be possible to connect this way. The only way will be to give the mac address, it would be for connecting to the Apple TV. No info will be accessed.

  • Do I need to add Base Station MAC address to list?

    Hi, If I choose to use MAC address filtering on my Airport Extreme Time Capsule, do I need to add the wireless MAC address of the Base Station to the list of allowed MAC addresses???  I'd feel real bad if I set up a list, didn't include the base station's MAC address and then could never get in to the network again because I, in effect, locked myself out???  I doubt that address needs to be included but I would like some feedback on that.
    Second, does the one MAC address filter list apply to the Guest Network as well if I should choose to turn it on???  If that was the case, I would just turn off MAC address filtering why guests were present.
    thanks..  bob

    If I choose to use MAC address filtering on my Airport Extreme Time Capsule, do I need to add the wireless MAC address of the Base Station to the list of allowed MAC addresses???
    No. Timed Access would be for wireless devices....computers, mobile devices, printer, etc., that are connecting to the Time Capsule. The Time Capsule does not connect to itself in this regard.
    I'd feel real bad if I set up a list, didn't include the base station's MAC address and then could never get in to the network again because I, in effect, locked myself out???
    Sometimes, users lock themselves out by mistake by entering incorrect times for devices to connect, and they often forget that they can connect to the base station using an Ethernet connection and get back in that way.....since Timed Access only applies to devices that connect using wireless.
    does the one MAC address filter list apply to the Guest Network as well if I should choose to turn it on???
    Yes

  • Spanning Tree and Admin mac address issues srw2048

    Ok, I have a somewhat complex problem and hopefully someone may shed some light or have an idea as to whats wrong.
    First the scenario:
    I have two Cisco Cat 6509's etherchanneled to each other via two fiber cables.  One of these is the STP/RSTP root.  I have two SRW2048's.. one trunked to each of these 6509 switches.  There is also a trunk between the SRW2048's.  All this is to create a redundant topology so that if one of the switches fail's the others can still forward packets to each other.  Of course the scenario described is in fact a loop that should be handled by STP/RSTP.  I have RSTP enabled on all the switches in the scenario (PV RSTP on the cisco switches as they only do Cisco's brand of per vlan spanning tree).  There are 3 vlan's configured on each of the srw2048's (2,55,96).  There are corresponding vlan's also on the 6509's.  I have put the srw2048's management interface into vlan 2.
    The problem:
    I need to forward packets between the srw2048's primarily and only use the 6509 that is not the root when a failure happens.  I have configured the non-root 6509's spanning tree cost on the etherchannel to be higher then the alternate path through the srw's to the root.  I can hook everything up and view the spanning tree and see that the srw2048's interface that goes to the non-root 6509 is blocked, and all other interfaces on the other switches are forwarding.  I can in fact ping and get to the admin interface on all the switches.  Then for some strange reason the admin interface of the srw2048 plugged into the non-root 6509 stops responding.  If I disable either the interface its plugged into on the 6509 or the other srw2048 everything starts working again.  Sometimes it responds after many failures for no apparent reason.  I looked into the mac-address table on the 6509's and they are conflicting, pointing to each other for the mac-address of the broken srw2048.  When I clear the mac-table the admin port comes back for about 5 seconds then again goes dark.  When reviewing mac-table on the 6509's they are back to pointing to each other.  The odd thing (although I haven't confirmed this completely) is that hosts placed into vlan 2 on that same srw2048 seem to work fine.  If there was an STP loop or something misconfigured, I would expect it to effect any host in vlan 2 or the other vlan's for that matter on the srw2048 that stops responding.  Alas, I am stuck because I need to manage this switch remotely.  My only thought is that for some reason even when the STP status is blocked the broken srw2048 is still sending out arp's of its admin interface and bypassing the STP protocol.  I have no way to confirm this, but maybe someone has an idea as to what I'm doing wrong, or otherwise offer a solution.  For now, I simply removed vlan 2 from the 6509 that the broken srw2048 is plugged into and everything seems fine.
    My apologies for such a long post, but this is somewhat complicated.  Thanks in advance for any info.
    -Geoff
    Message Edited by gmyers on 08-19-2008 10:35 PM

    To follow up, I had a ticket open with Linksys about this for about 3 months with no resolution.  I submitted packet captures, stp outputs, etc and no luck.  I gave up and basically had to revert to a manual failover for redundancy.  It's no perfect or fast, but it works every time.
    Unless linksys issues a firmware upgrade with this as a fix, I doubt we will be able to ever resolve this on our own.

Maybe you are looking for