Switch 7700 Configuration Guide

26 CHAPTER 11: SYSTEM MANAGEMENT
Create/Update View Information or Deleting a View
You can use the following commands to create, update the information of views
or delete a view.
Perform the following configuration in system view.
Set the Size of SNMP Packet Sent/Received by an Agent
You can use the following commands to set the size of SNMP packet sent/received
by an agent.
Perform the following configuration in system view.
The agent can receive/send the SNMP packets of the sizes ranging from 484 to
17940, measured in bytes. By default, the size of SNMP packet is 1500 bytes.
Disable the SNMP Agent
To disable SNMP Agent, please Perform the following configuration in system
view.
If user disable NMP Agent, it will be enabled whatever snmp-agent command is
configured thereafter.
Display and Debug
SNMP
After the above configuration, execute display command to view the SNMP
configuration, and to verify the effect of the configuration. Execute debugging
command in user view to debug SNMP configuration.
Tab le 49 Create/Update View Information or Deleting a View
Operation Command
Create/Update view information snmp-agent mib-view { included | excluded }
view-name oid-tree
Delete a view undo snmp-agent mib-view view-name
Tab le 50 Set the Size of SNMP Packet Sent/Received by an Agent
Operation Command
Set the size of SNMP packet
sent/received by an agent
snmp-agent packet max-size byte-count
Restore the default size of SNMP
packet sent/received by an agent
undo snmp-agent packet max-size
Tab le 51 Disable SNMP Agent
Operation Command
Disable snmp agent undo snmp-agent
Tab le 52 Display and Debug SNMP
Operation Command
Display the statistics information
about SNMP packets
display snmp-agent statisitcs
Display the engine ID of the active
device
display snmp-agent { local-engineid | remote-engineid }