67Displaying and maintaining SNMPTo do… Use the command… RemarksDisplay SNMP agent systeminformation, including the contact,physical location, and SNMPversiondisplay snmp-agent sys-info [ contact |location | version ]* [ | { begin |exclude | include } regular-expression ]Available in any viewDisplay SNMP agent statisticsdisplay snmp-agent statistics [ | { begin| exclude | include }regular-expression ]Available in any viewDisplay the local engine IDdisplay snmp-agent local-engineid [ |{ begin | exclude | include }regular-expression ]Available in any viewDisplay SNMP group informationdisplay snmp-agent group[ group-name ] [ | { begin | exclude |include } regular-expression ]Available in any viewDisplay basic information aboutthe trap queuedisplay snmp-agent trap queue [ |{ begin | exclude | include }regular-expression ]Available in any viewDisplay the modules that can sendtraps and their trap status (enableor disable)display snmp-agent trap-list [ | { begin| exclude | include }regular-expression ]Available in any viewDisplay SNMPv3 user informationdisplay snmp-agent usm-user[ engineid engineid | usernameuser-name | group group-name ] * [ |{ begin | exclude | include }regular-expression ]Available in any viewDisplay SNMPv1 or SNMPv2ccommunity informationdisplay snmp-agent community [ read| write ] [ | { begin | exclude |include } regular-expression ]Available in any viewDisplay MIB view informationdisplay snmp-agent mib-view [ exclude| include | viewname view-name ] [ |{ begin | exclude | include }regular-expression ]Available in any viewSNMP configuration examplesSNMPv1/SNMPv2c configuration exampleNetwork requirementsAs shown in Figure 25, the NMS (1.1.1.2/24) uses SNMPv1 or SNMPv2c to manage the SNMP agent(1.1.1.1/24), and the agent automatically sends traps to report events to the NMS.