Huawei S9300 Configuration Manual page 36

Table of Contents

Advertisement

S9300&S9300E Terabit Routing Switch
Configuration Guide - Network Management
Alarm sending is enabled.
Step 3 Run:
snmp-agent trap enable feature-name feature-name trap-name trap-name
A trap function of a feature module is enabled. This means that an alarm of a specified feature
can be sent to the NM station.
The undo snmp-agent trap enable feature-name feature-name trap-name trap-name
command can be used to disable a trap function of a module.
Step 4 Configure trap function parameters based on the trap usage or inform usage selected during the
configuration of basic SNMPv2c functions.
If traps are used, follow the procedure described in
are used, follow the procedure described in
Configuring trap parameters:
1.
2.
3.
Configuring inform parameters:
Issue 01 (2012-03-15)
NOTE
If the snmp-agent trap enable command is run to enable the trap functions of all modules, note the
following points:
l To disable the trap functions of all modules, you need to run the snmp-agent trap disable command.
l To restore the trap functions of all modules to the default status, you need to run the undo snmp-agent
trap enable or undo snmp-agent trap disable command.
l To disable one trap function of a module, you need to run the undo snmp-agent trap enable feature-
name command.
Run:
snmp-agent trap source interface-type interface-number
The source interface for trap messages is specified.
After the source interface is specified, its IP address becomes the source IP address of trap
messages. Configuring the IP address of the local loopback interface as the source interface
is recommended, which can ensure device security.
The source interface specified on the switch for trap messages must be consistent with that
specified on the NM station; otherwise, the NM station will not accept the trap messages
sent from the switch.
Run:
snmp-agent trap queue-size size
The length of the queue storing trap messages to be sent to the destination host is set.
The queue length depends on the number of generated trap messages. If the switch
frequently generates trap messages, a longer queue length can be set to prevent trap
messages from being lost.
Run:
snmp-agent trap life seconds
The lifetime of every trap message is set.
The lifetime of every trap message depends on the number of generated trap messages. If
the switch frequently generates trap messages, a longer lifetime can be set for every trap
message to prevent trap messages from being lost.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Configuring trap
Configuring inform
parameters.
1 SNMP Configuration
parameters; if informs
21

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9300e

Table of Contents