Configure Cisco IOS

Prev Next
  1. Open a secure connection to the console of your Cisco IOS device, then go into enable mode.

    Router> enable

    Note

    Depending on your configuration, you might need to enter a password.

  2. Once in enable mode, go into global configuration mode.

    Router# configure terminal
    Router(config)#
  3. Enable the syslog message.

    Note

    System messages are enabled by default. If logging is disabled, use this command to enable it or to ensure that it is on.

    Router(config)# logging on

    By default, this only logs to the console. Use this command to enable logging to send to a specific host, such as the Trellix Event Receiver. The host argument is the name or IP address of the host.

    Router(config)# logging <host>
  4. Enable time stamps for logs.

    Router(config)# service timestamps log datetime localtime
    Router(config)# service timestamps debug datetime localtime
  5. Adjust the security level with this command.

    Router(config)# logging trap <level>

    Emergency

    0

    System unusable messages

    Alert

    1

    Immediate action required messages

    Critical

    2

    Critical condition messages

    Error

    3

    Error condition messages

    Warning

    4

    Warning condition messages

    Notification

    5

    Normal but significant messages

    Information

    6

    Informational messages

  6. Save changes and exit:

  7. Close out of config mode.

    Router(config)# exit
  8. Save changes.

    Router# copy running-config startup-config

    Or:

    Router# copy run start
  9. Exit from enable mode.

    Router# disable
    Router>