Redirect Procurve’s output to TFTP Server

So last night I learned another Procurve command that’ll redirect the output and send it to the TFTP Server instead of the terminal client. I was hoping to use one of these days and little did I know I would get to use it as soon as I get to work today.

It just happened that I have a Procurve switch that crashed and rebooted itself multiple times. There were something odds about it so the logs need to be sent to the support staff so they can do their thing. Normally, I have my terminal clients logs all output to a file and just run Show Tech and Show Log commands then copy the files to an email. But like any other diagnostic commands, these can take a long time to run through and it’s so true when you get to enterprise line of products so I thought I’d try the command I learned last night.

Redirect Procurve’s command output directly to TFTP server:

SYNTAX:

Copy command-output “command string” tftp ipAddress dest-file-name

EXAMPLES:

Copy command-output “show tech” tftp 1.2.3.4 switchXYZ-showtech.log
Copy command-output “show log” tftp 1.2.3.4 switchXYZ-showlog.log

WHAT IT DOES:

Redirects the command output to a file then sends it to a TFTP Server.
Really handy when it comes to long running command like Show Tech or Show Log.

Note that for this to work, quotations are needed around the command for which you want to redirect the output and TFTP Server must be running (guess which TFTP Server I was running – That’s right, Pinkie!). Further more, there’s no feed back when you execute this. The only form of feedback is if you are to watch the TFTP file transfer request, you’ll see that an incoming request is initiated and the specified file appears in your TFTP folder.

Using the commands above, I was able to gather the logs in a fraction of the time that it normally takes if I was doing it the old fashion way – which is just run the Show Tech/Show Log and let the info scrolls through the screen.

Procurve’s Output redirection isn’t limited just these two aforementioned commands. You can redirect other’s command output too. Just remember to wrap the command around the quotation marks.

About Brian Dao

I am a former United States Paratrooper; served in the 504th Parachute Infantry Regiment of the 82nd Airborne Division back in the 90's. I've been working in the IT field for over 10 years and have had various positions to include database & server administration, web/desktop application programming and network admin. My current job is to keep the bits from falling out of the switches at Hewlett Packard. Pinkie is a software that I designed and programmed in the wee hours. It's been in the works for over three years during which time, plenty of skittles and cokes have been consumed.

Comments

  1. I think that what you published was very reasonable.
    However, think on this, what if you composed a catchier post title?

    I ain’t saying your content is not good., but what if you added a title
    to possibly get people’s attention? I mean Redirect Procurve's output to TFTP
    Server is a little boring. You should glance at Yahoo’s home page and note how they write post headlines to grab people to open the
    links. You might add a related video or a related pic or two to grab people interested about what you’ve got to say.
    Just my opinion, it might bring your posts a little bit more interesting.

  2. bukauser says:

    If some one desires to be updated with latest technologies
    then he must be pay a visit this website and be up to date all
    the time.

  3. Thanks for some other excellent article. The place
    else may just anyone get that kind of information in such a perfect method of writing?
    I’ve a presentation subsequent week, and I’m
    at the search for such information.

  4. Do you have any video of that? I’d care to find out some
    additional information.

  5. situs judi says:

    Can you tell us more about this? I’d like to find out some additional information.

  6. This post gives clear idea in support of the new
    people ⲟf blogging, that truly hοw to do running a blog.

  7. Fabulous, ѡhat a web site it іѕ! Ƭhiѕ blog provides helpful facts to uѕ, keep it uр.

  8. userbola says:

    There’s certainly a great deal to learn about this topic.
    I like all of the points you’ve made.

  9. mabosbet says:

    For anyone who like to perform gambling and when you are
    usually looking for partners inside gambling
    activities, Mabosbet is the right choice.
    Mabosbetransfer You can contact our own customer care and make transactions
    with us. Mabosbet livechat is available 24 hrs nonstop and is
    all set to serve you and help you online with wagering.

    Mabosbet. com as a new responsible gambling agent, all of us always provide an alternative link to
    mabosbet to ensure that members feel comfortable. You no longer require to have trouble obtaining
    an alternate Jababbet link with regard to access, it is currently available for you.

    We all also always give top priority to the safety regarding our members, very strict
    protecting all the privacy associated with members of Jababbet.

    Trusted Mabosbet From 2010

    Together with good praise, the support from the Headquarters will be no
    doubt. Friendly, quick response, under 3 minutes.

    Mabosbet is highly appreciated by gambling bettors from Indonesia because whatever triumph you get will be accepted
    by mabosvip. We constantly want to provide the perfect for
    members with maximum service. The site mabosmail. com
    can also be very simple to access, as you only require
    internet access and alternate links mabosvip, no
    want to use proxies, notifications, or troublesome applications.

    Of which is why many individuals join mabosbola and create
    deposits, then, win typically the match. The best plus quality alternative mabosbola alternate site.

    Come join mabosbet. com the trusted online gambling agent in Indonesia.
    Contact livechat mabosbet right now in the lower correct corner
    to get a new user ID. Welcome in order to the club.

    MABOSBET will be a Trusted Online Wagering Site that has already
    been established for more than 9 years with the biggest amount of online wagering
    players. This gambling site also provides the most satisfactory online gambling
    game together with the most popular wagering providers
    in Indonesia. Online Gambling Games that can be played at MABOSBET
    are Sportsbook Soccer Betting, Live Casino, Internet poker Credit card
    Gambling, Online Slot Betting and Online Togel.
    Mabosbet itself has provided a number of excellent facilities for internet gambling players in Indonesia which range from 24-hour Live Chat Assistance, Bonuses with the easiest conditions, additional wins regarding True Gambling
    Players.

    This MABOSBET Gambling Site likewise proves to
    get very trusted, while this Gambling Web site
    can also pay regarding any winning player with no deductions.
    So you may play gambling comfortably in addition to safely without fear
    of having to pay. In addition to the definite win at MABOSBET, you will also provide additional bonuses to offer a different experience
    actively playing online gambling.

    JOBI BALL OFFICIAL SBOBET ONLINE INSIDE INDONESIA
    Online Soccer Gambling has become a very popular online gambling game within Indonesia where every
    game has a market with regard to betting. MABOSBET is now a great official partner of SBOBET
    Indonesia, where more as compared to 7 years has provided soccer gambling games
    for wagering players in Indonesia. This specific SBOBET Soccer Gambling Market allows a good where participants will actually be provided a live market through the recognized match directly.
    Therefore you will be very lucky in order to play SBOBET in this particular
    MABOSBET.

    RELIABLE ONLINE SLOT MACHINE GAME SITE SITE NUMEROUS EARNINGS
    Online slot gambling will be currently popular in Indonesia, where
    online slots are really successful with huge jackpots and freespins that
    are usually simple to win. Because regarding that this MABOSBET 1st
    provided Online Slot Online games from 2012 for betting players in Indonesia.
    Where Jackpot is provided more than USD $ just one, 000, 000 for slot machine players who register from MABOSBET.
    The Slot Sport machine at MABOSBET doesn’t just use your
    Equilibrium, the Slot Game provides been designed with the
    FREESPIN Bonus that comes away more often, so a person will probably be Fortunately.

  10. InfoTogel says:

    Baca Cerita sex, sex dewasa, sex gadis perawan, Tante Girang, Seks 21+, Indo Sex

  11. Maricela says:

    No matter if some one searches for his required thing,
    thus he/she desires to be available that in detail, so that thing is maintained over
    here.

Leave a Reply to bokep terbaru Cancel reply

*