No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fit AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
trace syslog source

trace syslog source

Function

The trace syslog source command sets the source interface from which the device exports diagnosis information to a log server.

The undo trace syslog source command cancels the configuration of the source interface from which the device exports diagnosis information to a log server.

By default, no interface is specified to export diagnosis information to the log server.

Format

trace syslog source interface-type interface-number

undo trace syslog source

Parameters

Parameter Description Value
interface-type interface-number

Specifies the type and number of an interface.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage scenario

After you specify an interface for exporting diagnosis information to a log server, the system specifies the IP address of this interface as the source IP address of service diagnosis packets. In this way, the log server can identify the source of diagnosis information.

Prerequisites

The device has been configured to export diagnosis information to a log server using the trace object command.

Precautions

The trace syslog source command is not recorded in the configuration file. After the device restarts, the configured source interface for exporting diagnosis information is invalid. To set the source interface, run the trace syslog source command again.

Example

# Set VLANIF100 as the source interface for exporting diagnosis information to the log server.

<Huawei> system-view
[Huawei] trace syslog source vlanif 100
Related Topics
Translation
Download
Updated: 2019-07-18

Document ID: EDOC1100064353

Views: 109173

Downloads: 85

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next