beautypg.com

Configuring the time zone for user logs, Configuring user logging at the cli, User logging configuration task list – H3C Technologies H3C SecBlade LB Cards User Manual

Page 49: Configuring the user logging version

background image

40

Configuring the time zone for user logs

User logs can be recorded in UTC or localtime:

UTC—Coordinated Universal Time, loosely defined as current date and time of day in Greenwich,
England.

Localtime—Coordinated Universal Time (UTC) plus the UTC offset.

To configure the time zone for user logs:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Configure the system to record
user logs in localtime.

userlog flow export

timestamps localtime

Optional.
By default, userlogs are recorded in UTC.

Configuring user logging at the CLI

At the CLI, user logging is also known as "flow logging."

User logging configuration task list

Task Remarks

Configuring the user logging version

Optional.

Configuring the source address for user logging packets

Optional.

Exporting user logs

Exporting user logs to log servers

Required.
Use either method.

Exporting user logs to the information center

Configuring the user logging version

Configure the user logging version according to the receiver capability. A receiver cannot resolve user

logs correctly if it does not support the version of the user logs.
To configure the user logging version:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Configure the user
logging version.

userlog flow export version

version-number

Optional.
The default version is 1.0.
Although the device supports two versions, only

one can be active at one time. Therefore, if you

configure the user logging version multiple
times, the most recent configuration takes effect.

This manual is related to the following products: