1-5To do… Use the command… RemarksCreate or update MIB viewcontent for an SNMP agentsnmp-agent mib-view{ excluded | included }view-name oid-tree [ maskmask-value ]OptionalViewDefault by defaultThe validity of a USM user depends on the engine ID of the SNMP agent. If the engine ID when theUSM user is created is not identical to the current engine ID, the USM user is invalid.Configuring SNMP LoggingIntroduction to SNMP LoggingSNMP logs the GET and SET operations that the NMS performs on the SNMP agent. When the GEToperation is performed, the agent logs the IP address of the NMS, node name of the GET operation andOID of the node. When the SET operation is performed, the agent logs the IP address of the NMS, nodename of the SET operation, OID of the node, the value set and the error code and error index of the SETresponse. These logs will be sent to the information center, and the level of them is informational, that is,they are taken as the system prompt information. With parameters for the information center set, theoutput rules for SNMP logs are decided (that is, whether the logs are permitted to output and the outputdestinations).SNMP logs GET request, SET request and SET response, but does not log GET response.Enabling SNMP LoggingTo do… Use the command… RemarksEnter system view system-view —Enable SNMP loggingsnmp-agent log { all |get-operation |set-operation }RequiredDisabled by default.Configure SNMP log outputrulesinfo-center source{ module-name | default }channel { channel-number |channel-name } [ debug { levelseverity | state state } * | log{ level severity | state state } * |trap { level severity | statestate } * ] *OptionalBy default, SNMP logs areoutput to loghost and logfileonly. To output SNMP logs toother destinations such asconsole or monitor terminal,you need to set the outputdestinations with thiscommand.