Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

system syslog host <hostname> facility <facility> level <level>

Specifies which messages are sent to the remote syslog server.

set system syslog host hostname facility facility level level
delete system syslog host hostname facility [ facility [ level ] ]
show system syslog host hostname facility [ facility [ level ] ]
hostname
Leaf-list. An IP address or a host name. The host must be running the syslog protocol. A host name can include numbers, letters, hyphens (-), and such other commonly used characters. The IP address must follow one of the addressing standards: X.X.X.X or [x:x:x:x:x:x:x:x]. All host formats may have a :port suffix. The IPv6 address must be enclosed in square brackets ([ ]) to delimit the address and port.

You can send log messages to multiple hosts by creating multiple host configuration nodes.

facility
Leaf-list. The kinds of messages that are sent to the host. Refer to system syslog for the system syslog command for supported logging facilities.

You can send the log messages of multiple facilities to a host by creating multiple facility configuration nodes within the host configuration node.

level
The minimum severity level of log message that are reported. The level is any of emerg, alert, crit, err, warning, notice, info, or debug. Refer to “Usage Guidelines” for the system syslog command for the meanings of these levels.

By default, messages of err severity are logged to hosts.

Configuration mode


system {
    syslog {
        host hostname {
            facility facility {
                level level
            }
        }
    }
}

Use this command to specify which messages are sent to the remote syslog server.

Use the set form of this command to specify which messages are sent to the remote syslog server.

Use the delete form of this command to restore the default file message configuration for the remote syslog server log.

Use the show form of this command to display the configuration for the remote syslog server.