< Home

assign logbuffer

Function

The assign logbuffer command sets a guaranteed value for the log buffer of a virtual system.

The undo assign logbuffer command cancels the setting.

Format

assign logbuffer reserved-size reserved-size-value

undo assign logbuffer

Parameters

Parameter Description Value
reserved-size reserved-size-value Specifies the guaranteed value of the log cache for system logs and service logs on a virtual system (the parameter setting takes effect for both system logs and service logs).

The guaranteed value of a log buffer for a single type of logs on a virtual system is as follows:

  • USG6510E/6510E-POE: 1 to 256
  • USG6530E: 1 to 1024
  • USG6515E: 1 to 1024
  • USG6525E: 1 to 1024
  • USG6550E/6560E/6580E: 1 to 1024
  • USG6555E/6565E/6575E-B/6585E/6605E-B: 1 to 1024
  • USG6615E/6625E: 1 to 1024
  • USG6610E/6620E: 1 to 1024
  • USG6635E/6655E: 1 to 1024
  • USG6630E: 1 to 1024
  • USG6650E: 1 to 1024
  • USG6680E: 1 to 1024
  • USG6712E/6716E: 1 to 1024

Views

Virtual system management view

Default Level

2: Configuration level

Usage Guidelines

By default, the guaranteed value of a log buffer on a virtual system is 0, indicating that the log buffer size of a virtual system is not guaranteed.

The log buffer of a virtual system stores the logs (including system logs and service logs) generated by the virtual system. It is independent of the log buffer on the public system. All virtual systems on the device share and preempt system log buffer resources of the virtual system.

You can run the assign logbuffer command to set a guaranteed value for the log buffer of a virtual system. The guaranteed value takes effect for both system logs and service logs. Based on the guaranteed value, the device assigns log buffer resources that cannot be preempted for system logs and service logs for the virtual system. These resources are exclusive to the virtual system.

The sum of the guaranteed values configured for all virtual systems must be smaller than 1/2 of the maximum log buffer size of the virtual systems.

The maximum log buffer size of a virtual system varies according to device models.

  • USG6510E/6510E-POE: 1 to 512
  • USG6530E: 1 to 4096
  • USG6515E: 1 to 4096
  • USG6525E: 1 to 4096
  • USG6550E/6560E/6580E: 1 to 4096
  • USG6555E/6565E/6575E-B/6585E/6605E-B: 1 to 4096
  • USG6615E/6625E: 1 to 4096
  • USG6635E/6655E: 1 to 4096
  • USG6630E: 1 to 4096
  • USG6650E: 1 to 4096
  • USG6680E: 1 to 4096
  • USG6712E/6716E: 1 to 4096

The percentage of the log buffer size for system logs and service logs to the entire log buffer is the same for the public system and virtual systems, namely, 1/2 of the entire log buffer.

Example

# Set the guaranteed value to 10 for the log buffer of virtual system vsys1.

<sysname> system-view
[sysname] vsys name vsys1
[sysname-vsys-vsys1] assign logbuffer reserved-size 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >