Configuring a Cisco IOS Router

Firmware: ALL

Collector: Network Collector - Syslog

To configure a Cisco IOS router to send log messages to TLC:

1. Log in to the router with admin rights.
2. For Cisco IOS 12.0.3, enter the following commands:

enable

configure terminal

logging on

logging host <Manager_IP>

logging trap <security_level>

show logging

For all other versions, enter:

enable

configure terminal

logging on

service timestamps log datetime localtime

logging <Manager_IP>

Where:

<Manager_IP> is the IP address or host name of the TLC Manager to which the router will send log messages, and

<security_level> is the highest security level (0-7) of log messages to be sent to the Manager (see Table 126). For example, enter "3" to have the router forward all log messages with a security level of 0, 1, 2, or 3.

3. Save the new configuration or retain it as the default running configuration.

Note 

The show logging command displays the addresses and security levels associated with the current logging setup. The command output also includes ancillary statistics.

Table 126. Cisco IOS security levels

Security Level

Keyword

Description

Syslog Definition

0

emergencies

System is unusable

LOG_EMERG

1

alerts

Immediate action is needed

LOG_ALERT

2

critical

Critical conditions exist

LOG_CRIT

3

errors

Error conditions exist

LOG_ERR

4

warnings

Warning conditions exist

LOG_WARNING

5

notification

Normal, but significant, conditions exist

LOG_NOTICE

6

informational

Informational messages

LOG_INFO

7

debugging

Debugging messages

LOG_DEBUG

Next

If you are performing initial configuration of your TLC environment, see Configuring your TLC Environment.

Otherwise, see Adding a Monitored Asset for a new Log Source.