< Home

Trap Setting

Context

This page is displayed only when the SNMP agent status in SNMP Setting is set to ON.

A trap is an alarm message sent from the managed device to the NMS to notify administrators of the network faults. After receiving a trap from a managed device, the NMS does not need to reply.

Procedure

  • Configure the trap function.
    1. Choose Maintenance > System Maintenance > SNMP and click the Trap Setting tab, as shown in Figure 1.

      Figure 1 Trap Setting

      Table 1 describes parameters in the Trap Setting area.

      Table 1 Trap parameters

      Parameter

      Description

      SNMP Trap

      Specifies whether to enable the switch to send traps to the NMS.

      TTL of trap messages (s)

      Sets the TTL of traps. If the TTL expires, the traps are discarded.

      Length of the trap message queue

      Specifies the length of the queue for traps sent to target hosts.

      Trap Source Interface

      Specifies the source port for sending traps.

    2. Set parameters.
    3. Click Apply to complete the configuration.
  • Create a trap target host.
    1. Choose Maintenance > System Maintenance > SNMP and click the Trap Setting tab, as shown in Figure 1.
    2. Click Create in Destination host receiving traps to open the Create Trap Host page, as shown in Figure 2.

      Figure 2 Creating a trap target host

      Table 2 describes parameters in the Create Trap Host dialog box.

      Table 2 Trap host parameters

      Parameter

      Description

      Destination host IP address

      Specifies the IP address of the target host.

      UDP port number of destination host

      Specifies the number of the port for receiving traps on the target host.

      Trap version

      Specifies the SNMP version matching the trap messages, including:

      • v1: SNMPv1.
      • v2c: SNMPv2c.
      • v3: SNMPv3.

      User name

      Specifies the user name displayed on the NMS.

      Security level

      This parameter is mandatory when the trap version is v3. Security levels include:

      • No-auth&no-encrypt
      • Auth&no-encrypt
      • Auth&encrypt

    3. Set parameters.
    4. Click OK. The configuration is complete.
  • Modify a trap target host.
    1. Choose Maintenance > System Maintenance > SNMP and click the Trap Setting tab, as shown in Figure 1.
    2. Click the IP address of a trap target host you want to modify to access the Modify Trap Host page. Table 2 describes the parameters on the page.
    3. Modify the configuration parameters. Destination host IP address and User name cannot be modified.
    4. Click OK.
  • Delete a trap target host.
    1. Choose Maintenance > System Maintenance > SNMP and click the Trap Setting tab, as shown in Figure 1.
    2. Select the trap target host you want to delete and click Delete. The system asks you whether to delete the trap target host.
    3. Click OK.
  • Update trap target host information.
    1. Choose Maintenance > System Maintenance > SNMP and click the Trap Setting tab, as shown in Figure 1.
    2. In the Destination host receiving traps area, click Refresh.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic