1-7Enabling Logging for Network ManagementFollow these steps to enable logging for network management:To do… Use the command… RemarksEnter system view system-view —Enable logging for networkmanagementsnmp-agent log { set-operation |get-operation | all }OptionalDisabled by default.Use the display logbuffer command to view the log of the get and set operations requested by theNMS.Displaying and Maintaining SNMPTo do… Use the command… RemarksDisplay the SNMP informationabout the current devicedisplay snmp-agent sys-info [ contact| location | version ]*Display SNMP packet statistics display snmp-agent statisticsDisplay the engine ID of thecurrent devicedisplay snmp-agent { local-engineid |remote-engineid }Display group informationabout the devicedisplay snmp-agent group[ group-name ]Display SNMP user informationdisplay snmp-agent usm-user[ engineid engineid | usernameuser-name | group group-name ]Display Trap list information display snmp-agent trap-listDisplay the currently configuredcommunity namedisplay snmp-agent community [ read| write ]Display the currently configuredMIB viewdisplay snmp-agent mib-view[ exclude | include | viewnameview-name ]Available in any viewSNMP Configuration ExamplesSNMP Configuration ExamplesNetwork requirementsz As shown in Figure 1-2, an NMS and Switch A (SNMP agent) are connected through the Ethernet.The IP address of the NMS is 10.10.10.1 and that of the VLAN interface on Switch A is 10.10.10.2.