Switch 7700 Configuration Guide

SNMP 23
You can use the following commands to set the community name.
Perform the following configuration in system view.
Set the Method of Identifying and Contacting the Administrator
The sysContact is a management viable of the system group in MIB II. The content
is the method of identifying and contacting the related personnel of the managed
device.
You can use the following commands to set the method of identifying and
contacting the administrators.
Perform the following configuration in system view.
Enable/Disable snmp Agent to Send Trap
The managed device transmits a trap without request to the NMS to report critical
and urgent events (such as restart).
You can use the following commands to enable or disable the managed device to
transmit trap message.
Perform the following configuration in system view.
Set the Destination Address of Trap
You can use the following commands to set or delete the destination address of
the trap.
Tabl e 39 Set Community Name
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
Tabl e 40 Set the Method of Identifying and Contacting the Administrator
Operation Command
Set the method of identifying and
contacting the administrator
snmp-agent sys-info contact sysContact
Restore the default method of
identifying and contacting the
administrator
undo snmp-agent sys-info contact
Tabl e 41 Enable/Disable SNMP Agent to Send Trap
Operation Command
Enable to send trap snmp-agent trap enable [ standard [ authentication ]
[ coldstart ] [ linkdown ] [ linkup ] [ warmstart ] ]
Disable to send trap undo snmp-agent trap enable [ standard [
authentication ] [ linkdown ] [ linkup ] [ coldstart ] [
warmstart ] ]