<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: X670 logging in ExtremeSwitching (Other)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-other/x670-logging/m-p/11934#M2962</link>
    <description>Hi, if I am not mistaken, the NVRAM log is only populated when the switch reboots and only with events with a severity level of warning and above.  The following command will give you an idea of what's currently configured for your actual log:&lt;BR /&gt;
show log configuration filter "DefaultFilter"By default, you can have 1,000 log entries, but you can increase that value to 20,000&lt;BR /&gt;
show log configuration target memory-buffer&lt;BR /&gt;
Log Target      : memory-buffer    Enabled     : yes&lt;BR /&gt;
    Filter Name : DefaultFilter&lt;BR /&gt;
    Match regex : Any&lt;BR /&gt;
    Severity    : Debug-Data (through Critical)&lt;BR /&gt;
    Format      : MM/DD/YYYY HH:MM:SS.hh &lt;COMPONENT.SUBCOMPONENT.CONDITION&gt;&lt;BR /&gt;
    Buffer size : 1000 messagesconfigure log target memory-buffer number-of-messages &lt;VALUE&gt;I am not sure if there is a counter to show how much of it you've used up, I am sure other colleagues can chip in on that one.  But when you display your log with the "show log" command, at the bottom there is a message &lt;B&gt;"a total of %total% log messages were displayed"&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;/VALUE&gt;&lt;/COMPONENT.SUBCOMPONENT.CONDITION&gt;</description>
    <pubDate>Tue, 15 Mar 2016 15:16:00 GMT</pubDate>
    <dc:creator>Kawawa</dc:creator>
    <dc:date>2016-03-15T15:16:00Z</dc:date>
    <item>
      <title>X670 logging</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/x670-logging/m-p/11931#M2959</link>
      <description>It seems that problems within 2 X670V in Datacenter Distribution layer which working in a stack caused a network disruption (EXOS V 15.3.4.6). we using mLAG as redundancy mechanism to core switch and to the connected server - no STP. Unfortunately the system log tell me nothing about that problem.&lt;BR /&gt;
&lt;BR /&gt;
So i do not know where is should looking for the root cause. If maybe there is a problem with switch stacking or hardware or only a network loop occurs (because of server misconfiguring or maybe a fault within mLAG)??? &lt;BR /&gt;
&lt;BR /&gt;
Are there any suggestions how to setup switch logging (EMS) mor granular. That if the next time a network disruption occours the logging allow a more details view ??&lt;BR /&gt;
&lt;BR /&gt;
Thanks for helpful advices.&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Mar 2016 15:07:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/x670-logging/m-p/11931#M2959</guid>
      <dc:creator>M_Nees</dc:creator>
      <dc:date>2016-03-14T15:07:00Z</dc:date>
    </item>
    <item>
      <title>RE: X670 logging</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/x670-logging/m-p/11932#M2960</link>
      <description>Hi Mathias,&lt;BR /&gt;
&lt;BR /&gt;
In addition to the usual troubleshooting show commands, you can add events to the DefaulLogFilter or any custom logs you've defined that report on particular conditions, i.e. &lt;B&gt;HAL.Stacking.Error&lt;/B&gt; would report if there is any stacking error, while events like &lt;B&gt;HAL.VSM.AllocMLAGMemFail&lt;/B&gt; will let you know if a memory allocation for an MLAG operation failed, It all depends on what you want to see and the &lt;A href="http://documentation.extremenetworks.com/ems_catalog/EMS_Messages/introduction.shtml" target="_blank" rel="nofollow noreferrer noopener"&gt;EMS Message Catalog&lt;/A&gt; is a good place to start and better understand what each component/subcomponent and matching conditions do.&lt;BR /&gt;
&lt;BR /&gt;
Also, look at the following articles from out Knowledgebase: &lt;BR /&gt;
&lt;A href="https://gtacknowledge.extremenetworks.com/articles/How_To/How-to-perform-MLAG-troubleshooting/?q=mlag&amp;amp;#38;l=en_US&amp;amp;#38;fs=Search&amp;amp;#38;pn=1" target="_blank" rel="nofollow noreferrer noopener"&gt;How to troubleshoot MLAG iss&lt;/A&gt;&lt;A href="https://gtacknowledge.extremenetworks.com/articles/How_To/How-to-perform-MLAG-troubleshooting/?q=mlag&amp;amp;#38;l=en_US&amp;amp;#38;fs=Search&amp;amp;#38;pn=1" target="_blank" rel="nofollow noreferrer noopener"&gt;ues&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://gtacknowledge.extremenetworks.com/articles/Solution/Useful-log-filters-can-be-added-for-tracking-any-event-of-stacking-ports/?q=configure+log+filter&amp;amp;#38;l=en_US&amp;amp;#38;fs=Search&amp;amp;#38;pn=1" target="_blank" rel="nofollow noreferrer noopener"&gt;Useful logs filters can be added to track any event of stacking ports&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
If you have any specific information you're looking to understand, let us know and I am sure more specific things to look at can be recommended.  &lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Mar 2016 16:36:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/x670-logging/m-p/11932#M2960</guid>
      <dc:creator>Kawawa</dc:creator>
      <dc:date>2016-03-14T16:36:00Z</dc:date>
    </item>
    <item>
      <title>RE: X670 logging</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/x670-logging/m-p/11933#M2961</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
