Logging Host - Cisco Small Business 300 1.1 Series Administration Manual

Managed switch
Table of Contents

Advertisement

Syslog Commands
78-20269-01 Command Line Interface Reference Guide
18.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
{ipv4-address | ipv6-address | hostname} [port port] [severity level]
logging host
[facility facility] [description text]
no logging host
{ipv4-address | ipv6-address | hostname}
Parameters
ipv4-address—IPv4 address of the host to be used as a SYSLOG server.
ipv6-address—Pv6 address of the host to be used as a SYSLOG server.
When the IPv6 address is a Link Local address (IPv6Z address), the
outgoing interface name must be specified. Refer to the User Guidelines for
the interface name syntax.
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: 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.
—Description of the SYSLOG server. (Range: Up to 64
18
220

Advertisement

Table of Contents
loading

Table of Contents