The display snmp-agent trap feature-name ipv6 all command displays all trap messages of the IPv6 module.
The Simple Network Management Protocol (SNMP) is a standard network management protocol widely used on TCP/IP networks. It uses a central computer (a network management station) that runs network management software to manage network elements. The management agent on the network element automatically reports traps to the network management station. After that, the network administrator immediately takes measures to resolve the problem.
Prerequisites
SNMP has been enabled. See snmp-agent.
Usage Scenario
After the trap function of a specified feature is enabled, you can run the display snmp-agent trap feature-name ipv6 all command to check the status of all traps of IPv6. To enable the trap function of IPv6, run the snmp-agent trap enable feature-name ipv6 command.
# Display all trap messages of the IPv6 module.
<HUAWEI> display snmp-agent trap feature-name ipv6 all
------------------------------------------------------------------------------
Feature name: ipv6
Trap number : 1
------------------------------------------------------------------------------
Trap name Default switch status Current switch status
ipv6IfStateChange on on
Item |
Description |
---|---|
Feature name |
Name of the module to which a trap message belongs. |
Trap number |
Number of trap messages. |
Trap name |
Name of a trap message of the IPv6 module:
|
Default switch status |
Status of the default trap function:
|
Current switch status |
Status of the current trap function:
|