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

S600-E V200R011C10 Configuration Guide - Network Management and Monitoring

This document provides the configurations of network management and monitoring features supported by the product, including SNMP, RMON, LLDP, NQA, Service Diagnosis, Mirroring, Packet Capture, and sFlow.
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).
Configuring Service Diagnosis

Configuring Service Diagnosis

Context

Service diagnosis affects system performance. Therefore, enable service diagnosis only when fault locating is required. After locating faults, immediately run the undo trace enable command to disable service diagnosis.

When locating faults of DHCP, AAA, or NAC service during user access, maintenance personnel can create diagnosis objects to diagnose services and locate the faults.

Users with different services have different attributes. Create diagnosis objects for different services based on different attributes.

  • DHCP service: based on the MAC address.
  • AAA and NAC services: based on the MAC address, IP address, user name, user VLAN ID, access mode, or interface number.
NOTE:

The configurations of the trace enable and trace syslog source commands are not recorded in the configuration file. After the device restarts, run these commands again to make service diagnosis take effect.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run trace enable [ brief ]

    Service diagnosis is enabled.

    By default, service diagnosis is disabled.

    • The trace enable brief command configures the device to output brief service diagnosis information.
    • The trace enable command configures the device to output detailed service diagnosis information.

  3. Run trace object { mac-address mac-address | ip-address ip-address [ vpn-instance vpn-instance-name ] | interface interface-type interface-number | user-vlan user-vlan-id [ qinq-vlan qinq-vlan-id ] | user-name user-name | access-mode { dot1x | mac-authen | portal } } * [ output { command-line | file file-name | syslog-server syslog-server-ip } ]

    A diagnosis object is created.

    By default, no diagnosis object is created. If you do not specify the direction at which information is exported, the default direction is the CLI.

    NOTE:

    It is recommended that you export the diagnosis information to a specified file.

    The diagnosis output file cannot exceed 1 MB. The excessive diagnosis information is not recorded.

  4. (Optional) Run save trace information

    Diagnosis information in the device buffer is saved as a file.

    When you specify the device to export diagnosis information as a file, to view real-time diagnosis information, save diagnosis information in the buffer area as a file.

  5. (Optional) Run trace syslog source interface-type interface-number

    An interface is configured for exporting diagnosis information to a log server.

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

    When you specify the device to export diagnosis information to a log server, configure an interface for exporting diagnosis information to the log server.

Verifying the Configuration

  • Run the display trace information command to view information about service diagnosis.
  • Run the display trace instance [ instance-start-id [ instance-end-id ] | mac-address mac-address | ip-address ip-address [ vpn-instance vpn-instance-name ] | interface interface-type interface-number | cid cid ] command to view diagnosis instances on the device.

  • Run the display trace object [ service-object-id ] command to view the configuration about a diagnosis object.

Translation
Download
Updated: 2019-03-30

Document ID: EDOC1000178020

Views: 63146

Downloads: 7

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