Concept Guide
Synchronizing Log Messages
You can congure Dell EMC Networking OS to lter and consolidate the system messages for a specic line by synchronizing the message
output.
Only the messages with a severity at or below the set level appear. This feature works on the terminal and console connections available on
the system.
1 Enter LINE mode.
CONFIGURATION mode
line {console 0 | vty number [end-number] | aux 0}
Congure the following parameters for the virtual terminal lines:
• number: the range is from zero (0) to 8.
• end-number: the range is from 1 to 8.
You can congure multiple virtual terminals at one time by entering a number and an end-number.
2 Congure a level and set the maximum number of messages to print.
LINE mode
logging synchronous [level severity-level | all] [limit]
Congure the following optional parameters:
• level severity-level: the range is from 0 to 7. The default is 2. Use the all keyword to include all messages.
• limit: the range is from 20 to 300. The default is 20.
To view the logging synchronous conguration, use the show config command in LINE mode.
Enabling Timestamp on Syslog Messages
By default, syslog messages include a time/date stamp, taken from the datetime, stating when the error or message was created.
To enable timestamp, use the following command.
• Add timestamp to syslog messages.
CONFIGURATION mode
service timestamps [log | debug] [datetime [localtime] [msec] [show-timezone] [utc] | uptime]
Specify the following optional parameters:
– datetime: To view the timestamp in system local time that includes the local time zone.
– localtime: You can add the keyword localtime to view timestamp in system local time that includes the local time zone.
– show-timezone: Enter the keyword to include the time zone information in the timestamp.
– msec: Enter the keyword msec to include milliseconds in the timestamp.
– uptime: To view time since last boot.
– utc: Enter the keyword utc to view timestamp in UTC time that excludes the local time zone.
If you do not specify a parameter, Dell EMC Networking OS congures datetime as localtime by default.
To view the conguration, use the show running-config logging command in EXEC privilege mode.
To disable time stamping on syslog messages, use the no service timestamps [log | debug] command.
Management
81