< Home

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 restores the default 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

Usage Guidelines

If the device uses the default source interface to send information to the log host, attackers may keep accessing this interface. As a result, the log host cannot send information. To improve system security, you can run the info-center loghost source-port source-port command to change the source interface through which the device sends information to the log host so that attackers cannot obtain the new source interface.

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 >