www.howtonetwork.org

CCNA & CCNP Certifcation Training

  • About
  • Contact
  • FAQ
  • Join
  • Home
  • CCNA
    • ICND1
    • ICND2
    • 101 CCNA LABS
  • CCNP
    • ROUTE
    • SWITCH
    • TSHOOT
    • 101 CCNP LABS
  • CompTIA
    • Security+
    • Network+
  • Design
    • CCDA
    • CCDP
You are here: Home / 101 CCNA LABS / IP and IOS Features Solutions / Lab 75 Solution: Configuring IOS Device Logging to a SYSLOG server

Lab 75 Solution: Configuring IOS Device Logging to a SYSLOG server

Task 1:

For reference information on configuring hostnames, please refer to:

Lab 35 Configuration and Verification Task 1

Task 2:

Sw1#config t

Enter configuration commands, one per line.  End with CNTL/Z.

Sw1(config)#interface fastethernet0/2

Sw1(config-if)#no shutdown

Sw1(config-if)#exit

Sw1(config)#interface fastethernet0/3

Sw1(config-if)#no shutdown

Sw1(config-if)#^Z

Sw1#

Task 3:

R3#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

R3(config)#logging trap debugging

R3(config)#logging host 192.168.254.254

R3(config)#end

R3#

NOTE: When configuring logging levels, you can use the number or the keyword for the specific level for which you want to enable logging. You can view the correlation between numbers and keywords by using a question mask after the logging trap command as illustrated below:

 

R3(config)#logging trap ?

<0-7> Logging severity level
alerts Immediate action needed (severity=1)
critical Critical conditions (severity=2)
debugging Debugging messages (severity=7)
emergencies System is unusable (severity=0)
errors Error conditions (severity=3)
informational Informational messages (severity=6)
notifications Normal but significant conditions (severity=5)
warnings Warning conditions (severity=4)

Task 4:

R3#show logging

Syslog logging: enabled (0 messages dropped, 1 messages rate-limited, 0 flushes, 0 overruns, xml disabled)

Console logging: disabled

Monitor logging: level debugging, 0 messages logged, xml disabled

Buffer logging: disabled, xml disabled

Logging Exception size (4096 bytes)

Count and timestamp logging messages: disabled

Trap logging: level debugging, 33 message lines logged

        Logging to 192.168.254.254, 1 message lines logged, xml disabled

NOTE: Logging using a level of 7 indicates that the device will send logs for all other levels. If we has a SYSLOG server and performed a configuration task on this router, we would see the log messages on the SYSLOG server.

Prev

Next

About Us

This is a free bonus site for members of www.howtonetwork.com

Copyright

The content on this copyright Reality Press Ltd.
Copyright Reality Press Ltd.