beautypg.com

To set the facility level, To remove a syslogd host from the list, Viewing and saving diagnostic information – HP Brocade 4Gb SAN Switch for HP BladeSystem p-Class User Manual

Page 177: To set the facility, Level

background image

Fabric OS 5.0.0 procedures user guide 177

You can specify up to six host IP addresses for storing syslog messages, as shown in this example:

To set the facility level:

1.

Connect to the switch and log in as admin.

2.

Issue the following command:

syslogdfacility -l

n

where

n

is a number from 0 through 7, indicating a UNIX local7 facility. The default is

7

.

It is necessary to set the facility level only if you specified a facility other than local7 in the host

/etc/syslog.conf

file.

To remove a syslogd host from the list:

1.

Connect to the switch and log in as admin.

2.

Issue the

syslogdipremove

command:

3.

Verify the IP address was deleted using the

syslogdipshow

command.

Viewing and saving diagnostic information

Issue the

supportshow

command to dump important diagnostic and status information to the session

screen, where you can review it or capture its data.

To save a set of files that customer support technicians can use to further diagnose the switch condition,

issue the

supportsave

command. The command prompts for an FTP server, packages the following

files, and sends them to the specified server:

The output of the

supportshow

command

The contents of any trace dump files on the switch

System message logs (for the Core Switch 2/64 and the SAN Director 2/128,

supportsave

saves

the system message logs from both of the CP cards)

switch:admin> syslogdipadd 10.1.2.1

switch:admin> syslogdipadd 10.1.2.2

switch:admin> syslogdipadd 10.1.2.3

switch:admin> syslogdipadd 10.1.2.4

switch:admin> syslogdipadd 10.1.2.5

switch:admin> syslogdipadd 10.1.2.6

switch:admin> syslogdipshow

syslog.IP.address.1 10.1.2.1

syslog.IP.address.2 10.1.2.2

syslog.IP.address.3 10.1.2.3

syslog.IP.address.4 10.1.2.4

syslog.IP.address.5 10.1.2.5

syslog.IP.address.6 10.1.2.6

switch:admin> syslogdipremove 10.1.2.1