Operation Manual – SNMP-RMON
H3C S3610&S5510 Series Ethernet Switches
Chapter 1 SNMP Configuration
1-7
To do…
Use the command…
Remarks
Set to enable the
device to send Traps
of interface state
change
enable snmp trap updown
Optional
Enabled by
default.
Caution:
To enable an interface to send SNMP Traps when its state changes, you need to
enable the Link up/down Trap packet transmission function on an interface and globally.
Use the
enable snmp trap updown
command to enable this function on an interface,
and use the
snmp-agent trap enable
[
standard
[
linkdown
|
linkup
] * ] command to
enable this function globally.
II. Configuring Trap transmission parameters
Follow these steps to configure Trap:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure target host
attribute for Traps
snmp-agent target-host
trap
address
udp-domain
{
ip-address
|
ipv6
ipv6-address
}
[
udp-port
port-number
]
[
vpn-instance
vpn-instance-name
]
params
securityname
security-string
[
v1
|
v2c
|
v3
[
authentication
|
privacy
] ]
Required
The
vpn-instance
keyword is applicable in a
network supporting IPv4.
Configure the source
address for Traps
snmp-agent trap source
interface-type
{
interface-number
|
interface-number.subnum
ber
}
Optional
Extend the standard
linkUp/linkDown Traps
defined in RFC
snmp-agent trap if-mib
link extended
Optional
Standard linkUp/linkDown
Traps defined in RFC are
used by default.
Configure the queue size
for sending Traps
snmp-agent trap
queue-size
size
Optional
100 by default