< Home

Example for Configuring the FW to Output Debugging Information to the Console

This section provides a configuration example for outputting debugging information to the console.

Networking Requirements

As shown in Figure 1, a PC connects to the console port of the FW. Debugging information generated on the ARP module must be output to the console.

Figure 1 Networking of outputting debugging information to the console

Configuration Roadmap

  1. Enable the information center.

  2. Configure the module that is allowed to output debugging information.

  3. Configure the channel through which the debugging information is output.

  4. Enable the terminal monitor function and display the debugging information.

Procedure

  1. Enable the information center.

    <FW> system-view
    [FW] info-center enable

  2. Allow the debugging on the ARP module to be output to the Console with the severity of the information as debugging.

    [FW] info-center console channel console
    [FW] info-center source arp channel console debug level debugging
    [FW] quit

  3. Enable the terminal monitor function and display the debugging information.

    <FW> terminal monitor
    <FW> terminal debugging

  4. Enable ARP module debugging.

    <FW> debugging arp packet

Configuration Files

#
 sysname FW
#
 info-center source ARP channel 0
#
return
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.