Name

logging host — global

Synopsis

logging host machine-name [xml]
no logging host machine-name [xml]

Configures

The logging syslog server

Default

Not enabled

Description

This command sets the hostname of the syslog server to which the router should send its system messages. The machine-name can be a hostname or IP address of the server. The optional xml keyword specifies that the log messages be sent in XML format.

Get Cisco IOS in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.