Log-target – HP Virtual Connect FlexFabric 10Gb24-port Module for c-Class BladeSystem User Manual

Page 60

Advertising
background image

Command line 60

Item

Description

->show local-users

Displays local user authentication settings

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 IP address or the DNS name of the remote log destination

Severity (optional)

The severity of the log messages that should be sent to the specified destination.

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.

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. Values include

1 to 65536. The default value is 514.

Security (optional)

Secure transmission of the log messages. 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 is set to "TCP".

Format (optional)

The timestamp format for the log messages. 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. 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

->add log-target Destination=2001::34 Port=600

Format=ISO8601 State=Enabled

Adds log target destination using the IPv6 address of 2001::34

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 delete

Example

Advertising