Allied Telesis Support Portal

Can I modify terminal monitor (logging) output on AW+ switches?

When using terminal monitor logging output to view log messages in real time, or to view debug output, it is sometimes useful to filter the output to suppress messages that are not relevant to the particular issue being analyzed.  For example, one may need to suppress log messages for spanning-tree and martian errors in order to more easily review debug output of the SSH service.  Below is an example of how to modify the terminal monitor logging parameters on switches running AlliedWare Plus OS, showing how to modify default parameters to display only output for an SSH debug.
 
Awplus#show log config
 
Buffered log:
  Status ......... enabled
  Maximum size ... 50kb
  Filters:
 *1   Level ...... notices
      Program .... any
      Facility ... any
      Msg text ... any
      Type ....... include
  Statistics ..... 1100 messages received, 224 accepted, 0 excluded (2016 Sep 16 18:39:01)
Permanent log:
  Status ......... enabled
  Maximum size ... 50kb
  Filters:
 *1   Level ...... warnings
      Program .... any
      Facility ... any
      Msg text ... any
      Type ....... include
  Statistics ..... 1100 messages received, 11 accepted, 0 excluded (2016 Sep 16 18:39:01)
Monitor log:  <-------------------------------------
  Filters:
 *1   Level ...... debugging
      Program .... any
      Facility ... any
      Msg text ... any
      Type ....... include
   Statistics ..... Not available
 
….
 
Awplus(config)#no log monitor level debugging ------------------------ disable the generic default filter for terminal log output
Awplus(config)#log monitor level debugging program sshd -------- create new filter to display just messages for the sshd daemon
 
Terminal monitor output will now show only output relevant to the SSH service..
 
 
Previous MonthNext Month
SunMonTueWedThuFriSat