EasyManuals Logo

H3C S3600 Series Command Manual

H3C S3600 Series
1277 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #914 background imageLoading...
Page #914 background image
1-22
1) Use the snmp-agent trap enable or enable snmp trap updown command to specify the types of
the SNMP traps a device can send (by default, a device can send all types of SNMP traps).
2) Use the snmp-agent target-host command to set the address of the destination for the SNMP
traps.
Related commands: snmp-agent trap enable, snmp-agent trap source, and snmp-agent trap life.
Examples
# Enable sending SNMP traps to 10.1.1.1, and set the community name to public.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] snmp-agent trap enable standard
[Sysname] snmp-agent target-host trap address udp-domain 10.1.1.1 params securityname public
snmp-agent trap enable
Syntax
snmp-agent trap enable [ configuration | flash | ospf [ process-id ] [ ospf-trap-list ] | standard
[ authentication | coldstart | linkdown | linkup | warmstart ]* | system | vrrp [ authfailure |
newmaster ] ]
undo snmp-agent trap enable [ established ]* | configuration | flash | ospf [ process-id ]
[ ospf-trap-list ] | standard [ authentication | coldstart | linkdown | linkup | warmstart ]* | system |
vrrp [ authfailure | newmaster ] ]
View
System view
Parameters
configuration: Specifies to send configuration traps.
flash: Specifies to send Flash traps.
ospf [ process-id ] [ ospf-trap-list ]: Specifies to send OSPF traps. The process-id argument is a process
ID. The ospf-trap-list argument indicates a list of traps to be sent.
standard: Specifies to send SNMP standard notification or traps.
authentication: Specifies to send SNMP authentication failure traps in cases of authentication failures.
coldstart: Specifies to send SNMP cold start traps when the device is rebooted.
linkdown: Specifies to send SNMP linkDown traps when a port becomes down.
linkup: Specifies to send SNMP linkUp traps when a port becomes up.
warmstart: Specifies to send SNMP warm start traps when SNMP is newly launched.
system: Specifies to send H3C-SYS-MAN-MIB (proprietary MIB) traps.
vrrp [ authfailure | newmaster ]: Specifies to send VRRP traps.
Description
Use the snmp-agent trap enable command to enable a device to send SNMP traps that are of
specified types.

Table of Contents

Other manuals for H3C S3600 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the H3C S3600 Series and is the answer not in the manual?

H3C S3600 Series Specifications

General IconGeneral
BrandH3C
ModelS3600 Series
CategorySwitch
LanguageEnglish

Related product manuals