Configuring the SP Switch Router Adapter

Step 3. Change profile settings

Change dump defaults for all dev1 cards - Dump profile

Global values for dump settings are at the Dump profile. These settings are usually changed only for debug purposes. Default settings are shown in this example.

The keep-countfield specifies how many dumps are compressed and stored at one time for each media card. The file system can store the default setting of 2 which actually stores four dumps per day (the current dump, the first dump of the day, and two additional dumps). Use caution if you change the recommended default.

Here is the path, default settings are shown:

super> read dump DUMP read

super> list

hw-table = <{hippi 20 /var/portcards/grdump 0} {rmb 20 /var/portc+ dump-vector-table = <{3 rmb "RMB default dump vectors" < {1 SRAM 2+ config-spontaneous = off

keep-count = 2

The hw-tablefield has settings to specify when dumps are taken and where dumps are stored. Here is the path to examine the global SP Switch Router Adapter settings:

super> list hw-table

hippi = { hippi 20 /var/portcards/grdump 0 } rmb = { rmb 20 /var/portcards/grdump 3 } hssi = { hssi 20 /var/portcards/grdump 7 } dev1 = { dev1 20 /var/portcards/grdump 9 }

atm-oc3-v2 = { atm-oc3-v2 20 /var/portcards/grdump 5 } fddi-v2 = { fddi-v2 20 /var/portcards/grdump 6 } atm-oc12-v1 = { atm-oc12-v1 20 /var/portcards/grdump 10 } ethernet-v1 = { ethernet-v1 20 /var/portcards/grdump 8 } sonet-v1 = { sonet-v1 20 /var/portcards/grdump 11 } atm-oc12-v2 = { atm-oc12-v2 20 /var/portcards/grdump 14 }

super> list dev1 media = dev1 config = 20

path = /var/portcards/grdump

In the config field you can specify when dumps will be taken by using a value that represents a certain event or several such events. You can specify the value in either hex or decimal. However, after you save (write) your specified value and you later read the field, the setting is always displayed in decimal. Here are the hex values for dump events:

0x0001 - dump always (override other bits)

0x0002 - dump just the next time the card reboots

0x0004 - dump on card panic

0x0008 - dump whenever card is reset

0x0010 - dump whenever card is hung

0x0020 - dump on power up

2-28

SP Switch Router Adapter Guide - 1.4 Update 2

Page 62
Image 62
Lucent Technologies 9076, 9077 16S, 9077 04S manual Change dump defaults for all dev1 cards Dump profile