Operation Manual – SNMP-RMONH3C S5600 Series Ethernet Switches Chapter 1 SNMP Configuration1-6To do… Use the command… RemarksAdd a user to an SNMPgroupsnmp-agent usm-userv3 user-namegroup-name [ [ cipher ]authentication-mode{ md5 | sha }auth-password[ privacy-mode { des56 |aes128 } priv-password ] ][ acl acl-number ]RequiredSet the maximum size ofan SNMP packet forSNMP agent to receive orsendsnmp-agent packetmax-size byte-countOptional1,500 bytes by default.Set the device engine ID snmp-agentlocal-engineid engineidOptionalBy default, the deviceengine ID is “enterprisenumber + deviceinformation”.Create or update the viewinformationsnmp-agent mib-view{ included | excluded }view-name oid-tree[ mask mask-value ]OptionalBy default, the view nameis ViewDefault and OID is1.Note:An S5600 Ethernet switch provides the following functions to prevent attacks throughunused UDP ports.z Executing the snmp-agent command or any of the commands used to configureSNMP agent enables the SNMP agent, and at the same opens UDP port 161 usedby SNMP agents and the UDP port used by SNMP trap respectively.z Executing the undo snmp-agent command disables the SNMP agent and closesUDP ports used by SNMP agent and SNMP trap as well.1.3 Configuring Trap-Related Functions1.3.1 Configuring Basic Trap Functionstraps refer to those sent by managed devices to the NMS without request. They areused to report some urgent and important events (for example, the rebooting ofmanaged devices).Note that basic SNMP configuration is performed before you configure basic trapfunction.