Configuring Trap-Related Functions; Configuring Basic Trap Functions - H3C S3100-52P Operation Manual

Hide thumbs Also See for S3100-52P:
Table of Contents

Advertisement

Operation Manual – SNMP-RMON
H3C S3100-52P Ethernet switch
To do...
Set the maximum
size of an SNMP
packet for SNMP
agent to receive
or send
Set the device
engine ID
Create or update
the view
information
Note:
An S3100-52P 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-Related Functions

1.3.1 Configuring Basic Trap Functions

traps 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
function.
Use the command...
snmp-agent packet
max-size byte-count
snmp-agent local-engineid
engineid
snmp-agent mib-view
{ included | excluded }
view-name oid-tree [ mask
mask-value ]
1-6
Chapter 1 SNMP Configuration
Remarks
Optional
1,500 bytes by default.
Optional
By default, the device engine
ID is "enterprise number +
device information".
Optional
By default, the view name is
ViewDefault and OID is 1.

Advertisement

Table of Contents
loading

Table of Contents