Download Print this page

Cisco Dial NMS Implementation Manual page 78

Cisco systems basic dial nms implementation guide

Advertisement

To inspect syslog messages by using Cisco IOS commands, Unix commands, FTP, and a web browser,
follow these steps:
From the Cisco IOS device, create basic syslog messages by entering these commands:
travis-nas-01#configure terminal
Enter configuration commands, one per line.
travis-nas-01(config)#^Z
travis-nas-01#configure terminal
Enter configuration commands, one per line.
travis-nas-01(config)#^Z
travis-nas-01#
From the syslog server, verify that the syslog messages went in to the log file. Enter the tail -f command
to monitor the last 10 lines of an active log file. To exit tail -f mode, press Ctrl-C.
aurora:/etc ->tail -f /var/log/router.log
May 26 17:43:12 [172.21.101.20.6.122] 629: May 26 20:35:23.551 CST: %SYS-5-CONFIG_I:
Configured from console by vty0 (172.22.61.200)
May 26 17:51:15 [172.21.101.20.6.122] 630: May 26 20:43:27.068 CST: %SYS-5-CONFIG_I:
Configured from console by console
May 26 17:51:19 [172.21.101.20.6.122] 631: May 26 20:43:30.932 CST: %SYS-5-CONFIG_I:
Configured from console by console
May 26 17:54:38 [172.21.101.20.6.122] 632: May 26 20:46:50.344 CST: %SYS-5-CONFIG_I:
Configured from console by vty0 (172.22.61.200)
^C
aurora:/etc ->
View the syslog messages in a web browser. Notice the wide horizontal scroll bar, which is helpful for
viewing debug messages and modem call records.
ftp://sam@172.23.84.22/var/log/router.log
End with CNTL/Z.
End with CNTL/Z.

Advertisement

loading