3Com Switch 7750 Configuration Guide
Configuring Trap 743
Configuring Trap Trap is the information that the managed device initiatively sends to the NMS
without request. Trap is used to report some urgent and important events (e.g.,
the managed device is rebooted).
Configuration
Prerequisites
Complete SNMP basic configuration.
Configuration Tasks
Add a new user for an SNMP
group
snmp-agent usm-user v3
user-name group-name
[ authentication-mode { md
5 | sha } auth-password
[ privacy-mode des56
priv-password ]] [acl
acl-number ]
Required
Set the size of SNMP packet
that the Agent can
send/receive
snmp-agent packet
max-size byte-count
Optional
By default, it is 2,000 bytes.
Set the device switch fabric ID snmp-agent local-switch
fabricid switch fabricid
Optional
By default, the device switch
fabric ID is “Enterprise
Number + device
information”.
Create or update the view
information
snmp-agent
mib-view { included |
excluded } view-name
oid-tree
Optional
By default, the view name is
ViewDefault and OID is 1.
Table 596 Configure SNMP basic functions (SNMP V3)
Operation Command Description
Table 597 Configure Trap
Operation Command Description
Enter system view system-view -
Enable the device to send Trap packets snmp-agent trap enable
[ bgp [ backwardtransition
| established ]* |
configuration | flash | ospf
[ process-id ] [ ospf-trap-list ] |
standard [ authentication |
coldstart | linkdown |
linkup | warmstart ]* |
system | vrrp [ authfailure |
newmaster ]]
Optional
By default,
the port or
the interface
is enabled to
send Trap
packets.
Enable the port
to send Trap
packets
Enter port view or interface
view
interface interface-type
interface-number
Enable the port or interface
to send Trap packets
enable snmp trap updown
Quit to system view quit