Welcome. I hope that you will enjoy and learn something while reading my blogs. Happy reading...

January 29, 2010

How to enable logging on a Cisco router


In order to view the router logs, we have to enable the logging of the router.


Command to enable log in the router

router# config terminal
router(config)# logging buffered




Command to view the logs in the router

router# show logs


Log Buffer (8192 bytes):

*Mar 1 00:00:14.303: %VPN_HW-6-INFO_LOC: Crypto engine: onboard 0 State changed to: Initialized
*Mar 1 00:00:14.307: %VPN_HW-6-INFO_LOC: Crypto engine: onboard 0 State changed to: Enabled
*Mar 1 00:00:18.103: %LINK-3-UPDOWN: Interface FastEthernet0, changed state to up
*Mar 1 00:00:18.103: %LINK-3-UPDOWN: Interface FastEthernet4, changed state to up
*Mar 1 00:00:19.103: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0, changed state to up
*Mar 1 00:00:19.103: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet4, changed state to up
*Mar 1 00:00:22.251: %SYS-6-CLOCKUPDATE: System clock has been updated from 00:00:22 UTC Fri Mar 1 2002 to 00:00:22 GMT Fri Mar 1 2002, configured from console by console.
*Mar 1 00:00:23.579: %LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-Template1, changed state to down
*Mar 1 00:00:23.983: %SYS-5-CONFIG_I: Configured from memory by console
*Feb 29 17:52:11.003: %FW-6-INIT: Firewall inspection startup completed; beginning operation.
 

No comments:

"THY words is the lamp unto my FEET and the light unto my PATH"