Different syslog level logging on the switch

Hi,
How do I log the messages on a switch to a syslog server at syslog level 3 but on the switch itself I would log at syslog level informational?
Could anyone advise how should I go about doing this?
Thanks.

Hi Christina,
Which switch you are having? But yes it is possible and I am posting the configuration for one of the common switch 2950
configure terminal
logging console 6
logging trap 3
logging monitor 6
logging host
Have a look at this link
http://www.cisco.com/univercd/cc/td/doc/product/lan/cat2950/12120ea2/2950scg/swlog.htm#wp1031557
HTH, if yes please rate the post.
Ankur

Similar Messages

  • "Show logging" displays the switch UP time not the Date & time

    Hi,
    i have cisco 2950 switch, when i type the show logging, what ever event has happend i am getting like this "26w6d: %LINK-3-UPDOWN: Interface FastEthernet0/24, changed state to down" but it is not showing the date & time when the event has occured, so every time i need to check the show version & have to see the switch up time & then i need to calculate. is there any configuration has to be done where i should get the information of the date & time in place of switch up time eg. like this...
    "Sep4 4:15: %LINK-3-UPDOWN: Interface FastEthernet0/24, changed state to down"

    what you could do is to enable timestamping if not already done so.
    2950(config)# service timestamp debug datetime msec
    2950(config)# service timestamp log datetime msec
    or you can use SNMP to provide traps of the 'events' that occur on the device.
    these SNMP traps will provide the date, time and trap.
    what version IOS on that device? have you enabled timestamping? have you upgrade lately? perhaps an upgrade could be of assistance. i'll verify the operation on some 2950s i have to confirm if i have the same issue or not and what version is being used. i'll post the result when available.

  • What's the Default Password for Logging into huawei switches?

    I was wondering if I bought the Huawei switches,
    what’s the Default Password for Logging into them? so many people may have the same question that if bought a Huawei switch, what's the default password for logging into the switch? and maybe different kind of switches have different kind of passwords,
    so maybe all of us wanna know them clearly.
    Here, i'll tell you.
    As for the bootrom default code:
    Huawei S9300 V100R006 and the earlier version is 9300
    Huawei S7700 V100R006 and the earlier version is huawei
    And you can log into
    http://www.huanetwork.com/blog/whats-the-default-password-for-logging-into-huawei-switches/ for more information, really useful.

    Unfortunately your post is off topic as it's not specific to Microsoft Training and Certification.  
    This is a standard response I’ve written in advance to help the many people who post their question in this forum in error, but please don’t ignore it.  The links I provide below will help you determine the right forum to ask your question
    in.
    For technical issues with Microsoft products that you would run into as an end user, please visit the Microsoft Answers forum ( http://answers.microsoft.com ) which has sections for Windows, Hotmail,
    Office, IE, and other products.
    For Technical issues with Microsoft products that you might have as an IT professional (like technical installation issues, or other IT issues), please head to the TechNet Discussion forums at http://social.technet.microsoft.com/forums/en-us, and
    search for your product name.
    For issues with products you might have as a Developer (like how to talk to APIs, what version of software do what, or other developer issues), please head to the MSDN discussion forums at http://social.msdn.microsoft.com/forums/en-us, and
    search for your product or issue.
    If you’re asking a question particularly about one of the Microsoft Dynamics products, a great place to start is here: http://community.dynamics.com/ 
    If you think your issue is related to Microsoft Training and Certification and I've flagged it as Off-topic, I apologise.  Please repost your question and include as much detail as possible about your problem so that someone can assist you further. 
    If you really have no idea where to post your question please visit the Where is the forum for…? forum http://social.msdn.microsoft.com/forums/en-us/whatforum/ 
    When you see answers and helpful posts, please click Vote As Helpful,
    Propose As Answer, and/or Mark As Answer
    Jeff Wharton
    MSysDev (C.Sturt), MDbDsgnMgt (C.Sturt), MCT, MCSE: Data Platform & Business Intelligence
    Blog: Mr. Wharty's Ramblings
    Twitter: @Mr_Wharty
    MC ID:
    Microsoft Transcript

  • Device on the switch port does not match the switch port on the device.

    I have a HP 2910al-48G switch with bunch of HP 6200 pro connected to it. The devices on the switch under the VLANs tab show up at the correct port (if they do which is question #2) except for one device. For some reason, a different device shows up on the switch. But if i go to the device page, it shows it is connected to the correct port on the device.
    e.g., On the switch, port 14 shows PC01 when in fact PC02 should be connected.
    If i go to PC02 page, then it correctly says it is connected to port 14.So how can i manually edit the device info on the VLAN page?
    This topic first appeared in the Spiceworks Community

    Settings | Date and Time  then select Automatic date & time, and Automatic time zone. In this way, the carrier time will populate the phone. If it's still going 1hour off, then I'd call VZW and inquire if they have a tower issue, specially if it happens in one particular place.

  • Different voltage levels damaging USB-8451?

    We just started using I2C communications in our product so I am not very familiar with it.  We are using the USB-8451 to communicate with a HCS08 device. The SDA and SCL lines are pulled up to 3.3V on the unit under test with 5.11K. The NI USB-8451 appears to be damaged if the +5V and the +3.3V from the UUT are shorted. The +5V from the USB-8451 is not used. The manufacturing issues have been addressed. We want to keep the device from harm if this mistake happens again.  
    We are not seeing any reason the different voltage level should affect the 8451, but we have a dead device. Any ideas on how this is happening or how to mitigate this in the future?
    Thanks, 
    Larry

    Hi Larry,
    There is information on how to wire the USB-8451 without damaging it on page 3-10 of this manual.  Also take a look at the specifications section in Appendix A.
    Best,
    Jeff S.
    National Instruments

  • Why can't two different users use Itunes on the same computer with different log ins

    Why can't two different users use Itunes on the same computer with different log ins

    Pmorgan5672 wrote:
    Why can't two different users use Itunes on the same computer with different log ins
    They can, but not at the same time.
    If one user left iTunes running, and another user tries to use iTunes from a different Windows user ID, that second user will get an error message.  If they really want to use iTunes, they either have to beg the first user to log in and close iTunes, or else they have to restart the computer.
    If you are asking the technical reason why, it is something about context switching.

  • How to get two syslog resources with different filter levels into ASA

    Hi All,
    I have my ASA's set up to push logs to my syslog server:
    logging host inside 198.xxx.xxx.185
    logging trap notification
    However, I would like to also trap if a VPN on my ASA's go down, but I want to send that to my SNMP server, NOT my syslog server. I also want to only trap that VPN log message and nothing else, so I want to set the filter level to emergencies:
    logging host inside 198.xxx.xxx.16
    logging trap emergencies (+ system message 123456)
    How can I configure my ASA so that these two syslog destinations will have separate respective filter levels of notifications for .185 and emergencies for .16?
    Also, does anyone know the System Log Message ID for a VPN tunnel going down?

    Dear Ronny,
    i am gining the solution below.But would request you to change your ITAB STRUCTURE LIKE THIS BEFORE USING THE CODE
    VERME LGPLA
    252.000 EA 300 0149A  0149 410
    276.000 EA 300 0149A  0107 410
    516.000 EA 300 0149A  3013 400
    528.000 EA 300 0149A  3013 400
    528.000 EA 300 0149A  3013 400
    528.000 EA 300 0149A  3013 400
    528.000 EA 300 0149A  3013 400
    528.000 EA 300 0149A  3013 400
    528.000 EA 300 0149A  3013 400
    then do as follows.
    SORT ITAB BY LGPLA VERME.
    LOOP AT ITAB INTO WITAB.
    W_INDEX = SY-TABIX.
    here take all the abOve fields in temp fieds.
    LW_VERME = WITAB-VERME..AND SO ON.
      AT END OF LGPLA.
       MOVE: all LW fields to work area of ITAB1
       APPEND work area of ITAB1 TO ITAB1.
       DELETE ITAB INDEX W_INDEX
      ENDAT.
    ENDLOOP.
    Basically what u r doing here is thet u r using processing event.
    So whenerv VERME changes this event will be triggered.
    Just try this out...something like this only will be he logic.
    Please let me know further

  • [svn:bz-trunk] 10057: Update the sample configuration to include a comment to warn people not to use debug level logging in production .

    Revision: 10057
    Author:   [email protected]
    Date:     2009-09-08 10:58:36 -0700 (Tue, 08 Sep 2009)
    Log Message:
    Update the sample configuration to include a comment to warn people not to use debug level logging in production.
    Modified Paths:
        blazeds/trunk/resources/config/services-config.xml

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

  • I have 2 different libraries and would like to switch one with the other. Can I simply authorize the one I want to switch to the same user and Password that refers to the one I want to get to.

    I have 2 Itunes libraries on 2 different computers and would like to switch one to become the other in order to have one complete library on both computers. Can I simply deauthorize and reauthorize the computer i want changed with the other library.

    hi melansonp, these 2 emails accounts are from one webmail or from 2 differents ?

  • Different zoom levels for different clips in the same project?

    Hi
    I am making a movie with videos from two different cameras. As a result some of the clips are cut down in size to a small portion of the screen. This can be solved if it is possible to use different zoom levels for different clips in the same project. I have not been able to do this. Is it possible?
    kind regards
    Soren

    You can scale the small clips up to the same size of the larger one... but you will get a quality loss.
    Using Motion or Scale to Frame Size commands
    Better to scale the large ones down to a Sequence that matches the smaller clip dimensions.

  • HT5622 valid apple id but not icloud account.  I tried downloading on a different computer and logging in and it did not work.  I have restarted my computer several times.  I have changed my password several times.  I have tried to access the icloud page.

    repeating error message reads: "valid apple id but not icloud account." when trying to start my icloud account.  I tried downloading on a different computer and logging in and it did not work.  I have restarted my computer several times.  I have changed my password several times.  I have tried to access the icloud page.  Nothing has worked.  Now I have this stupid app and some of my music is still not being shared on both of my computers.

    I have the same problem signing in...but, I finally got a screen saying you have to set up a account on a device..like an ipad to get a iCloud sign in ...my apple id is [email protected]   and this screen reset to [email protected]
    If you don't have an apple device you may be out of luck.  I don't know.  I'm still waiting for help just as you are...good luck to both of us though.

  • How are the pWWN list populated in DCNM even before they are logged-in to the switch?

    Hello All
    DCNM v6.2.3
    I see that the hosts are not logged-in to the switch, however via DCNM when I try to create device alias I find the pWWNs populated which are not logged-in. How are the pWWN list populated in DCNM even before they are logged-in to the switch?
    Thanks
    Chetan

    This is definitely not happening automatically ? would be magic ! you can do it of course manually.

  • How to view the Syslog Application logs in CLI

    On CallManager 6.1.x, how do we view the Application Logs in the Syslog Viewer using the CLI?  I know how to view the traces but not the Application or System logs in CLI.  My RTMT to a customer is being blocked so I need to use the CLI.  Thanks.

    Event Viewer-Application Log = /var/log/active/syslog/CiscoSyslog.*
    Event Viewer-System Log = /var/log/active/syslog/messages.*
    From CLI:
    To list application logs:
    file list activelog syslog/CiscoSyslog.* date detail
    To list system logs:
    file list activelog syslog/messages.* date detail
    To view a specific application log:
    file view activelog syslog/CiscoSyslog.1
    To view a specific system log:
    file view activelog syslog/messages.1
    http://htluo.blogspot.com
    Michael

  • [svn] 869: Bug: BLZ-92 - catch IOException and log at the info level to keep from polluting the logs

    Revision: 869
    Author: [email protected]
    Date: 2008-03-19 15:21:25 -0700 (Wed, 19 Mar 2008)
    Log Message:
    Bug: BLZ-92 - catch IOException and log at the info level to keep from polluting the logs
    QA: Yes
    Doc: No
    Details:
    Tomcat 5+ throws a ClientAbortException when it receives a TCP RST while writing a response to a client that has exited. This custom exception extends IOException, and we were only doing lighter INFO-level logging for SocketExceptions so the ClientAbortException was getting past this leading to ERROR level logging. This little tweak will mean less pollution of the server logs during QE load tests.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-92
    Modified Paths:
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/endpoints/BaseHTTPEndpoint.ja va

    Hi AbhijitRoy2005,
    Other then climbing in the phone and calling the vendor, you could try:
    1. To use a BufferedInputStream to wrap the SocketInputStream before you wrap that in the DataInputStream. So basically:
    DataInputStream dis = new DataInputStream(new BufferedInputStream(socket.getInputStream());On one of my implementations this made a difference of a factor of 200+! So instead of processing 500 messages per second, I could process 10000 messages per second!
    2. Or to take it to the next level and take a look at using NIO. That is New IO, available since Merlin (Java 1.4). But that would take you way more time then the first attempt.
    The thing addressed by the possible solutions above is the blocking nature of the Stream based socket handling. Using a buffered input stream reads ahead. The NIO thing is all about non-blocking IO, which uses Channels and Buffers instead of Sockets and Streams (note that these are not equivalent!).
    Of course, if you didn't change something in your own code, it might just very well be that the vendor just screwed up his ;)
    Regards,
    Frens

  • My boyfriend and I have each an IPhone with two different Apple IDs. Since the recent software his contacts appears in my Iphone. How can I switch that off? I have be looking at both Iphones and Iclouds.

    My boyfriend and I have each an IPhone with two different Apple IDs. Since the recent software his contacts appears in my Iphone. How can I switch that off? I have be looking at both Iphones and Iclouds.

    All apps and purchases are linked to your apple ID, so you can't share them across 2 devices that are using different apple id's, it won't work. the purchases that are on your mac at the moment will only work with the apple id they were brought with.
    the only thing thats possible to share is purchased music. you have to first covert it to mp3 within itunes, then your bf can import it into his own itunes library and sync with his phone.

Maybe you are looking for