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

FusionServer Tools 2.0 InfoCollect User Guide 32

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).
Collecting Switch Module Log Files

Collecting Switch Module Log Files

Scenario

Collect switch module log files of a remote server using the local console (which refers to the laptop running Windows of a service engineer).

Prerequisites

Conditions

  • A Huawei E9000 server is available.
  • The InfoCollect directory has sufficient available disk space for storing collected log files.
  • The IP address of the MM910 on the target server must be pinged.

If you want to connect your local PC directly to the MM910 using a network cable but the MGMT port on the active MM910 is already connected with a network cable, do not remove the network cable from the MGMT port on the active MM910. Otherwise, an active/standby switchover of the MM910s will be triggered, which may cause network interruption. You can connect the network cable from the local PC to the STACK port of the active MM910 in the chassis. If the STACK port on the active MM910 is also used, connect the network cable to an idle STACK port on an active MM910 in a chassis cascaded with the E9000 chassis.

Procedure

  1. Go to the InfoCollect_GUI folder. Figure 3-35 shows the files in the folder.

    Figure 3-35 Files in the InfoCollect_GUI folder

  2. Right-click InfoCollect.exe and choose Run as administrator.

    The window shown in Figure 3-36 is displayed.

    Figure 3-36 Main window of InfoCollect

  3. In the Select Device Type area, select E9000.

    The E9000 server log collection window is displayed, as shown in Figure 3-37. Table 3-7 describes the parameters in the MM910 area.

    Figure 3-37 E9000 log collection window
    Table 3-7 Parameter description

    Information

    Parameter

    Description

    MM910

    MM IP

    Management module IP address of the target server.

    User Name

    Management module user name of the target server. The default value is root.

    Password

    Password for logging in to the management module of the target server using the network port IP address.

    SSH Port

    The default value is 22. It must be the same as the SSH port number of the target server.

  4. Enter the MM910 IP address, user name, and password of the target server, and click Connect.

    InfoCollect V138 or later supports the proxy service. The requirements on the proxy server are as follows:

    • The proxy server must be a Linux host. The Red Hat and SUSE OSs are preferred.
    • The SSH server of the proxy server must be configured as follows to enable the forwarding function and enable the forwarding port externally.
      • Enable AllowTcpForwarding.
      • Enable GatewayPorts.

    To use the proxy, click SSH Proxy in the upper right corner. In the dialog box shown in Figure 3-4, select SSH Proxy, and set the parameters.

    Figure 3-38 SSH Proxy

    The parameters are described as follows:

    • SSH Proxy IP: specifies the IP address of the proxy server.
    • Server Port: specifies the port number. The default value is 22.
    • User Name: specifies the user name.
    • Password: specifies the password.

    Connect to the management module to obtain the available slot and switch module information, as shown in Figure 3-39.

    Figure 3-39 Obtaining device information

  5. Select the switching plane whose logs need to be collected, as shown in Figure 3-40. The switching plane information can be collected in either of the following modes:

    • Collection with an IP address: Enter the IP address, user name, and password. To obtain the IP address, click Config switch. Table 3-8 describes the fields in Config switch. For details, see 7 to 11.
    • Collection without an IP address: The switching plane information can be collected without an IP address. This mode is used when the user cannot provide an IP address. If no IP address is available, only basic information about the Ethernet and FC planes is collected. Table 3-9 lists the information to be collected. For details, see 6.
      Figure 3-40 Selecting the switching plane
      Table 3-8 Parameter description

      Information

      Parameter

      Description

      Config switch

      User Name

      Switch module administrator user name of the target server. The default value is admin.

      Password

      Password for logging in to the switch module of the target server.

      IP

      Switch module IP address of the target server.

      NetMask

      Switch module subnet mask of the target server.

      Gateway

      Switch module gateway of the target server.

    InfoCollect V138 or later supports the proxy service. The requirements on the proxy server are as follows:

    • The proxy server must be a Linux host. The Red Hat and SUSE OSs are preferred.
    • The SSH server of the proxy server must be configured as follows to enable the forwarding function and enable the forwarding port externally.
      • Enable AllowTcpForwarding.
      • Enable GatewayPorts.

    To use the proxy, click SSH Proxy in the upper right corner. In the dialog box shown in Figure 3-4, select SSH Proxy, and set the parameters.

    Figure 3-41 SSH Proxy

    The parameters are described as follows:

    • SSH Proxy IP: specifies the IP address of the proxy server.
    • Server Port: specifies the port number. The default value is 22.
    • User Name: specifies the user name.
    • Password: specifies the password.
    NOTE:

    Set User Name to an administrator (for example, admin) for collecting log files.

  6. If no IP address is available, only basic information about the Ethernet and FC planes is collected. You can directly enter the administrator user name and password and click Start. A dialog box is displayed, as shown in Figure 3-42.

    Figure 3-42 Prompt message

    Click OK to start the collection. After the collection is complete, click Log directory to obtain logs.

    Table 3-9 lists the collected switching plane information.

    Table 3-9 Basic switching plane information collected when no IP address is provided

    Switching Plane Type

    Command

    Function

    Ethernet plane (VRP5)

    display version

    Views the version of the switch modules.

    display vlan

    Views information about all VLANs.

    display cpu-usage

    Views the statistics about the CPU usage.

    display memory-usage

    Views the memory usage of the switch modules.

    display ip routing-table

    Displays information about an IPv4 routing table.

    display arp

    Displays ARP mapping entries of a specified interface board.

    display current-configuration

    Views the currently running configurations on the switch modules.

    display interface

    Views the running status and configuration of an interface and statistics about packets sent and received by the interface.

    display transceiver diagnosis interface

    Views the diagnosis information of an optical transceiver.

    display monitor-link group all

    Displays information about all Monitor Link groups.

    display smart-link group all

    Displays information about all Smart Link groups.

    display stp

    Displays the status of and statistics on a spanning tree instance.

    display stp brief

    Displays the brief status of and statistics on a spanning tree instance.

    display trapbuffer

    Displays the information recorded in the alarm buffer.

    Ethernet plane (VRP8)

    display version

    Views the version of the switch modules.

    display vlan

    Views information about all VLANs.

    display cpu

    Views the statistics about the CPU usage.

    display memory

    Views the memory usage of the switch modules.

    display health

    Displays the health status of the device.

    display cpu-defend statistics all

    Indicates all switches in a stack if stacking is enabled, or the switch itself if stack is disabled.

    display stack

    Displays information about the member switches in a stack.

    display switchover state

    Displays information about master and slave switchover, which helps check whether the stack meets switchover requirements.

    display stack configuration

    Displays the stackconfiguration.

    display stack topology

    Displays stacktopology information.

    display dual-active

    Displays the dual-active detection (DAD) configuration.

    display mac-address

    Views information about a MACaddress table.

    display mac-address flapping

    Displays MACaddressflapping records.

    display ip routing-table

    Displays information about an IPv4 routing table.

    display arp

    Displays ARP mapping entries of a specified interface board.

    display alarm active verbose

    Displays active alarms on the device.

    display alarm history verbose

    Displays historical alarms on the device.

    display current-configuration

    Views the currently running configurations on the switch modules.

    display interface

    Views the running status and configuration of an interface and statistics about packets sent and received by the interface.

    display interface transceiver verbose

    Displays information about the optical module on the interface of the device.

    display monitor-link group all

    Displays information about all Monitor Link groups.

    display smart-link group all

    Displays information about all Smart Link groups.

    display stp

    Displays the status of and statistics on a spanning tree instance.

    display stp brief

    Displays the brief status of and statistics on a spanning tree instance.

    display trapbuffer

    Displays the information recorded in the alarm buffer.

    MX210&MX220

    switchshow

    Displays switch and port status.

    firmwareshow

    Displays the firmware version and download history.

    nsshow

    Displays the name server registration information. This command is supported only in Native mode.

    cfgshow

    Displays zone configuration information. This command is supported only in Native mode.

    defzone --show

    Displays default zone configuration. This command is supported only in Native mode.

    ag --show

    Display the current state of the Access Gateway with Failover (FO) and Failback (FB) enabled onN_Ports 9 and 12. This command is supported only in Native mode.

    portshow

    Displays status and configuration parameters for ports and GbE ports.

    errdump

    Displays the error log without pagination.

    sfpshow

    Displays Small Form-factor Pluggable (SFP) transceiver information.

    MX510

    show about

    Displays an introductory set of information about operational attributes of the MX510 mezzanine module.

    show topology

    Displays information about devices connected to the switch. This command is supported only in Full Fabric mode.

    show ns all

    Displays the WWNs for devices in the fabric. This command is supported only in Full Fabric mode.

    zoning list

    Lists all zoning definitions, including the applicable zoning database. This command is supported only in Full Fabric mode.

    show config zoning

    Displays zoning configuration parameters for the MX510 mezzanine module. This command is supported only in Full Fabric mode.

    show transparent links

    Shows the connections for the specified port on a transparent module. This command is supported only in Transparent mode.

    show config port

    Displays configuration parameters for one or more ports.

    show port

    Displays operational information for one or more ports.

    vlan list

    Displays VLAN information.

    show alarm

    Displays the alarm log and session output stream display setting.

    show log

    Displays the contents of the log or the parameters used to create and display entries in the log. The logcontains a maximum of 1200 entries. When the log reaches its entry capacity, subsequent entriesoverwrite the existing entries, beginning with the oldest.

    show media all

    Displays transceiver operational and diagnostic information for one or more external ports.

  7. Click Config switch.

    The Config Switch dialog box is displayed, as shown in Figure 3-43.

    Figure 3-43 Config Switch

  8. Enter the user name for whom the logs are to be collected and the corresponding password, and click Query.

    The dialog box shown in Figure 3-44 is displayed.

    Figure 3-44 Dialog box

    The system automatically obtains the switch module IP address, subnet mask, and gateway, as shown in Figure 3-45.

    Figure 3-45 Automatically obtaining information
    NOTE:

    You can manually enter the new IP address and subnet mask in the Config Switch dialog box and click Config to change the IP address and subnet mask.

  9. Click OK and close the Config Switch dialog box.

    The switch module log collection window is displayed, as shown in Figure 3-46.

    Figure 3-46 Switch module log collection window

  10. Click Start.

    Log file collection starts. See Figure 3-47.

    Figure 3-47 Collecting log files
    NOTE:
    • The log collection takes several minutes.
    • To stop the collection, click Stop.

    The log file collection is successful if the message collect log successfully is displayed. See Figure 3-48.

    Figure 3-48 Information indicating that log file collection is complete

  11. Click Log directory.

    Log files are obtained.

Translation
Download
Updated: 2019-01-09

Document ID: EDOC1000093346

Views: 45965

Downloads: 4601

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