because in my special case i do not know where the issue is coming from i decide to set the error logging to nvram a little bit lower for hoping to see more than an event occurs.&lt;BR /&gt;
&lt;BR /&gt;
configure log target nvram  filter DefaultFilter severity Warning (Default Value)configure log target nvram  filter DefaultFilter severity Notice&lt;BR /&gt;
is my assumption correct ?&lt;BR /&gt;
&lt;BR /&gt;
How many log events can be stored in NVRAM ? Does i run into the problem that event logging (too much events) will waste / fill up switch nvram storage ? How can i check that ?&lt;BR /&gt;
&lt;BR /&gt;
Regards&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Mar 2016 13:21:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/x670-logging/m-p/11933#M2961</guid>
      <dc:creator>M_Nees</dc:creator>
      <dc:date>2016-03-15T13:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: X670 logging</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/x670-logging/m-p/11934#M2962</link>
      <description>Hi, if I am not mistaken, the NVRAM log is only populated when the switch reboots and only with events with a severity level of warning and above.  The following command will give you an idea of what's currently configured for your actual log:&lt;BR /&gt;
show log configuration filter "DefaultFilter"By default, you can have 1,000 log entries, but you can increase that value to 20,000&lt;BR /&gt;
show log configuration target memory-buffer&lt;BR /&gt;
Log Target      : memory-buffer    Enabled     : yes&lt;BR /&gt;
    Filter Name : DefaultFilter&lt;BR /&gt;
    Match regex : Any&lt;BR /&gt;
    Severity    : Debug-Data (through Critical)&lt;BR /&gt;
    Format      : MM/DD/YYYY HH:MM:SS.hh &lt;COMPONENT.SUBCOMPONENT.CONDITION&gt;&lt;BR /&gt;
    Buffer size : 1000 messagesconfigure log target memory-buffer number-of-messages &lt;VALUE&gt;I am not sure if there is a counter to show how much of it you've used up, I am sure other colleagues can chip in on that one.  But when you display your log with the "show log" command, at the bottom there is a message &lt;B&gt;"a total of %total% log messages were displayed"&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;/VALUE&gt;&lt;/COMPONENT.SUBCOMPONENT.CONDITION&gt;</description>
      <pubDate>Tue, 15 Mar 2016 15:16:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/x670-logging/m-p/11934#M2962</guid>
      <dc:creator>Kawawa</dc:creator>
      <dc:date>2016-03-15T15:16:00Z</dc:date>
    </item>
    <item>
      <title>RE: X670 logging</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/x670-logging/m-p/11935#M2963</link>
      <description>why not just point your switches to a syslog server??? You will never miss a log entry due to nvram for the log filling up and you can use syslog to data mine for many things.  There are many good syslog server software out there including Netsight.  We us Kentik ourselves but there are many others.</description>
      <pubDate>Tue, 15 Mar 2016 21:50:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/x670-logging/m-p/11935#M2963</guid>
      <dc:creator>EtherMAN</dc:creator>
      <dc:date>2016-03-15T21:50:00Z</dc:date>
    </item>
    <item>
      <title>RE: X670 logging</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/x670-logging/m-p/11936#M2964</link>
      <description>Mathias,&lt;BR /&gt;
