3Com 10014299 Network Router User Manual


 
SNMP Overview 79
By default, the router is disabled to send traps.
5 Configure the maximum size of SNMP packets that the router can send/receive
Set the Max SNMP messages that can be received/sent by the agent according to
the network loading capacity.
Perform the following configurations in system view.
Table 61 Configure the maximum size of SNMP packets that the agent can send/receive
Display and Debug
SNMP
Perform the following commands in all views.
Table 62 Display and debug SNMP
Set the address of host receiving
the traps
snmp-agent target-host trap address
host-addr [ port port ] [ parameters {
v1 | v2c | v3 { authentication |
noauthentication | privacy } } ]
securityname name
Remove the address of host
receiving the traps
undo snmp-agent target-host trap address
host-addr [ port port ] securityname
name
Set the message queue length of
traps destined to a host
snmp-agent trap queue-size length
Restore the default message queue
length
undo snmp-agent trap queue-size
Set the timeout time for traps snmp-agent trap life timeout
Restore the default timeout time for
traps
undo snmp-agent trap life
Operation Command
Set the maximum size of SNMP packets that the
agent can receive/send
snmp-agent packet max-size
byte-count
Restore the default maximum size of SNMP
packets
undo snmp-agent packet max-size
Operation Command
Display the statistics of SNMP packets display snmp-agent statistics
Display the current equipment engine ID display snmp-agent
local-engineid
Display information of system location display snmp-agent sys-info
location
Display system contact information display snmp-agent sys-info
contact
Display information of snmp groups on the
router
display snmp-agent group
Display information of all SNMP users in the
group user name list
display snmp-agent usm-user
Display the group names that have been
configured
display snmp-agent community
Display information of the MIB views that have
been configured
display snmp-agent mib-view
Enable SNMP debugging debugging snmp-agent { headers |
packets | process | trap | all }