< Home

display snmp-agent trap feature-name asmngtrap all

Function

display snmp-agent trap feature-name asmngtrap all command displays the status of all traps for the ASMNGTRAP module.

This command can only be executed on a parent switch.

Format

display snmp-agent trap feature-name asmngtrap all

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

After the trap function of a specified feature is enabled, you can run the display snmp-agent trap feature-name asmngtrap all command to check the status of all traps of the ASMNGTRAP module. You can use the snmp-agent trap enable feature-name asmngtrap command to enable the trap function of the ASMNGTRAP module.

Prerequisites

SNMP has been enabled. For details, see snmp-agent.

Example

# Display all the traps of the ASMNGTRAP module.

<HUAWEI>display snmp-agent trap feature-name asmngtrap all
------------------------------------------------------------------------------                                                      
Feature name: ASMNGTRAP                                                                                                             
Trap number : 23                                                                                                                    
------------------------------------------------------------------------------                                                      
Trap name                       Default switch status   Current switch status                                                       
hwAsFaultNotify                 on                      on                                                                          
hwAsNormalNotify                on                      on                                                                          
hwAsAddOffLineNotify            on                      on                                                                          
hwAsDelOffLineNotify            on                      on                                                                          
hwAsPortStateChangeToDownNotify                                                                                                     
                                on                      on                                                                          
hwAsPortStateChangeToUpNotify   on                      on                                                                          
hwAsModelNotMatchNotify         on                      on                                                                          
hwAsVersionNotMatchNotify       on                      on                                                                          
hwAsNameConflictNotify          on                      on                                                                          
hwAsSlotModelNotMatchNotify     on                      on                                                                          
hwAsFullNotify                  on                      on                                                                          
hwUnimngModelNotMatchNotify     on                      on                                                                          
hwAsBoardAdd                    on                      on                                                                          
hwAsBoardDelete                 on                      on                                                                          
hwAsBoardPlugIn                 on                      on                                                                          
hwAsBoardPlugOut                on                      on                                                                          
hwAsInBlacklist                 on                      on                                                                          
hwAsUnconfirmed                 on                      on                                                                          
hwAsComboPortTypeChange         on                      on                                                                          
hwAsOnlineFailNotify            on                      on                                                                          
hwAsSlotIdInvalidNotify         on                      on                                                                          
hwAsSysmacSwitchCfgErrNotify    on                      on                                                                          
hwAsSlotOnlineFailNotify        on                      on                
Table 1 Description of the display snmp-agent trap feature-name asmngtrap all command output

Item

Description

Feature name

Name of the module that the trap belongs to.

Trap number

Number of traps.

Trap name

Trap name of the module:

  • hwAsFaultNotify: An AS goes offline.

  • hwAsNormalNotify: An AS goes online.

  • hwAsAddOffLineNotify: An AS has been added offline.

  • hwAsDelOffLineNotify: An AS has been deleted offline.

  • hwAsPortStateChangeToDownNotify: An AS port goes Down.

  • hwAsPortStateChangeToUpNotify: An AS port goes Up.

  • hwAsModelNotMatchNotify: The actual AS model does not match the configured one.

  • hwAsVersionNotMatchNotify: The AS version does not match.

  • hwAsNameConflictNotify: The AS name conflicts.

  • hwAsSlotModelNotMatchNotify: An AS has a different SVF enabling status than the parent.

  • hwAsFullNotify: The number of ASs reaches the maximum value.

  • hwUnimngModelNotMatchNotify: The model of a new device in the AS stack system differs from the configured model.

  • hwAsBoardAdd: An AS slot has been added.

  • hwAsBoardDelete: An AS slot has been deleted.

  • hwAsBoardPlugIn: A new member has joined an AS stack system.

  • hwAsBoardPlugOut: A member has left an AS stack system.

  • hwAsInBlacklist: An AS is in the blacklist.

  • hwAsUnconfirmed: An AS fails authentication.

  • hwAsComboPortTypeChange: The AS interface type has changed.

  • hwAsOnlineFailNotify: An AS fails to go online.

  • hwAsSlotIdInvalidNotify: An AS slot ID is invalid.

  • hwAsSysmacSwitchCfgErrNotify: The MAC address switching mode of the AS stack system is not set to non-switching.

  • hwAsSlotOnlineFailNotify: When an AS is a stack, some member switches in the stack fail to go online.

Default switch status

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

  • off: The trap function is disabled.

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 >