
Configuring Syslog Services
308659-14.00 Rev 00
G-11
To enable Syslog services, you must configure at least one host to receive Syslog
messages from the router, and at least one entity filter to capture messages for that
host.
Configuring a Remote Host to Receive Router Syslog Messages
You must define which remote hosts you want to receive Syslog (event) messages
from the router. To define a host, navigate to the
syslog
context and enter:
log-host address
<IP_address>
IP_address
is the address of the remote host to receive Syslog messages.
For example, to point the Syslog service to the remote host at IP address
192.168.3.4, enter:
box#
syslog
syslog#
log-host address 192.168.3.4
log-host/192.168.3.4#
You can point the Syslog service to additional remote hosts, up to the value
configured for the Syslog maximum-hosts parameter. To increase or decrease the
maximum number of hosts, refer to “Defining the Maximum Number of Remote
Hosts” on page G-21.
Creating Entity Filters for the Remote Host
After you define a remote host, you must configure at least one entity filter for it.
Syslog messaging to that host cannot begin until you create this filter.
To create a filter for a remote host, navigate to the
log-host
context and enter:
filter name
<filter_name>
entity
<entity_name>
filter_name
is any name you want to assign to this filter.
entity_name
is one of the BCC values for the entity parameter.
Example:
box#
syslog
syslog#
log-host address 192.168.3.4
log-host/192.168.3.4#
filter name telnet-sessions entity telnet
filter/192.168.3.4/telnet-sessions#
Komentáře k této Příručce