Logging Cisco device logs using syslog

Source: Internet
Author: User
Tags syslog

Logging Cisco device logs using syslog


The following configuration describes how to send logs from a Cisco device to a syslog server

Device#conf T

Device (config) #logging on

Device (config) #logging the IP address of the A.B.C.D//log server

Device (config) # logging facility Local1

Facility identification, RFC3164 the local device identification specified as LOCAL0-LOCAL7

Device (config) #logging trap errors//logging level, available "?" See more content

Device (config) #logging source-interface e0//Source IP address for log emit

Device (config) #service timestamps log datetime localtime

Timestamp settings for logging, which can be configured as needed

Inspection

Device#sh Logging


This article is from the "Sky" blog, please be sure to keep this source http://haikuotiankong.blog.51cto.com/633188/1695336

Logging Cisco device logs using syslog

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.