1
00:00:00,980 --> 00:00:06,140
So on your log messages, you have a few options. So if I type show run pipe include

2
00:00:07,310 --> 00:00:08,000
service.

3
00:00:10,750 --> 00:00:16,160
What you'll notice is on my log messages, I have a date-time set.

4
00:00:16,630 --> 00:00:18,700
I also have that set on debuggs.

5
00:00:20,040 --> 00:00:27,870
You can enable sequence numbers as an example if you want to see sequence numbers on your log messages.

6
00:00:29,990 --> 00:00:38,240
If I press control Z here, notice I see a Syslog message number and that's now appearing in my Kiwi 

7
00:00:38,240 --> 00:00:40,570
Syslog server, do that again

8
00:00:41,880 --> 00:00:46,200
notice the message number has increased if I shut an interface down.

9
00:00:49,170 --> 00:00:54,090
OSPF is shutting down the neighbor relationships, but notice you can see the numbers incrementing on

10
00:00:54,090 --> 00:01:00,450
the router, these numbers on the left are Kiwi Syslog sequence numbers, but the 500 numbers here are

11
00:01:00,810 --> 00:01:07,740
numbers on the router, as you can see over here, 593 and 593 over there.

12
00:01:08,820 --> 00:01:14,400
Sequence numbers obviously make it a lot easier to find messages and sort them when you're receiving

13
00:01:14,400 --> 00:01:17,520
multiple messages and want to order it logically.

14
00:01:19,360 --> 00:01:23,620
So when I type End as an example, notice the sequence number

15
00:01:25,190 --> 00:01:35,900
shown in Kiwi Syslog server as well as on the router, you can type service timestamps and specify that

16
00:01:35,900 --> 00:01:42,680
for both log and debug messages you can either show it by date and time or by the system uptime.

17
00:01:43,670 --> 00:01:46,790
So at the moment, it's set to date and time

18
00:01:46,820 --> 00:01:52,010
you can see the date is May the 16th, can see the time, up

19
00:01:52,040 --> 00:01:55,090
Time allows you to specify the uptime on the router.

20
00:01:55,550 --> 00:01:57,560
So how long is the router been up for?

21
00:01:58,010 --> 00:02:02,360
and you can see this router has been up for almost one hour and 20 minutes, notice

22
00:02:02,360 --> 00:02:03,620
the format has changed.

23
00:02:06,640 --> 00:02:14,130
You probably want to do it based on date time and then you can specify how you're going to do it, so

24
00:02:14,140 --> 00:02:19,140
milliseconds allows me to specify milliseconds in the timestamp.

25
00:02:19,630 --> 00:02:22,840
I could also specify the year, at the moment

26
00:02:22,840 --> 00:02:25,900
notice there's no year specified on these messages.

27
00:02:26,870 --> 00:02:35,210
Control Z again or control Zed notice now I'm getting May the 16th, 2016, and the time on the router.

28
00:02:36,220 --> 00:02:43,090
Now, you can disable that, so you could say no service timestamps, and when I press control Z now

29
00:02:43,810 --> 00:02:48,190
or control Zed notice I don't see the date and time stamps.

30
00:02:49,810 --> 00:02:55,780
Do it again, so Control Zed notice now, I see date and time.

