logging remote facility

Use this command to set a syslog servers facility.

OcNOS supports logging messages to one or more remote syslog servers. but the same facility is used for all the servers.

Use the no form of this command to use the default facility value, which is local7.

Only one facility is supported for all protocol modules across all the configured logging servers.

Command Syntax

Copy
logging remote facility (local0|local1|local2|local3|local4|local5|local6|local7|user)
no logging remote facility

Parameters

facility

Entity logging the message (user defined); if not specified, the default is local7

local0

Local0 entity

local1

Local1 entity

local2

Local2 entity

local3

Local3 entity

local4

Local4 entity

local5

Local5 entity

local6

Local6 entity

local7

Local7 entity (default)

user

User entity

Default

7

Command Mode

Configure mode

Applicability

This command was introduced in OcNOS version 4.1.

Examples

Copy
#configure terminal
(config)#logging remote facility local 6
(config)#no logging remote facility