Configuring Trap Parameters; Configuring Basic Trap - H3C S3100 8C SI Operation Manual

S3100 series ethernet switches
Table of Contents

Advertisement

Operation Manual – SNMP-RMON
H3C S3100 Series Ethernet Switches
Operation
Create or update the
view information
Note:
An S3100 Ethernet switch provides the following functions to prevent attacks through
unused UDP ports.
Executing the snmp-agent command or any of the commands used to configure
SNMP agent enables the SNMP agent, and at the same opens UDP port 161 used
by SNMP agents and the UDP port used by SNMP trap respectively.
Executing the undo snmp-agent command disables the SNMP agent and closes
UDP ports used by SNMP agent and SNMP trap as well.

1.3 Configuring Trap Parameters

1.3.1 Configuring Basic Trap

Trap messages refer to those sent by managed devices to the NMS without request.
They are used to report some urgent and important events (for example, the rebooting
of managed devices).
Note that basic SNMP configuration is performed before you configure basic trap.
Table 1-4 Configure basic Trap
Enter system view
Enable the switch to
send Trap messages to
NMS
Enable
the port
to send
Trap
messag
es
snmp-agent mib-view
{ included | excluded }
view-name oid-tree [ mask
mask-value ]
Operation
system-view
snmp-agent trap enable
[ configuration | flash | standard
[ authentication | coldstart |
linkdown | linkup | warmstart ]* |
system | ]
Enter port
interface interface-type
view or
interface-number
interface view
Enable the
port or
interface to
enable snmp trap updown
send Trap
messages
Command
Optional
By default, the view name is
"ViewDefault" and OID is 1.
Command
1-6
Chapter 1 SNMP Configuration
Description
Description
Optional
By default, a
port is enabled
to send all
types of Traps.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the H3C S3100 8C SI and is the answer not in the manual?

This manual is also suitable for:

S3100-si seriesS3100-ei series

Table of Contents