3Com Switch 8800 Configuration Guide
Chapter 47 SNMP Configuration
47-8
47.3.10 Creating/Updating View Information or Deleting a View
You can specify the view to control the access to the MIB by SNMP manager. You can
use either the predefined views or the self-defined views. You can use the following
commands to create, update the information of views or delete a view.
Perform the following configuration in system view.
Table 47-11
Create/Update view information or delete 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
47.3.11 Setting the Size of the 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.
Table 47-12
Set the size of the SNMP packet sent/received by an agent
Operation
Command
Set the size of the SNMP packet
sent/received by an agent
snmp
-
agent packet max
-
size
byte
-
count
Restore the default size of the SNMP
packet sent/received by an agent
undo snmp
-
agent packet max
-
size
The agent can receive/send the SNMP packets of the sizes ranging from 484 to 17940,
measured in bytes. By default, the size of an SNMP packet is 1500 bytes.
47.3.12 Disabling SNMP Agent
To disable SNMP Agent, perform the following configuration in system view.
Table 47-13
Disable snmp agent
Operation
Command
Disable snmp agent
undo snmp
-
agent
If users disable NMP Agent, it will be enabled whatever
snmp
-
agent
command is
configured thereafter.