Any script to let me find out which Cisco switches have RSA key less than 800 bit?

Hi,
Imagine I have 500 Cisco switches (2950, 3750, 4507), IOS 12.3 but some may have different IOS level.
I know that some of these switches got 'cry key gen rsa' key size = 512.
I need to have key size = 800 bit.
We do not have Cisco Works in place. Someone in my organization tells me that I would need all these switches at 800 bit otherwise CiscoWorks can't login to it. Does that make sense? I am not sure if I understand that correctly.
Question:
If it is true that CiscoWorks can't access such switches and let me change that setting automatically, do you know any script which I could use to let me run against a list of IP addresses and query the switches to find out where RSA key is 800 bits? If it is not 800 bit, I would like to log a message so that I could go manually to the switch to re-execute 'cry key gen rsa' and do 800 bit instead.

IOS 12.3 doesn't run on any of these switches.
LMS can login to switches with an RSA modulus of 512 bits.  It will just use SSHv1 instead of v2.  I do not know of any pre-built scripts to change the modulus size; however, it would be relatively trivial to do with expect.  You could deploy one command to avoid the interactivity:
crypto key generate rsa gen mod 800

Similar Messages

  • Cannot find out which subscription I have cannot c...

    Please help me as I have about a subscription which is not working but I cannot find any description of which subscription it actually is!!! - in account settings - in order history!!  It just says " subscription $16 credit" no other information. I cannot find out which countries I can ring all I am trying to do is call the UK from Australia and both mobile and landline drops out immediately, when I call the landline IT COMES UP AS CALLING MOBILE - BUT I AM NOT CALLING THE MOBILE NUMBER!  This is an extremely frustrating service.  I am also very annoyed that my credit is dwindling away and now down to $13 and I have not made any calls????

    Your case, you get an instance:
    public void myMethod(Super obj) {
      // obj is suposed to be a SubA or SubB instance
      // both derived from Super
      // using instanceof...
      if(obj instanceof SubA)
      else if(obj instanceof SubB)

  • HT1420 How do I find out which 5 computers have been authorized?

    How do I find out which 5 ccomputers are authorised so I can deauthorise one?

    1. Open itunes store and scroll to the bottom.
    2. You will see Manage under this please click Account. This will now pop up a box asking you to sign in again.
    3. Then under itunes in the Cloud the first thing you see is manage devices.
    4. Click  manage devices and it will show you everything you have got and it gives you the option to remove and then click done, once done.

  • How do I find out which computers I have activated on iTunes?

    I am trying to activtate my laptop on iTunes and it keeps telling me that I already have 5 computers activated.  I checked my old laptop and it says it is not activated.
    So, how do I find out which computers are activated? How do I take the old ones off the activation list if I no longer own them? I no longer have the HP Vectra computer listed below.

    You cannot identify them. However you can deauthorise them all and then reauthorise the ones you need.
    To Deauthorise all
    go to Itunes Store Select Account from the Quik links section
    Use the Deauthorise all button
    To reauthorise a machine
    Store > Authorise this computer.. in the Top Menu (You may need Ctrl B to see it in windows)

  • How do I find out which Windows I have?

    I am trying to download iTunes to my laptop. I have Windows, but I don't know which one I have, therefore,  iTunes is not installing. I just need to know what I need to do to update my laptops software to download iTunes so I can stop listening to the radio while I'm in the car! I am NOT computer savy...so, someone help a sistaaa out =) Appreciate it!

    Click here http://windows.microsoft.com/en-gb/windows/which-operating-system
    tt2

  • How do I find out which model I have?

    Please forgive my ignorance. I am here to learn.
    My motherboard has P6NGM stamped in it but to get support, I need to know which letters follow those -- and I don't know how to find that information.
    The bigger problem -- and the one I need to solve -- is that a trojan has found its way into my BIOS. I put the infected HD off line and I tried to install a brand new HD, but I got a warning that there was a virus and did I want to continue the process. Well, no. I don't need another infected hard drive.
    I think that if I remove the CMOS battery for a few hours it the chip will reset to factory default and the trojan will go away, but then I will need to flash the BIOS. That is where knowing which version of the motherboard comes in. I can't download the right BIOS if I don't know what model of motherboard I have.
    Please help! This problem is driving me crazy.

    Quote
    The notice appeared onscreen. I decided I'd start over with a new, clean drive and when I went to partition and format it, a notice appeared onscreen telling me I had a virus and asking me if I wanted to continue. It was the strangest thing, sine no functional hard drive was attached at that time.
    When you partition/format a hard drive, the boot sector of that hard drive is rewritten.  In BIOS-Setup, under "Advanced BIOS Features" there is in option called "Boot Sector Protection", which (when enabled) will put out a potential virus warning when there is write access to the hard drives's boot sector.  This option was enabled when you initially formated your drive and it was disabled when you did this:
    Quote
    I unplugged the computer, took the battery out and left it out overnight to reset the CMOS. Then I put it back together, and entered date, time, etc.
    You never had a virus problem. 

  • How do I find out which plan I have in Forms Central?

    The title says it all.

    if you're wondering what specific phone model you have which is what I was wondering (couldnt work out if I had 5,1 or 5,2) try this then
    enter the last 3 digits of your serial number and load the page
    http://www.everymac.com/ultimate-mac-lookup/?search_keywords=
    for example= TYA

  • PSE 9 Updates - How do I find out which ones I have and which ones I need to download?

    I'm accustomed to being notified of updates automatically, which means I forget to check for the ones that don't send notifications (PSE 9). I looked through the list of updates, but don't know where to start because I don't know which ones have already been installed. They appear to be separate patches so I'm assuming (incorrectly perhaps) that downloading the most recent one won't include the previous patches. I'm not a technically savvy person so I don't like to jump into these things without some idea of where I am or should be going. I have a "Murphy's Law" problem - anything that can go wrong usually does in my experience.

    If you download the most recent ones, it doesn't matter if you've missed any previous ones.

  • How to find out which subclass I have in my hand

    If I have a superclass "Super" with two subclasses "SubA" and "SubB", and I have an instance of "Super" in my hand, how do I figure out wether it is a "SubA" or a "SubB" instance?
    /S�ren

    Your case, you get an instance:
    public void myMethod(Super obj) {
      // obj is suposed to be a SubA or SubB instance
      // both derived from Super
      // using instanceof...
      if(obj instanceof SubA)
      else if(obj instanceof SubB)

  • How can I find out which apps I have in the cloud

    I bought a new 5s and have been downloading apps I had previously on my 4s. When I search for apps I already had, there is a cloud icon when the "buy" icon usually is, and I am able to download them with ease. However, I know there are many more apps I that I had whose names escape me. How can I see a list of which apps are available in the cloud so I can pick and choose which ones I want to download again, rather than racking my brain trying to remember all of the apps I previously had?

    Hello sundayss,
    The following article provides steps for downloading your past purchases from, not only the App Store, but also the iTunes Store.
    Downloading past purchases from the iTunes Store, App Store, and iBooks Store
    http://support.apple.com/kb/HT2519
    Cheers,
    Allen

  • How to find out which abap queries were executed by a user

    Dear SAP Gurus,
    Is there a way to find out which abap queries were executed by an end user in the recent past??
    1.I tried using the t-code "stat" BUT:
    dont seem to be getting any results even though I put the start time almost 2 months back.
    2.Also when using STAT, I give the report name of the query in the program field but it seems to truncate it.
    Any ideas how can I find out which abap queries were executed by the end user.
    thanks a lot, I'll make sure to award points for your help.

    STAT will give you the information for a limited period of time and is limited to the server which you are logged onto yourself. Beyond 24 hours it is of even less use even if you change the selection screen values.
    If you want it for a period way back into the past, then you need to use ST03N.
    There are at least 2 dependencies and 1 confusion:
    1 dependency) The length of period is determined by the size (length) of the file. You can change this in ST03N (default 50MB) via the menu settings.
    2 dependency) The stat collector jobs need to be scheduled to write the information to ST03N (once per hour is a legal requirement in some non-banana republic countries).
    1 confusion) There is an obscure function which converts a report submit to a transaction name (there is not much difference anyway) and an even more obsure one which filters what ST03N will record and therefore whether you can read it. You can (un)filter these things away if you search the SAP Marketplace for the term "MONI".
    What is of particular value from this control is that you can even detect a submission of an abap which only existed temporarily.
    Also note that having this information is potentially very powerfull with respect to the users (some of them are human too), so you should expose and use it responsibly.
    You should also ensure that only responsible users / auditors have access to S_TOOLS_EX.

  • How to find out which formulas have been used in sales orders of a period

    Hi Experts,
    I am trying to find out how much my users actually use the formula and average pricing. Therefore, I am trying to build a quick viewer by relating tables. In order to use the F&A pricing, they use one particular condition type ZFA1. By linking tables vbak and KONV via KNUMV, I can see in which orders they have used ZFA1, but I also want to find out which Formula they have chosen from the repository. As this is visible for the user from the sales order, there should be a table that stores it, but I cannot find it. Does someone know the table and can help me on this topic?
    If you provide the solution, I will definitely give you the reward points. Thank you in advance!
    Greetings
    Petra

    Hi Petra,
    Please try to check the table OICQ7 with KNUMV from VBAK.
    KR,
    Sergey

  • How do I find out how long I have left on my contr...

    My speed has dropped from 16MBS to 6MBS in the matter of a week and the homehubv2 constantly drops wireless connections, and after 5 or so years off BT BB i've finally had enough.
    Is there any way at all to find out how long I have left without phoning India?

    Hi furryvision and welcome
    Help is available if you want it. It's up to you.
    If you do then post a set of ADSL stats and the results from http://speedtester.bt.com/ - that's for the speed issue
    Install inSSIDer and run it. Try to find a less congested channel - that's for the wireless issue
    When I asked for confirmation as to when my contracts finished, I sent an email.
    Dialling 150 from a BT landline should go to a UK call centre.
    If you want it in writing, send an email it to [email protected] with your name, account number, phone number and a link back to this thread.
    -+-No longer a forum member-+-

  • How to find out which lists are using email enabled feature in my SP 2010? Any script? Anything else?

    Hi there,
    How to find out which lists are email enabled in my SP 2010?
    Any script? Anything else?
    Thank you.

    Hi frob,
    check this script that is stated on this link
    $SPwebApp = Get-SPWebApplication "http://migration.Company.com"
    <# If it is MOSS 2007, You can use:
    $SPWebApp = [Microsoft.SharePoint.Administration.SPWebApplication]::Lookup(http://sharepoint.com)
    To get SPWebApplication Object
    #>
    #create a CSV file
    "E-Mail,List,Site" > "EMail-Enabled.txt" #Write the Headers in to a text file
    foreach ($SPsite in $SPwebApp.Sites) # get the collection of site collections
    foreach($SPweb in $SPsite.AllWebs) # get the collection of sub sites
    foreach ($SPList list in $SPweb.Lists)
    if ( ($splist.CanReceiveEmail) -and ($SPlist.EmailAlias) )
    # WRITE-HOST "E-Mail -" $SPList.EmailAlias "is configured for the list "$SPlist.Title "in "$SPweb.Url
    $SPList.EmailAlias + "," + $SPlist.Title +"," + $SPweb.Url >> EMail-Enabled.txt #append the data
    http://www.sharepointdiary.com/2011/06/find-all-incoming-email-enabled-lists.html
    Kind Regards, John Naguib Technical Consultant/Architect MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation. Please remember to mark the reply as answer if it helps.

  • How to find out which URL Category (many) URLs belong to - via script

    Hi,
    It's about AsyncOS7.5 on WSA S360.
    After implementing URL Filtering I have following problem:
    If I'd like to access amazon.de for example, there are plenty of other Web Pages  referenced too.
    Some of them belong to allowed URL Categories and others to forbiden ones which makes the visited URL
    not show up properly.
    Since some times there are about 15 URLs affected I don't like to test each of them with the Policy Tracer
    in order to find out which ones are allowed and care for the others.
    Instead I thought of using a command or a script with a list of  URLs  for a much faster solution.
    Is there any such posibility?
    Thanks
    Jannis

    Hi Jannis,
    If you only would like to find the category of multiple URLs in one go so you can then compare to your policy (so you know which one is allowed and which one is blocked), you can use this portal (Cisco CCO ID is required to log in).
    https://securityhub.cisco.com/web/submit_urls
    Under Lookup or Submit URLs tab you can enter multiple URLs  and select the AsyncOS version to get their categorizations.
    On the scripting side, maybe it can be done outside the WSA so your client will send the request of the multiple URLs to the WSA and WSA returns their categories (with block page or response from WSA).
    Perhaps a scripting master here can add more information to your query.
    Thanks,
    Donny

Maybe you are looking for