3Com 5500-SI Switch User Manual


 
566 CHAPTER 28: SNMP CONFIGURATION
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 617 Set Community Name
Enabling/Disabling
SNMP Agent to Send
Trap
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.
Table 618 Enable/Disable SNMP Agent to Send Trap
Setting the Destination
Address of Trap
You can use the following commands to set or delete the destination address of the
trap.
Perform the following configuration in System View.
Table 619 Set the Destination Address of Trap
Operation Command
Set the community name and
the access authority
snmp-agent community { read | write }
community-name [ mib-view view-name ] [ acl
acl-list ]
Remove the community name
and the access authority
undo snmp-agent community community-name
Operation Command
Enable to send trap snmp-agent trap enable [ configuration | flash |
ospf [ process-id ] [ ospf-trap-list ] | standard [
authentication | coldstart | linkdown | linkup |
warmstart ]* | system ]
Disable to send trap undo snmp-agent trap enable [ bgp [
backwardtransition ] [ established ] | configuration
| flash | ospf [ process-id ] [ ospf-trap-list ] |
standard [ authentication | coldstart | linkdown |
linkup | warmstart ]* | system ]
Operation Command
Set the destination
address of trap
snmp-agent target-host trap address udp-domain
host-addr [ udp-port udp-port-number ] params
securityname community-string [ v1 | v2c | v3 [
authentication | privacy ] ]
Delete the destination
address of trap
undo snmp-agent target-host host-addr securityname
community-string