Hint
The logging trap
command will allow an administrator to restrict the severity of messages that are logged to the specified syslog servers when followed by a number, such as 7. For example, the command logging trap 0 will limit the level of system logging messages sent to a syslog server to emergency messages only.
The command logging trap
7 will allow debugging messages and the other seven levels of messages, from 0 to 6, to be sent to a syslog server. Therefore, this command will not limit the level of system logging messages sent to a syslog server to emergency messages only.
The logging timestamp
command determines whether the date and time of the message generation should also be included in the syslog message.
The logging console
command will allow an administrator to restrict the severity of messages that are logged to the console when followed by a number, such as 0. For example, the command logging console 0 will limit the types of messages logged on the console to emergency only.
The logging trap
command will allow an administrator to restrict the severity of messages that are logged to the specified syslog servers when followed by a number, such as 7. For example, the command logging trap 0 will limit the level of system logging messages sent to a syslog server to emergency messages only.
The command logging trap
7 will allow debugging messages and the other seven levels of messages, from 0 to 6, to be sent to a syslog server. Therefore, this command will not limit the level of system logging messages sent to a syslog server to emergency messages only.
The logging timestamp
command determines whether the date and time of the message generation should also be included in the syslog message.
The logging console
command will allow an administrator to restrict the severity of messages that are logged to the console when followed by a number, such as 0. For example, the command logging console 0 will limit the types of messages logged on the console to emergency only.
The logging trap
command will allow an administrator to restrict the severity of messages that are logged to the specified syslog servers when followed by a number, such as 7. For example, the command logging trap 0 will limit the level of system logging messages sent to a syslog server to emergency messages only.
The command logging trap
7 will allow debugging messages and the other seven levels of messages, from 0 to 6, to be sent to a syslog server. Therefore, this command will not limit the level of system logging messages sent to a syslog server to emergency messages only.
The logging timestamp
command determines whether the date and time of the message generation should also be included in the syslog message.
The logging console
command will allow an administrator to restrict the severity of messages that are logged to the console when followed by a number, such as 0. For example, the command logging console 0 will limit the types of messages logged on the console to emergency only.