3Com Switch 8800 Advanced Software V5 Configuration Guide
1052 CHAPTER 83: SNMP CONFIGURATION
c
CAUTION: The validity of a USM user depends on the switch fabric ID of the
SNMP agent. If the switch fabric ID used for USM user creation is not identical to
the current switch fabric ID, the USM user is invalid.
Trap Configuration SNMP Agent sends Trap messages to NMS to alert the latter of critical and
important events (such as restart of the managed device).
Configuration
Prerequisites
Basic SNMP configurations have been completed.
Configuration Procedure Enabling Trap message transmission
Follow these steps to enable Trap packet transmission:
Configure SNMP Agent
system information
snmp-agent sys-info {
contact sys-contact |
location sys-location |
version { { v1 | v2c | v3 }* |
all } }
Required
The defaults are as follows:
3Com Technologies Co.,Ltd.
for contact,
Hangzhou China for location
and SNMPv3 for the version.
Configur
e SNMP
NMS
access
right
Configur
e directly
Configur
e a
commun
ity name
snmp-agent community {
read | write }
community-name [ acl
acl-number | mib-view
view-name ]*
Use either approach.
The community name of
SNMPv1 or SNMPv2c is used in
direct configuration.
The second approach was
introduced to be compatible
with SNMPv3. Adding a user
to a specified group equals to
the configuration of the
community name of SNMPv1
and SNMPv2c.
The community name
configured on NMS should be
consistent with the
corresponding username
configured on the Agent.
Configur
e
indirectl
y
Configur
e an
SNMP
group
snmp-agent group { v1 |
v2c } group-name [
read-view read-view ] [
write-view write-view ] [
notify-view notify-view ] [
acl acl-number ]
Add a
new
user to
an
SNMP
group
snmp-agent usm-user { v1 |
v2c } user-name group-name
[ acl acl-number ]
Configure the maximum size
of an SNMP packet that can
be received or sent by an
SNMP agent
snmp-agent packet
max-size byte-count
Optional
15,00 bytes by default
Configure the switch fabric ID
for a local SNMP agent
snmp-agent local-switch
fabricid switch fabricid
Optional
Company ID and device ID by
default
Create or update MIB view
content for an SNMP agent
snmp-agent mib-view {
included | excluded }
view-name oid-tree [ mask
mask-value ]
Optional
ViewDefault by default
To do... Use the command... Remarks
To do... Use the command... Remarks
Enter system view system-view -