beautypg.com

Log host (filter) – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 295

background image

Logging Commands

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

10.23

log host (filter)

This command creates a filter to select messages to be sent to a remote syslog server.
Selection can be based on the priority/severity of the message, the program that
generated the message, the logging facility used, a substring within the message or a
combination of some or all of these.

The no variant of this command configures the device to no longer send log messages to
a remote syslog server. The IP address of the syslog server must be specified. All
configuration relating to this log target will be removed.

Syntax

log host <ip-addr> [level ] [program ]

[facility ] [msgtext ]

no log host <ip-addr> [level ] [program ]

[facility ] [msgtext ]

Parameter

Description

<ip-addr>

The IP address of a remote syslog server

level

Filter messages by severity level.

The minimum severity of messages to send. The level can be specified
as one of the following numbers or level names, where 0 is the highest
severity and 7 is the lowest severity:

0|emergencies: System

is

unusable

1|alerts

Action must be taken immediately

2|critical

Critical conditions

3|errors

Error conditions

4|warnings

Warning conditions

5|notices

Normal, but significant, conditions

6|informational

Informational messages

7|debugging

Debug-level messages

program

Filter messages by program. Include messages from a specified
program in the log.

<program-
name
>

The name of a program to log messages from, either one of the
following predefined program names (not case-sensitive), or another
program name (case -sensitive) that you find in the log output.

rsvp

Resource Reservation Protocol (RSVP)

dot1x

IEEE 802.1X Port-Based Access Control