Snmp-Agent Trap Enable; Snmp-Agent Trap Ifmib - H3C S3100 Series Command Manual

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

snmp-agent trap enable

Syntax
snmp-agent trap enable [ configuration | flash | standard [ authentication | coldstart | linkdown |
linkup | warmstart ]* | system ]
undo snmp-agent trap enable [ configuration | flash | standard [ authentication | coldstart |
linkdown | linkup | warmstart ]* | system ]
View
System view
Parameters
configuration: Specifies to send configuration traps.
flash: Specifies to send Flash traps.
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.
Description
Use the snmp-agent trap enable command to enable a device to send SNMP traps that are of
specified types.
Use the undo snmp-agent trap enable command to disable a device from sending SNMP traps that
are of specified types.
By default, a device sends all types of SNMP traps.
The snmp-agent trap enable command need to be coupled with the snmp-agent target-host
command. The snmp-agent target-host command specifies the destination hosts for SNMP traps. At
least one destination host is required for SNMP traps.
Examples
# Enable sending of SNMP authentication failure traps, with the destination IP address being 10.1.1.1
and the community name being public.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] snmp-agent trap enable standard authentication
[Sysname] snmp-agent target-host trap address udp-domain 10.1.1.1 params securityname public

snmp-agent trap ifmib

Syntax
snmp-agent trap ifmib link extended
1-22

Advertisement

Table of Contents
loading

Table of Contents