set logging local
14-10 Logging and Network Management
Example
Thisexampleshowshowtodisplaythestateofmessagelogging.Inthiscase,loggingtothe
consoleisenabledandloggingtoapersistentfileisdisabled.
B5(su)->show logging local
Syslog Console Logging enabled
Syslog File Logging disabled
set logging local
Usethiscommandtoconfigurelogmessagestotheconsoleandapersistentfile.
Syntax
set logging local console {enable | disable} file {enable | disable}
Parameters
Defaults
None.
Mode
Switchcommand,read‐write.
Example
Thiscommandshowshowtoenableloggingtotheconsoleanddisableloggingtoapersistentfile:
B5(su)->set logging local console enable file disable
clear logging local
Usethiscommandtocleartheconsoleandpersistentstoreloggingforthelocalsession.
Syntax
clear logging local
Parameters
None.
Defaults
None.
Mode
Switchcommand,read‐write.
consoleenable|disable Enablesordisablesloggingtotheconsole.
fileenable|disable Enablesordisablesloggingtoapersistentfile.