SNMP How to get number of learned MAC addresses on Switch interface

There is nice c2900PortNumberOfLearnedAddresses table in C2900-MIB, but it's outdated and not supported by modern switches.
Is there similar table for modern switches? Most interested in Catalyst 2960 and 3750.
Fetching whole forwarding table is not a good idea.

Following guide should help you with this:
http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a0080094a9b.shtml
http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a00801c9199.shtml
-Thanks

Similar Messages

  • Fails to learn mac address on Fiber interface with ISP

    Hi,
    We have a problem to bring a new 3750 switch interface up with the ISP.
    Current interface configuration on the router 7500 with SC/Single mode 1000 Base LX is
    interface GigabitEthernet4/0/0
    description ###### ISP #######
    ip address 1.1.1.2 255.255.255.252
    no ip redirects
    no ip unreachables
    load-interval 30
    no negotiation auto
    no cdp enable
    end
    works perfectly fine.
    we are trying to move this link to a Cisco 3750G on SFP single mode 1000 baase LX with the same configuration as below
    interface GigabitEthernet1/0/51
    no switchport
    ip address 1.1.1.2 255.255.255.252
    load-interval 30
    no ip redirects
    no ip unreachables
    no cdp enable
    speed nonegotiate
    we dont get any errors on the link but it fails to learn the mac address from the isp.
    checked the following.
    1. tried changing the SFP and the fiber.
    2. checked internally connecting back to back with another cisco device - works fine .
    3. checked with the isp for any static arp on their side and it is a no.
    I am wondering why it fails to learn the mac-address when it can self ping its own ip address and also the layer stays up with no errors on both the sides.
    Thanks

    Doesn't feel like a fiber/optical issue but a configuration mismatch on one of the end devices.

  • How to get number of rows return in SELECT query

    i'm very new in java, i have a question:
    - How to get number of rows return in SELECT query?
    (i use SQL Server 2000 Driver for JDBC and everything are done, i only want to know problems above)
    Thanks.

    make the result set scroll insensitve, do rs.last(), get the row num, and call rs.beforeFirst(), then you can process the result set like you currently do.
             String sql = "select * from testing";
             PreparedStatement ps =
              con.prepareStatement(sql,ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
             ResultSet rs = ps.executeQuery();
             rs.last();
             System.out.println("Row count = " + rs.getRow());
             rs.beforeFirst();~Tim
    NOTE: Ugly, but does the trick.

  • How to get number of digits in given amount

    Hi Experts,
    How to get number of digits in given amount.
    Regards
    Mohit

    Check this :
    data: v_data1 type p decimals 3 value '12.860',
          v_char1 type char20,
          v_char2 type char20,
          v_char3 type char20,
          len type i.
    write v_data1 to v_char1.
    split v_char1 at '.' into v_char2 v_char3.
    len = strlen( v_char3 ).
    write:/ v_char2,
          / v_char3, " this holds the digit value
          / len.     " number digits

  • How to get mackeeper off my mac?

    How to get mackeeper off my mac?

    A
    "MacKeeper" is a scam with only one useful feature: it deletes itself.
    First, back up all data.
    Note: These instructions apply to the version of the product that I downloaded and tested in early 2012. I can't be sure that they apply to other versions.
    If you have incompletely removed MacKeeper—for example, by dragging the application to the Trash and immediately emptying—then you'll have to reinstall it and start over.
    IMPORTANT: "MacKeeper" has what the developer calls an “encryption” feature. In my tests, I didn't try to verify what this feature really does. If you used it to “encrypt” any of your files, “decrypt” them before you uninstall, or (preferably) restore the files from backups made before they were “encrypted.” As the developer is not trustworthy, you should assume that the "decrypted" files are corrupt unless proven otherwise.
    In the Finder, select
              Go ▹ Applications
    from the menu bar, or press the key combination shift-command-A. The "MacKeeper" application is in the folder that opens. Quit it if it's running, then drag it to the Trash. You'll be prompted for your login password. Click the Uninstall MacKeeper button in the dialog that appears. All the other functional components of the software will be deleted. Restart the computer and empty the Trash.
    ☞ Quit MacKeeper before dragging it to the Trash.
    ☞ Let MacKeeper delete its other components before you empty the Trash.
    ☞ Don't try to drag MacKeeper from the Dock or the Launchpad to the Trash.
    ☞ Don't try to remove MacKeeper while running in safe mode.
    B
    If you see popup ads for MacKeeper on websites where you haven't seen them before, see below.
    You may have installed one or more of the common types of ad-injection malware. Follow the instructions on this Apple Support page to remove it. It's been reported that some variants of the "VSearch" malware block access to the page. If that happens, start in safe mode by holding down the shift key at the startup chime, then try again.
    Back up all data before making any changes.
    One of the steps in the article is to remove malicious Safari extensions. Do the equivalent in the Chrome and Firefox browsers, if you use either of those. If Safari crashes on launch, skip that step and come back to it after you've done everything else.
    If you don't find any of the files or extensions listed, or if removing them doesn't stop the ad injection, ask for further instructions.
    Make sure you don't repeat the mistake that led you to install the malware. It may have come from an Internet cesspit such as "Softonic" or "CNET Download." Never visit either of those sites again. You might also have downloaded it from an ad in a page on some other site. The ad would probably have included a large green button labeled "Download" or "Download Now" in white letters. The button is designed to confuse people who intend to download something else on the same page. If you ever download a file that isn't obviously what you expected, delete it immediately.
    Malware is also found on websites that traffic in pirated content such as video. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect more of the same, and worse, to follow. Never install any software that you downloaded from a bittorrent, or that was downloaded by someone else from an unknown source.
    In the Security & Privacy pane of System Preferences, select the General tab. The radio button marked Anywhere  should not be selected. If it is, click the lock icon to unlock the settings, then select one of the other buttons. After that, don't ignore a warning that you are about to run or install an application from an unknown developer.
    Still in System Preferences, open the App Store or Software Update pane and check the box marked
              Install system data files and security updates (OS X 10.10 or later)
    or
              Download updates automatically (OS X 10.9 or earlier)
    if it's not already checked.

  • How to get facetime on my mac?

    how to get facetime on my mac?

    Hi alexarndt29,
    If you are having issues with FaceTime on your Mac, you may find the following article helpful:
    FaceTime for Mac: Troubleshooting FaceTime
    http://support.apple.com/kb/ts4185
    Regards,
    - Brenden

  • I bought a movie on iTunes Store on iPad, but now I don't know how to get it on my mac.

    I bought the Percy Jackson Double Feature (SD) on the iTunes store on my iPad, but I have no idea how to get it on my mac.

    Hello MaxGen,
    There are two simple options for getting this album into iTunes on your computer. One would be to transfer purchases from your iPad. Alternatively, purchases can be redownloaded directly from the iTunes Store.
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer
    http://support.apple.com/kb/HT1848
    Downloading past purchases from the iTunes Store, App Store, and iBooks Store
    http://support.apple.com/kb/HT2519
    Cheers,
    Allen

  • How i get number of record in repet frame?

    Hi,
    How i get number of record in repet frame?
    Regards
    Jomar

    Jomar,
    you can use Summary Columns in the Data Modell. Create them on group higher that your wished group (so on the pane for an first group of a query), use as Source the primary column and as reset at the group, where the summary column is located.
    If you hide some instances via format triggers, that you could use a counter inside the format triggers to count the rows.
    Regards
    Rainer

  • Switch learning mac addresses

    In a video that I watched a few days ago someone explained a basic process of booting up a switch and how a switch learns mac addresses. He said something that I would like to discuss. I know... it is not important but want to clarify :)
    PC1---SW1----PC2
    PC1 wants to send sth to PC2. In the video it was said:
    'a frame arrives at SW1 and SW1 learns the mac address of pc1 but it does not know the mac address of pc2 so it will flood this frame to all ports'
    My uderstanding is that it all starts with an arp message: pc1 does not know the mac address and sends an arp and it will allow the switch to learn both mac addresses: pc1 and pc2. I am too lazy to do it in wireshark but did that in PT and that's what I saw as well. After the arp - switch learnt both macs and did not flood the frame.
    Am I correct? I know it is not important but... ;-)

    It may be possible that there was some aspect of the switch environment in the video that would change the behavior (perhaps something like a long timer for the ARP cache in the PC and a short MAC ageing timer on the switch). But in general you are correct. PC1 would send an ARP request as a broadcast, the switch would learn the MAC of PC1 and forward the ARP request. When PC2 sends its response to the ARP request the switch would learn the MAC of PC2 and forward the ARP response. So the switch should have both MAC addresses when data traffic begins to flow.
    HTH
    Rick

  • How can i use my ipod mac address to find it?

    simply put, i left my ipod at work. they missplaced it, now i need to locate it... p.s. its only a 3rd gen 32 gig so its not ios 7 campatible ,icloud only works if you have the device and download cloud on to it(and icloud is turned on).....not looking for opinions just looking for options such as: how can i use my ipod mac address to find it?       i do have the mac address

    You cannot.
    If you did not set up find my pod on the iPod itself, then it cannot be tracked.
    Sorry

  • How to specify in the ISE mac-address with its description?

    Hello :-)
    I want to implement ISE 1.2.
    We have a database of mac-addresses and their description (for example the phone with the Mac address, John).
    When connecting the phone John to a wifi network, WLC checks its mac-address in the database and allows access.
    How to specify in the ISE Mac address with its description?
    In the endpoint settings in ISE 1.2 there is no description field. We have ISE1.2.1.198, vWLC 8.0.100, AIR-LAP1131, MS AD (Win2003).
    How can I handle this situation? Any ideas?

    This link http://www.cisco.com/c/en/us/td/docs/security/ise/1-2/user_guide/ise_user_guide/ise_man_network_devices.html about managing network devices(router,switch), not endpoints(phone, notebook).

  • How to get or change the ip address of MAXDB database node ?

    Good morning,
    I am having a problem configuring a sap server that is running on a SUSE enterprise linux VMWARE image, the image itself is delivered paused with the server running already but when i shut it down to change hardware configuration and then restart it, the sap server doesnt start, the startsap command gives the error "DB startup failed" i traced the  startdb.log file and found that it "failed to connect to server socket" after more searching i found out that it is possible that the ip defined in the /etc/hosts file for my node is getting changed after restart since i am able to start the database itself using dbmcli command the problem is still connecting to the node, i would like to know how to get the newly assigned ip address for the node so i can put it in the hosts file or a way to keep its ip static between restarts of the OS, any help is appreciated.

    Hi,
    This is SAP Business one system administration forum. Please find correct forum and re-post your discussion to get quick reply.
    Please close this thread by marking helpful answer.
    Thanks & Regards,
    Nagarajan

  • How to set the IP and MAC address in C program?

    My working environment is Sun250 Server, Solaris 7 operating system. I encountered a problem ---- How to set the IP and MAC address in C program to make the system change it IP & MAC at runtime?
    Any idea is welcome! Thanks!

    Hi
    As a simplest possible solution, you can use the system command
    to run ifconfig that can set both the mac address and the IP address of the system. You will have to use setuid though.
    Or you can use the DLPI calls ( do a man DLPI or search for a
    Sun documentation on the same at http://soldc.sun.com) to write
    a pure C program.
    HTH
    Shridhar

  • WLC - How to block a single client MAC address?

    Hi Sir,
    On a WLC (software version 4.1.185.0), how to block a single client MAC address?
    I thought of using the SECURITY -> Disabled Clients. Is it right?
    There are currently 250 users connected to the WLC. MAC Filtering is not a scalable solution because as I understand it, we have to specify all the legitimate MAC addresses in the local database.
    Thank you.
    B.Rgds,
    Lim TS

    Hi Lim,
    As you have discovered, the Mac filtering on the WLC is an Allow (based on Mac address) rather than what you need which is a Deny (based on Mac address). I have not tried this feature but I think you are on the right track in using the Exclusion List (Blacklist) feature. Have a look;
    Use SECURITY > AAA > Disabled Client then click New or MONITOR > Clients then click Disable to navigate to this page.
    This page allows you to manually Exclusion List (blacklist) a client by MAC address.
    Add the MAC Address and an optional Client Description for the client to be disabled.
    Note When you enter a client MAC address to be disabled, the Operating System checks that the MAC address is not one of the known Local Net clients ( Local Net Users), Authorized clients ( MAC Filtering), or Local Management users ( Local Management Users) MAC addresses. If the entered MAC address is on one of these three lists, the Operating System does not allow the MAC address to be manually disabled.
    Hope this helps! Let us know.
    Rob

  • How to get the remote user IP address if behind the proxy or firewall

    Hi
    How do i get the remote user Ip address who is invoking the servlet behind from a firewall.
    When i use getRemoteHostAddr it gives the proxy ip address not the actuall user host address... Kindly let me know how to get the actual user ip address
    satish

    There is no reliable way to determine the original IP, and such information is not useful to you if the original IP is behind a firewall. What do you propose to use it for? There is probably an alternative way to do things that does not require the remote IP.

Maybe you are looking for

  • Imessages not working properly

    My imessages are working fine on my iPhone. However, I am now unable to send and receive imessages through my Macbook Pro. It used to work fine before, but for the past week it has not been working properly. Anyone know why and how to fix it?

  • If you have Hibernate working on desktop pc

    Which method do you use? I built a new system few weeks ago so I'm ready to try again, but on old pc I tried using the Wiki and got as far as booting back in and having it fail at finding the swap drive, no matter the editing I did, leaving me with a

  • Java math library?

    Hi all, Does anyone know a java math-library which provides analysis stuff? I'd like to generate a function (approximation) which describes a curve. What I need is an implementation of Lagrange interpolation formula or Newton interpolation formula. G

  • Search Through Invoice option in Transaction tab in BOB webshop

    Hello Experts, We have the following requirment. -Search through Invoice option in transaction tab in BOB webshop. We understand that this would be through devlopment in ABAP/ Java. Isthere any otehrway to achieve this ? Pointers to this would be hel

  • Refresh problem with collection

    Hello, apologize my English, I have got problem with refresh collections. Follow: 1) I have got two classes which have got dependency together. 2) First class has got collection of objects from second class. 3) I call query "findXXX" which fill colle