Configuring Trap - 3Com 4200G 12-Port Configuration Manual

4200g series switch
Hide thumbs Also See for 4200G 12-Port:
Table of Contents

Advertisement

Configuring Trap

Configuration
Prerequisites
Configuration Tasks
Table 250 Configure SNMP basic functions (SNMP V3) (Continued)
Operation
Set the size of SNMP packet that the
Agent can send/receive
Set the device engine ID
Create or update the view
information
Trap is the information that the managed device initially sends to the NMS without
request. Trap is used to report some urgent and important events (for example, the
managed device is rebooted).
Complete SNMP basic configuration.
Table 251 Configure Trap
Operation
Enter system view
Enable the device to send
Trap packets
Enable the
Enter port view
port to
Enable the port
send Trap
to send Trap
packets
packets
Quit to system
view
Set Trap target host address
Set the source address to send
Trap packets
Set the information queue
length of Trap packet sent to
destination host
Set aging time for Trap
packets
Command
snmp-agent packet
max-size byte-count
snmp-agent local-engineid
engineid
snmp-agent mib-view
{ included | excluded }
view-name oid-tree
Command
system-view
snmp-agent trap enable [ configuration
| flash | standard [ authentication |
coldstart | linkdown | linkup |
warmstart ]* | system | ]
interface interface-type interface-number
enable snmp trap updown
quit
snmp-agent target-host trap address
udp-domain { ip-addr } [ udp-port
port-number ] params securityname
security-string [ v1 | v2c | v3
{authentication | privacy } ]
snmp-agent trap source interface-type
interface-number
snmp-agent trap queue-size size
snmp-agent trap life seconds
Configuring Trap 281
Description
Optional
By default, it is 1,500
bytes.
Optional
By default, the device
engine ID is "Enterprise
Number + device
information".
Optional
By default, the view name
is ViewDefault and OID is
1.
Description
Optional
By default, the
port is enabled to
send Trap packets.
Required
Optional
Optional
The default value I
s 100.
Optional
The default aging
time for Trap
packets is 120
seconds.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents