Дерево страниц
Перейти к концу метаданных
Переход к началу метаданных

Формат по умолчанию

Данный формат является форматом по умолчанию, если нет дополнительных настроек формата

Пример сообщения
<134> 31-Jan-2000 22:18:28.690 CFA-6-Interface gi 0/24 link status UP
<134> 31-Jan-2000 22:18:31.700 AST-6-[Instance 0] Interface gi 0/24 is moved to state Learning

Формат c hostname/ip

В ISS можно включить добавление в syslog сообщение идентификатора устройства

console(config)#logging hostname-format ?

hostname                            Sets system hostname as the hostname field
ip                                  Sets IP address of the sending interface
                                    as the hostname field 
ipv6                                Sets IPv6 address of the sending interface
                                    as the hostname field 
string                              Sets user-defined string as the hostname
                                    field 


Пример сообщения
<134> 31-Jan-2000 22:26:48.900 192.168.65.25 CFA-6-Interface gi 0/24 link status UP
<134> 31-Jan-2000 22:26:51.920 192.168.65.25 AST-6-[Instance 0] Interface gi 0/24 is moved to state Learning

Формат Timestamp

На ISS есть возможность добавления timestamp в формате RFC5424

console(config)#logging timestamp-format rfc5424 ?

<CR>                                Sets timestamp format to RFC5424:
                                    <2000-01-01T00:00:00.00Z>
Пример сообщения
<134> 2000-01-31T22:43:15.220Z 192.168.65.25 CFA-6-Interface gi 0/24 link status UP
<134> 2000-01-31T22:43:18.230Z 192.168.65.25 AST-6-[Instance 0] Interface gi 0/24 is moved to state Learning


  • Нет меток