Configuring Trap Parameters - 3Com 4210 PWR Configuration Manual

9/18/26 port and pwr 9/18/26 port 4210 series switch
Table of Contents

Advertisement

Configuring Trap
Parameters
Configuring Basic Trap
Table 274 Configure basic SNMP functions (SNMPv3)
Operation
Encrypt a plain-text password
to generate a cipher-text one
Add a user to an SNMP group snmp-agent usm-user v3
Set the maximum size of an
SNMP packet for SNMP agent
to receive or send
Set the device switch fabric ID snmp-agent local-switch
Create or update the view
information
n
A Switch 4210 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 and UDP port 1024 used by SNMP agents and SNMP trap clients
respectively.
Executing the undo snmp-agent command disables the SNMP function and
closes UDP port 161 and UDP port 1024 as well.
Trap messages are 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 275 Configure basic Trap
Operation
Enter system view

Configuring Trap Parameters

Command
snmp-agent
calculate-password
plain-password mode { md5 |
sha } { local-switch fabricid |
specified-switch fabricid
switch fabricid }
user-name group-name [
cipher ] [
authentication-mode { md5
| sha } auth-password [
privacy-mode { des56 }
priv-password ] ] [ acl
acl-number ]
snmp-agent packet
max-size byte-count
fabricid switch fabricid
snmp-agent mib-view {
included | excluded }
view-name oid-tree [ mask
mask-value ]
Command
system-view
355
Description
Optional
This command is used if
password in cipher-text is
needed for adding a new
user.
Required
Optional
1,500 bytes by default.
Optional
By default, the device switch
fabric ID is "enterprise
number + device
information".
Optional
By default, the view name is
"ViewDefault" and OID is 1.
Description
-

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents