Log-target – HP Virtual Connect 4Gb Fibre Channel Module for c-Class BladeSystem User Manual

Page 48

Advertising
background image

Command line 48

log-target

Manage remote log destination settings.
Supported actions: add, help, remove, set, show, test

Item

Description

add log-target

Add a new remote log destination.

Syntax

add log-target <Destination=IpAddress|DNS>

[Severity=<Critical|Error|Warning|Info>]

[Transport=<TCP|UDP>] [Port=<1-65535>]

[Security=<None|STunnel>] [Format=<RFC3164|ISO8601>]

[State=<Enabled|Disabled>]

Properties

Destination

(required)

The IpAddress or the DNS of the remote log destination that has been configured.

Severity (optional)

Severity of the log messages that should be sent to the specified destination. Valid

values include "Critical", "Error", "Warning", and "Info". The default value is
"Info".

Transport (optional) The transport protocol to be used for sending the log messages to the destination.

Valid values include "TCP" and "UDP". The default value is "UDP".

Port (optional)

The port to be used on the destination to send the log messages. Valid values

include 1 to 65536. The default value is 514.

Security (optional)

Secure transmission of the log messages. Valid values include "None" and
"STunnel". The default value is "None", and no encryption is used during

transmission.
The "STunnel" option can be used only if the transport protocol used is TCP.

Format (optional)

The timestamp format for the log messages. Valid values include "RFC3164"
(Nov 26 13:15:55) and "ISO8601" (1997-07-16T19:20:30+01:00). The
default value is "RFC3164".

State (optional)

Enables or disables the remote log destination. Valid values include "Enabled"
and "Disabled". The default value is "Disabled".

Example

->add log-target Destination=192.168.2.1 Port=600

Format=ISO8601 State=Enabled

Adds log-target 192.168.2.1

Item

Description

remove log-target

Remove an existing remote logging destination.

Syntax

remove log-target <ID>

Parameter

ID (required)

The index of the remote log destination to be deleted

Example

->remove log-target 3

Removes log-target index number 3

Item

Description

set log-target

Modify the properties of an existing remote log destination.

Syntax

set log-target <ID> [Destination=<IpAddress|DNS>]

[Severity=<Critical|Error|Warning|Info>]

[Transport=<TCP|UDP>] [Port=<1-65535>]

Advertising