3Com Switch 8800 Advanced Software V5 Configuration Guide

SNMP Configuration 1051
Follow these steps to configure SNMPv1 and SNMPv2c:
To do... Use the command... Remarks
Enter system view system-view -
Enable SNMP Agent snmp-agent Optional
Disabled by default
You can enable SNMP Agent
through this command or any
commands that begin with
"snmp-agent".
Configure SNMP Agent
system information
snmp-agent sys-info {
contact sys-contact |
location sys-location |
version { all | { v1 | v2c | v3 }*
} }
Optional
The defaults are as follows:
3Com Technologies Co.,Ltd.
for contact,
Hangzhou China for location,
and SNMPv3 for the version.
Configure an SNMP agent
group
snmp-agent group v3
group-name [
authentication | privacy ] [
read-view read-view ] [
write-view write-view ] [
notify-view notify-view ] [
acl acl-number ]
Required
Add a new user to an SNMP
agent group
snmp-agent usm-user v3
user-name group-name [
authentication-mode { md5
| sha } auth-password [
privacy-mode { des56 |
aes128 } priv-password ] ] [
acl acl-number ]
Required
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
1,500 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 the MIB
view content for an SNMP
agent
snmp-agent mib-view {
included | excluded }
view-name oid-tree [ mask
mask-value ]
Optional
MIB view name is ViewDefault
and OID is 1 by default.
To do... Use the command... Remarks
Enter system view system-view -
Enable SNMP Agent snmp-agent Optional
Disabled by default
You can enable SNMP Agent
through this command or any
commands that begin with
"snmp-agent".