< Home

display snmp-agent trap feature-name mad all

Function

display snmp-agent trap feature-name mad all command displays the status of all traps in the MAD module.

Format

display snmp-agent trap feature-name mad all

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

After the trap function of the MAD module is enabled using the snmp-agent trap enable feature-name mad command, you can run the display snmp-agent trap feature-name mad all command to check the status of all traps in the MAD module.

Prerequisites

SNMP has been enabled using the snmp-agent command.

Example

# Display the status of all the traps in the MAD module.

<HUAWEI>display snmp-agent trap feature-name mad all
------------------------------------------------------------------------------                                                      
Feature name: MAD                                                                                                                   
Trap number : 2                                                                                                                     
------------------------------------------------------------------------------                                                      
Trap name                       Default switch status   Current switch status                                                       
hwMadConflictDetect             on                      on                                                                          
hwMadConflictResume             on                      on
Table 1 Description of the display snmp-agent trap feature-name mad all command output

Item

Specification

Feature name

Name of the module that the trap belongs to.

Trap number

Number of traps.

Trap name

Trap name:

  • hwMadConflictDetect: A MAD conflict is detected.

  • hwMadConflictResume: Existing stacks are merged.

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

Status of the trap function:

  • on: The trap function is enabled.

  • off: The trap function is disabled.

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