&lt;BR /&gt;
Let me start by saying that it may be a good idea to &lt;A href="https://gtacknowledge.extremenetworks.com/articles/How_To/How-to-contact-Extreme-Networks-Global-Technical-Assistance-Center-GTAC/?q=how+to+open+a+case&amp;amp;#38;l=en_US&amp;amp;#38;fs=Search&amp;amp;#38;pn=1" target="_blank" rel="nofollow noreferrer noopener"&gt;open up a GTAC case&lt;/A&gt; so that we can help you investigate this problem in more detail.  &lt;BR /&gt;
&lt;BR /&gt;
I would not recommend using the NVRAM buffer for this troubleshooting.  As EtherMAN has suggested, a syslog server would be perfect for this situation (&lt;A href="https://gtacknowledge.extremenetworks.com/articles/How_To/How-to-configure-a-syslog-server/?q=syslog&amp;amp;#38;l=en_US&amp;amp;#38;fs=Search&amp;amp;#38;pn=1" target="_blank" rel="nofollow noreferrer noopener"&gt;How to configure a syslog server&lt;/A&gt;).&lt;BR /&gt;
&lt;BR /&gt;
As for customizing the EMS log to make it more granular,  here are some tips:&lt;BR /&gt;
&lt;BR /&gt;
The "show log events {all | &lt;SUB-COMPONNENT&gt;}" command is helpful when trying to figure out what log messages are available (and their severity).  Listed below is an example of that command using vsm (the module that contains MLAG logging):&lt;BR /&gt;
&lt;BR /&gt;
L3L_K1_U14(65.50).6 # show log events vsm Component   SubComponent Condition               Severity      Parameters&lt;BR /&gt;
----------- ------------ ----------------------- ------------- ----------&lt;BR /&gt;
VSM                      AllocCkptMsgFail        Error          2 Total&lt;BR /&gt;
VSM                      AllocHCMsgFail          Error          1 Total&lt;BR /&gt;
VSM                      AllocMemFail            Error          2 Total&lt;BR /&gt;
VSM                      AllocMSMCkptMsgFail     Error          2 Total&lt;BR /&gt;
VSM                      AllocSockFail           Error          2 Total&lt;BR /&gt;
VSM                      BlkMLAGTrace            Debug-Verbose  1 Total&lt;BR /&gt;
VSM                      BndSockFail             Error          2 Total&lt;BR /&gt;
VSM                      ConnCkptTrace           Debug-Verbose  1 Total&lt;BR /&gt;
VSM                      FastCnvrgCtrlMLAGFail   Warning        1 Total&lt;BR /&gt;
VSM                      FndISCIfFail            Warning        1 Total&lt;BR /&gt;
VSM                      FndMLAGPortFail         Warning        1 Total&lt;BR /&gt;
VSM                      InitSrvrDone            Info           0 Total&lt;BR /&gt;
VSM                      InitSrvrFail            Error          0 Total&lt;BR /&gt;
VSM                      LocMLAGPortDown         Info           3 Total&lt;BR /&gt;
VSM                      LocMLAGPortUp           Info           3 Total&lt;BR /&gt;
VSM                      MSMCkptTrace            Debug-Verbose  1 Total&lt;BR /&gt;
VSM                      ParmInv                 Critical       2 Total&lt;BR /&gt;
VSM                      ParmNull                Critical       1 Total&lt;BR /&gt;
VSM                      RedirMLAGTrace          Debug-Verbose  1 Total&lt;BR /&gt;
VSM                      RmtMLAGPeerDown         Info           2 Total&lt;BR /&gt;
VSM                      RmtMLAGPeerUp           Info           2 Total&lt;BR /&gt;
VSM                      RmtMLAGPortDown         Info           3 Total&lt;BR /&gt;
VSM                      RmtMLAGPortUp           Info           3 Total&lt;BR /&gt;
VSM                      RxCkptPkt               Debug-Verbose  5 Total&lt;BR /&gt;
VSM                      RxCkptPktDump           Debug-Data     7 Total&lt;BR /&gt;
VSM                      RxCkptPktInv            Error          4 Total&lt;BR /&gt;
VSM                      RxCkptPktVerInv         Error          4 Total&lt;BR /&gt;
VSM                      RxCkptSockFail          Warning        3 Total&lt;BR /&gt;
VSM                      RxCkptTrace             Debug-Verbose  1 Total&lt;BR /&gt;
VSM                      RxHCPkt                 Debug-Verbose  5 Total&lt;BR /&gt;
VSM                      RxHCPktDump             Debug-Data     6 Total&lt;BR /&gt;
VSM                      RxHCPktInv              Error          4 Total&lt;BR /&gt;
VSM                      RxHCPktVerInv           Error          3 Total&lt;BR /&gt;
VSM                      RxHCSockFail            Warning        1 Total&lt;BR /&gt;
VSM                      RxHCTrace               Debug-Verbose  1 Total&lt;BR /&gt;
VSM                      RxSrvrTrace             Debug-Verbose  1 Total&lt;BR /&gt;
VSM                      SetSockFail             Error          3 Total&lt;BR /&gt;
VSM                      TxCkptPkt               Debug-Verbose  5 Total&lt;BR /&gt;
VSM                      TxCkptPktDump           Debug-Data     7 Total&lt;BR /&gt;
VSM                      TxCkptSockFail          Warning        3 Total&lt;BR /&gt;
VSM                      TxCkptTrace             Debug-Verbose  1 Total&lt;BR /&gt;
VSM                      TxHCPkt                 Debug-Verbose  3 Total&lt;BR /&gt;
VSM                      TxHCPktDump             Debug-Data     5 Total&lt;BR /&gt;
VSM                      TxHCSockFail            Warning        3 Total&lt;BR /&gt;
VSM                      TxHCTrace               Debug-Verbose  1 Total&lt;BR /&gt;
VSM                      TxSrvrTrace             Debug-Verbose  1 TotalYou can use the "show log counters {all | &lt;SUBCOMPONENT&gt;} occured" command to display all log messages that have occurred.  Example using vsm (no MLAG is currently configured on this particular switch):&lt;BR /&gt;
&lt;BR /&gt;
L3L_K1_U14(65.50).7 # show log counters vsm occurred&lt;BR /&gt;
 Component   SubComponent Condition               Severity      Occurred I Ntfd&lt;BR /&gt;
