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