
Monitoring and Management Tools
SP Switch Router logs
cmd=MSGP- command code (MSGP is a print message)
'[RX] Combus_skip: 152 words skipped\r\n' - Message text
The host name indicates which SP Switch Router is logging the message.The media card address consists of the chassis number (always zero), the slot number, and the interface number (both in hex). The protocol header fields can be ignored, except that the hwtype field indicates whether the control board or a media card is issuing the message. The cmd=MSGP indicates this is a printf to the console, and the printf text follows it in single quotes. The log interprets control characters in
Sample gr.boot log
When a media card boots, information about its boot status is written to gr.boot. Lines at Mar 24 show the release of a boot image for the dev1 and other media card receive and transmit ports. Here is a sample gr.boot log from the SP Switch Router with host name tester.site.com.
Mar 23 11:08:38 tester grboot[27388]: Starting up (after openlog)...
Mar 23 11:08:38 tester grboot[27389]: read packet from 0:0x3:0 (cmd=BOOTME)
Mar 23 11:08:38 tester grboot[27389]: grinch dump config (2.12.2.4.7.2.3.3=0x14)
Mar 23 11:08:38 tester grboot[27389]: grinch card death state (2.12.2.4.5.4=0x2)
Mar 23 11:08:38 tester grboot[27389]: sending ACKBOOTME to 0:0x3:0
Mar 23 11:08:38 tester grboot[27389]: past
Mar 23 11:08:38 tester grboot[27389]: past receive(); exiting main()
Mar 23 11:08:39 tester grboot[27390]: Starting up (after openlog)...
Mar 23 11:08:39 tester grboot[27391]: read packet from 0:0x3:0 (cmd=LOAD)
Mar 23 11:08:39 tester grboot[27391]: exec /usr/nbin/grload.sh
Mar 23 11:08:40 tester log2[27398]: grload exec /usr/nbin/grload
Mar 24 10:10:24 tester grbootd[208]: boot image ager scheduled for 60s
Mar 24 10:11:24 tester grbootd[208]: freeing boot image for /usr/libexec/portcards /hippi.run (age 6)
Mar 24 10:11:24 tester grbootd[208]: freeing boot image for /usr/libexec/portcards /runload.run (age 6)
Mar 24 10:11:24 tester grbootd[208]: freeing boot image for /usr/libexec/portcards /hssi_tx.run (age 6)
Mar 24 10:11:24 tester grbootd[208]: freeing boot image for /usr/libexec/portcards /dev1_tx.run (age 6)
Mar 24 10:11:24 tester grbootd[208]: freeing boot image for /usr/libexec/ portcards /dev1_rx.run (age 6)
Mar 24 10:11:24 tester grbootd[208]: freeing boot image for /usr/libexec/portcards /hssi_rx.run (age 6)
Mar 24 10:11:24 tester grbootd[208]: freeing boot image for /usr/libexec/portcards /fddi.run (age6)
Mar 24 10:11:24 tester grbootd[208]: freeing boot image for /usr/libexec/portcards /xlxload.run (age 6)
Mar 24 10:11:24 tester grbootd[208]: 1 boot images resident (1 max)
Figure 3-3. Sample entries in the gr.boot log
SP Switch Router Adapter Guide - 1.4 Update 2 |