< Home

display snmp-agent trap feature-name mid_web all

Function

The display snmp-agent trap feature-name mid_web all command displays the status of all traps on the web authentication module.

Format

display snmp-agent trap feature-name mid_web all

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

After enabling the trap function for the web authentication module, you can run this command to check the status of all traps on the web authentication module. To enable the trap function for the web authentication module, run the snmp-agent trap enable feature-name mid_web command.

Prerequisites

The SNMP function has been enabled on the device. For details, see snmp-agent.

Example

# Display the status of all traps on the web authentication module.

<HUAWEI> display snmp-agent trap feature-name mid_web all
------------------------------------------------------------------------------                                                      
Feature name: MID_WEB                                                                                                               
Trap number : 4                                                                                                                     
------------------------------------------------------------------------------                                                      
Trap name                       Default switch status   Current switch status                                                       
hwPortalServerUp                on                      on                                                                          
hwPortalServerDown              on                      on                                                                          
hwPortalMaxUserAlarm            on                      on                                                                          
hwPortalUserClearAlarm          on                      on 
hwPortalPassDNS                 on                      on  
Table 1 Description of the display snmp-agent trap feature-name mid_web all command output

Item

Description

Feature name

Name of the module to which a trap belongs.

Trap number

Number of traps.

Trap name

Name of a trap. Traps on the web authentication module include:

  • hwPortalServerUp: The device sends a Huawei proprietary trap when it detects that the Portal server changes from Down to Up.

  • hwPortalServerDown: The device sends a Huawei proprietary trap when it detects that the Portal server changes from Up to Down.

  • hwPortalMaxUserAlarm: The device sends a Huawei proprietary trap when the number of online Portal authentication users exceeds the upper threshold.

  • hwPortalUserClearAlarm: The device sends a Huawei proprietary trap when the number of online Portal authentication users falls below the lower threshold.

  • hwPortalPassDNS: The device sends a Huawei proprietary trap when DNS packets are transmitted during Portal authentication.

Default switch status

Default status of the trap function:
  • on: The trap function is enabled by default.

  • off: The trap function is disabled by default.

Current switch status

Trap status:

  • on: The trap is enabled.

  • off: The trap is disabled.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >