3Com 4500 Switch User Manual


 
1-2
z Set the permission for a community to access an MIB object to be read-only or read-write.
Communities with read-only permissions can only query the switch information, while those with
read-write permission can configure the switch as well.
z Set the basic ACL specified by the community name.
Supported MIBs
An SNMP packet carries management variables with it. Management variable is used to describe the
management objects of a switch. To uniquely identify the management objects of the switch, SNMP
adopts a hierarchical naming scheme to organize the managed objects. It is like a tree, with each tree
node representing a managed object, as shown in
Figure 1-1. Each node in this tree can be uniquely
identified by a path starting from the root.
Figure 1-1 Architecture of the MIB tree
1
12
12
12
56
B
A
MIB describes the hierarchical architecture of the tree and it is the set defined by the standard variables
of the monitored network devices. In the above figure, the managed object B can be uniquely identified
by a string of numbers {1.2.1.1}. The number string is the object identifier (OID) of the managed object.
Configuring Basic SNMP Functions
SNMPv3 configuration is quite different from that of SNMPv1 and SNMPv2c. Therefore, the
configuration of basic SNMP functions is described by SNMP versions, as listed in the following two
tables.
Follow these steps to configure basic SNMP functions (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 by executing this
command or any of the
commands used to
configure SNMP agent.
Set system information, and specify
to enable SNMPv1 or SNMPv2c on
the switch
snmp-agent sys-info
{ contact sys-contact |
location sys-location |
version { { v1 | v2c | v3 }* |
all } }
Required
By default, the contact
information for system
maintenance is " 3Com
Corporation.", the system
location is " Marlborough,
MA 01752 USA ", and the
SNMP version is SNMPv3.