----------- ------------ ----------------------- ------------- -------- - ----&lt;BR /&gt;
VSM                      InitSrvrDone            Info                 1 N    0&lt;BR /&gt;
VSM                      RedirMLAGTrace          Debug-Verbose        3 N    0The Occurred counter will let you know if the message has occurred (since last reboot or counters being cleared).  The "I" column will let you know if the message is included in the log filter and the Ntfd column will let you how many times the message was printed to the log.&lt;BR /&gt;
&lt;BR /&gt;
If you find a message that seems useful or interesting in the above outputs, it can be added to the default filter (or whatever filter you desire) using the following command:&lt;BR /&gt;
&lt;BR /&gt;
configure log filter &lt;FILTER&gt; add event &lt;EVENT&gt; &lt;BR /&gt;
&lt;BR /&gt;
or if you want to add all events for a particularly module that are a certain severity and above, you can add the entire module (i.e vsm) and specify a severity:&lt;BR /&gt;
&lt;BR /&gt;
configure log filter &lt;FILTER&gt; add event &lt;MODULE&gt; severity &lt;SEVERITY&gt;&lt;BR /&gt;
&lt;BR /&gt;
you can also match on a specific parameter within the log message by specifying the match condition:&lt;BR /&gt;
&lt;BR /&gt;
configure log filter &lt;FILTER&gt; add event &lt;EVENT&gt; match &lt;MATCH_PARAMETER&gt; &lt;VALUE&gt;&lt;BR /&gt;
&lt;BR /&gt;
Note: for some messages to be printed to the log you may need to enable log debug-mode (not recommended unless requested by GTAC).&lt;BR /&gt;
&lt;BR /&gt;
For stacking and MLAG it would probably be a good idea to look at the vsm, NM, and HAL.Stacking messages.&lt;BR /&gt;
&lt;BR /&gt;&lt;/VALUE&gt;&lt;/MATCH_PARAMETER&gt;&lt;/EVENT&gt;&lt;/FILTER&gt;&lt;/SEVERITY&gt;&lt;/MODULE&gt;&lt;/FILTER&gt;&lt;/EVENT&gt;&lt;/FILTER&gt;&lt;/SUBCOMPONENT&gt;&lt;/SUB-COMPONNENT&gt;</description>
      <pubDate>Wed, 16 Mar 2016 01:29:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/x670-logging/m-p/11936#M2964</guid>
      <dc:creator>Chad_Smith1</dc:creator>
      <dc:date>2016-03-16T01:29:00Z</dc:date>
    </item>
    <item>
      <title>RE: X670 logging</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/x670-logging/m-p/11937#M2965</link>
      <description>Hi Chad, thanks for your troubleshooting tips! I will try this.&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Mar 2016 02:35:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/x670-logging/m-p/11937#M2965</guid>
      <dc:creator>M_Nees</dc:creator>
      <dc:date>2016-03-16T02:35:00Z</dc:date>
    </item>
  </channel>
</rss>

