346
C
12: F
S
HAPTER
ILE
YSTEM
Configure SNMP
Enabling/Disabling
SNMP Agent to Send
Trap
M
ANAGEMENT
The main configuration of SNMP includes:
Set community name
■
Set the Method of Identifying and Contacting the Administrator
■
Enable/Disable snmp Agent to Send Trap
■
Set the Destination Address of Trap
■
Set SNMP System Information
■
Set the Engine ID of a Local or Remote Device
■
Set/Delete an SNMP Group
■
Set the Source Address of Trap
■
Add/Delete a User to/from an SNMP Group
■
Create/Update View Information or Deleting a View
■
Set the Size of SNMP Packet Sent/Received by an Agent
■
Enable/Disable a Port Transmitting Trap Information SNMP Agent
■
Disable SNMP Agent
■
Setting Community Name
SNMP V1 and SNMPV2C adopt the community name authentication scheme. The
SNMP message incompliant with the community name accepted by the device will
be discarded. SNMP Community is named with a character string, which is called
Community Name. The various communities can have read-only or read-write
access mode. The community with read-only authority can only query the device
information, whereas the community with read-write authority can also configure
the device.
You can use the following commands to set the community name.
Perform the following configuration in System View.
Table 416 Set Community Name
Operation
Set the community name and
the access authority
Remove the community name
and the access authority
The managed device transmits a trap without request to the Network
Management Station to report some critical and urgent events (such as restart).
You can use the following commands to enable or disable the managed device to
transmit trap messages.
Perform the following configuration in System View.
Command
snmp-agent community { read | write }
community-name
[ mib-view
acl-list
]
undo snmp-agent community
view-name
] [ acl
community-name