Syslog configuration

xiaoxiao2021-03-06  72

The following configuration describes how to send a log of Cisco devices to the Syslog Server The following configuration describes how to send a log of Cisco devices to the Syslog server.

Device # conf T

Device (config) #logging on

Device (config) #logging a.b.c.d // log server IP address

Device (config) #logging facility local1

// Facility identifier, the local device identified by RFC3164 is LOCAL0 - LOCAL7

Device (config) #logging trap errors // log record level, available "?" View Details

Device (config) #logging source-interface E0 // Log sent source IP address

Device (config) #service timestamps log datetime localtime

// Logging timestamp settings can be configured as needed

test

Device # sh logging

转载请注明原文地址:https://www.9cbs.com/read-94923.html

New Post(0)