logging host

Description                                                    Specify a Syslog server to which to send event messages.

Syntax                                                                  [no] logging host ipaddr [port protocol-port [tcp]] [use-mgmt-port]

Parameter

Description

ipaddr

IP address of the Syslog server.

protocol-port

Protocol port number to which to send messages (1-32767).

tcp

Use TCP as the transport protocol.

use-mgmt-port

Establish the connection to the Syslog server using the management port.

 

Default                                                                The default protocol port is 514.

Mode                                                                   Global configuration

Usage                                                                  Multiple log servers can be created by using the logging host command once for each server. If you use the command with the same IP address as an existing logging server, it replaces any existing configuration for that existing server.

Example                                                            The following command configures two external log servers. In this example, both servers use the default syslog protocol port, 514, to listen for log messages.

ACOS(config)#logging host 10.10.10.1

ACOS(config)#logging host 10.10.10.2

 

Table of Contents

Index

Glossary

-Search-

Back