info-center loghost source-port

Function

The info-center loghost source-port command configures a source interface through which the device sends information to the log host.

The undo info-center loghost source-port command deletes the configuration of the source interface through which the device sends information to the log host.

By default, the source interface number is 38514.

Format

info-center loghost source-port source-port

undo info-center loghost source-port

Parameters

Parameter Description Value
source-port

Specifies the number of the source interface through which the device sends information to the log host.

The value is an integer ranging from 1025 to 65535.

Views

System view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
log write

Usage Guidelines

To harden system security, run the info-center loghost source-port command to change the number of the source interface through which the device sends information to the log host.

Example

# Change the number of the source interface through which the device sends information to the log host to 1026.
<HUAWEI> system-view
[~HUAWEI] info-center loghost source-port 1026
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >