set logging server facility

Last Updated : Nov 06, 2012 |

Defines an output facility for the specified Syslog server.

Syntax

set logging server facility facility{<ip_address> | <ipv6–addr[%zone-id]> | <hostname>}

Parameters

Parameter

Description

Possible Values

Default Value

facility

The facility used in Syslog reports

auth (Authorization)

daemon (Background System Process)

clkd Clock Daemon)

clkd2 (Clock Daemon)

mail (Electronic Mail)

local0 – local7 (For Local Use)

ftpd (FTP Daemon)

kern (Kernel)

alert (Log Alert)

audi (Log Audit)

ntp (NTP Subsystem)

lpr (Printing)

sec (Security)

syslog (System Logging)

uucp (Unix-to-Unix Copy Program)

news (Usenet news)

user (User Process)

ip_address

The IP address of the Syslog server

ipv6–addr

The IPv6 address of the Syslog server

%zoneid

VLAN number

1 — 4,090

hostname

The name of the Syslog server host

User level

read-write

Context

general

Example

To specify that messages for the Syslog server at IP address 168.12.1.15 be sent to the mail output facility:

Gxxx-001(super)# set logging server facility mail 168.12.1.15

To specify that messages for the Syslog server at IP address fe80::210:c6ff:fede:28e on VLAN 1 be sent to the local 2 facility:

Gxxx-001(super)# set logging server facility local2 fe80::210:c6ff:fede:28e%Vlan1