Displaying and Debugging SNMP 743Setting the Size of theSNMP PacketSent/Received by anAgentYou can use the following commands to set the size of SNMP packet sent/receivedby an agent.Perform the following configuration in system view.The agent can receive/send the SNMP packets of the sizes ranging from 484 to17940, measured in bytes. By default, the size of an SNMP packet is 2000 bytes.Disabling SNMP Agent To disable SNMP Agent, perform the following configuration in system view.If users disable NMP Agent, it will be enabled whatever snmp-agent command isconfigured thereafter.Displaying andDebugging SNMPAfter the above configuration, execute the display command in any view todisplay the running of the SNMP configuration, and to verify the effect of theconfiguration.SNMP ConfigurationExampleNetwork requirementsNetwork Management Station and the switch are connected through theEthernet. The IP address of Network Management Station is 129.102.149.23 andTable 688 Set the size of the SNMP packet sent/received by an agentOperation CommandSet the size of the SNMP packet sent/receivedby an agent snmp-agent packet max-size byte-countRestore the default size of the SNMP packetsent/received by an agent undo snmp-agent packet max-sizeTable 689 Disable snmp agentOperation CommandDisable snmp agent undo snmp-agentTable 690 Display and debug SNMPOperation CommandDisplay the statistics information about SNMPpackets display snmp-agent statisticsDisplay the engine ID of the active device display snmp-agent local-engineidDisplay the group name, the security mode,the states for all types of views, and thestorage mode of each group of the switch.display snmp-agent group [ group-name ]Display SNMP user information in the groupuser tabledisplay snmp-agent usm-user [ engineidengineid | group groupname | usernameusername ]*Display the current community name display snmp-agent community [ read |write ]Display the current MIB view display snmp-agent mib-view [ exclude |include | { viewname mib-view } ]Display the contact character strings, locationcharacter strings, and the SNMP version of thesystemdisplay snmp-agent sys-info [ contact |location | version ]*