beautypg.com

Logging console – Allied Telesis AT-S94 CLI (AT-8000S Series) User Manual

Page 301

background image

Syslog Commands

Page 300

Parameters

ipv4-address — Specifies the IPv4 address of the host to be used as a syslog server.

Ipv6-address — Specifies the IPv6 address of the host to be used as a syslog server.

hostname — Specifies the host name of the syslog server. (Range: 1-158 characters)

port — Specifies the port number for syslog messages. (Range: 1 - 65535)

level — Specifies the severity level of logged messages sent to the syslog servers. Possible values:

emergencies, alerts, critical, errors, warnings, notices, informational and debugging.

facility — Specifies the facility that is indicated in the message. Possible values: local0, local1, local2,

local3, local4, local5, local 6, local7.

text — Syslog server description. (Range: 1-64 characters)

Default Configuration

The default port number is 514.

The default logging message level is informational.

The default facility is local7.

Command Mode

Global Configuration mode

User Guidelines

Up to 8 syslog servers can be used.

If no specific severity level is specified, the global values apply to each server.

Example

The following example limits logged messages sent to the syslog server with IP address 10.1.1.1 to severity level
critical.

logging console

The logging console Global Configuration mode command limits messages logged to the console based on
severity. Use the no form of this command to disable logging to the console.

Syntax

logging console level

no logging console

Parameters

level — Specifies the severity level of logged messages displayed on the console. Possible values:

emergencies, alerts, critical, errors, warnings, notices, informational, debugging.

Default Configuration

The default severity level is informational.

console(config)# logging 10.1.1.1 severity critical