terminal monitor default
Use this command to enable logging messages globally for all new user sessions, retaining the default behavior of the terminal monitor command.
Use no
form of this command to disable logging messages globally for all new user sessions, allowing users to avoid prompt interruptions from excessive logs.
Once a session is active, logging can still be controlled per session using the terminal monitor commands. The command no terminal monitor default
will be shown in the show running-config
output, while terminal monitor default
will not appear.
Command Syntax
terminal monitor default
no terminal monitor default
Parameters
None
Default
Enabled
Command Mode
Configure mode
Applicability
Introduced in OcNOS version 6.6.0.
Examples
Disable Logging Output Globally
New user sessions will not display logging messages. Users can manually enable logging in the session using the terminal monitor command.
OcNOS#configure terminal
OcNOS(config)#no terminal monitor default
OcNOS(config)#commit
Enable Logging Output Globally
New user sessions will display logging messages by default.
OcNOS#configure terminal
OcNOS(config)#terminal monitor default
OcNOS(config)#commit