1-11SNMP Logging Configuration ExampleNetwork requirementsz As shown in Figure 1-5, the NMS and the agent are connected through an Ethernet.z The IP address of the NMS is 1.1.1.2/24z The IP address of the agent is 1.1.1.1/24z Configure SNMP logging on the agent to record the operations performed by the NMS to the agentFigure 1-5 Network diagram for SNMP loggingTerminalAgentNMSConsole 1.1.1.2/241.1.1.1/24Configuration procedureFor the configurations for the NMS and agent, refer to SNMPv1/SNMPv2c Configuration Example andSNMPv3 Configuration Example.# Enable logging display on the terminal. (This function is enabled by default, so that you can omit thisconfiguration). terminal monitor terminal logging# Enable the information center to output the system information with the severity level equal to orhigher than informational to the console port. system-view[Sysname] info-center source snmp channel console log level informational# Enable SNMP logging on the agent to log the GET and SET operations of the NMS.[Sysname] snmp-agent log get-operation[Sysname] snmp-agent log set-operationz The following log information is displayed on the terminal when the NMS performs the Getoperation to the agent.%Jan 1 02:49:40:566 2006 Sysname SNMP/6/GET:seqNO = <10> srcIP = <1.1.1.2> op = node = value=<>z The following log information is displayed on the terminal when the NMS performs the Setoperation to the agent.%Jan 1 02:59:42:576 2006 Sysname SNMP/6/SET: