Mathias,
Let me start by saying that it may be a good idea to
open up a GTAC case so that we can help you investigate this problem in more detail.
I would not recommend using the NVRAM buffer for this troubleshooting. As EtherMAN has suggested, a syslog server would be perfect for this situation (
How to configure a syslog server).
As for customizing the EMS log to make it more granular, here are some tips:
The "show log events {all |
}" 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):
L3L_K1_U14(65.50).6 # show log events vsm Component SubComponent Condition Severity Parameters
----------- ------------ ----------------------- ------------- ----------
VSM AllocCkptMsgFail Error 2 Total
VSM AllocHCMsgFail Error 1 Total
VSM AllocMemFail Error 2 Total
VSM AllocMSMCkptMsgFail Error 2 Total
VSM AllocSockFail Error 2 Total
VSM BlkMLAGTrace Debug-Verbose 1 Total
VSM BndSockFail Error 2 Total
VSM ConnCkptTrace Debug-Verbose 1 Total
VSM FastCnvrgCtrlMLAGFail Warning 1 Total
VSM FndISCIfFail Warning 1 Total
VSM FndMLAGPortFail Warning 1 Total
VSM InitSrvrDone Info 0 Total
VSM InitSrvrFail Error 0 Total
VSM LocMLAGPortDown Info 3 Total
VSM LocMLAGPortUp Info 3 Total
VSM MSMCkptTrace Debug-Verbose 1 Total
VSM ParmInv Critical 2 Total
VSM ParmNull Critical 1 Total
VSM RedirMLAGTrace Debug-Verbose 1 Total
VSM RmtMLAGPeerDown Info 2 Total
VSM RmtMLAGPeerUp Info 2 Total
VSM RmtMLAGPortDown Info 3 Total
VSM RmtMLAGPortUp Info 3 Total
VSM RxCkptPkt Debug-Verbose 5 Total
VSM RxCkptPktDump Debug-Data 7 Total
VSM RxCkptPktInv Error 4 Total
VSM RxCkptPktVerInv Error 4 Total
VSM RxCkptSockFail Warning 3 Total
VSM RxCkptTrace Debug-Verbose 1 Total
VSM RxHCPkt Debug-Verbose 5 Total
VSM RxHCPktDump Debug-Data 6 Total
VSM RxHCPktInv Error 4 Total
VSM RxHCPktVerInv Error 3 Total
VSM RxHCSockFail Warning 1 Total
VSM RxHCTrace Debug-Verbose 1 Total
VSM RxSrvrTrace Debug-Verbose 1 Total
VSM SetSockFail Error 3 Total
VSM TxCkptPkt Debug-Verbose 5 Total
VSM TxCkptPktDump Debug-Data 7 Total
VSM TxCkptSockFail Warning 3 Total
VSM TxCkptTrace Debug-Verbose 1 Total
VSM TxHCPkt Debug-Verbose 3 Total
VSM TxHCPktDump Debug-Data 5 Total
VSM TxHCSockFail Warning 3 Total
VSM TxHCTrace Debug-Verbose 1 Total
VSM TxSrvrTrace Debug-Verbose 1 TotalYou can use the "show log counters {all | } occured" command to display all log messages that have occurred. Example using vsm (no MLAG is currently configured on this particular switch):
L3L_K1_U14(65.50).7 # show log counters vsm occurred
Component SubComponent Condition Severity Occurred I Ntfd
----------- ------------ ----------------------- ------------- -------- - ----
VSM InitSrvrDone Info 1 N 0
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.
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:
configure log filter add event
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:
configure log filter add event severity
you can also match on a specific parameter within the log message by specifying the match condition:
configure log filter add event match
Note: for some messages to be printed to the log you may need to enable log debug-mode (not recommended unless requested by GTAC).
For stacking and MLAG it would probably be a good idea to look at the vsm, NM, and HAL.Stacking messages.