Logging Host - Cisco 300 Series Cli Manual

Small business 300 series managed switches command line interface guide release 1.3
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

Syslog Commands
78-21075-01 Command Line Interface Reference Guide
20.2

logging host

Use the logging host Global Configuration command to log messages to the
specified SYSLOG server. Use the no form of this command to delete the SYSLOG
server with the specified address from the list of SYSLOG servers.
Syntax
{ip-address | ipv6-address | hostname} [port port] [severity level]
logging host
[facility facility] [description text]
no logging host
{ipv4-address | ipv6-address | hostname}
Parameters
ip-address—IP address of the host to be used as a SYSLOG server. The IP
address can be an IPv4, IPv6 or Ipv6z address. See
Conventions.
hostname—Hostname of the host to be used as a SYSLOG server. Only
translation to IPv4 addresses is supported. (Range: 1–158 characters.
Maximum label size for each part of the host name: 63)
port port
—Port number for SYSLOG messages. If unspecified, the port
number defaults to 514. (Range: 1–65535)
severity level
—Limits the logging of messages to the SYSLOG servers to a
specified level: emergencies, alerts, critical, errors, warnings, notifications,
informational, debugging.
facility facility
—The facility that is indicated in the message. It can be one of
the following values: local0, local 1 , local2, local3, local4, local5, local 6,
local7. If unspecified, the port number defaults to local7.
description text
characters)
Default Configuration
No messages are logged to a SYSLOG server.
if unspecified, the severity level defaults to Informational.
Command Mode
Global Configuration mode
—Description of the SYSLOG server. (Range: Up to 64
20
IPv6z Address
289

Advertisement

Table of Contents
loading

Table of Contents