Snmp-Agent Trap Life - H3C S7500E Series Command Manual

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – SNMP-RMON
H3C S7500E Series Ethernet Switches
Description
Use the snmp-agent trap if-mib link extended command to extend the standard
linkUp/linkDown Trap messages defined in RFC. The extended linkUp/linkDown Trap
messages comprise the standard linkUp/linkDown Trap messages defined in RFC plus
interface description and interface type.
Use the undo snmp-agent trap if-mib link extended command to restore the default.
By default, standard linkUp/linkDown Trap messages defined in RFC are used.
Note that after this command is configured, the device sends extended linkUp/linkDown
Trap messages. If the extended messages are not supported on NMS, the device may
not be able to resolute the messages.
Examples
# Extend standard linkUp/linkDown Trap messages defined in RFC.
<Sysname> system-view
[Sysname] snmp-agent trap if-mib link extended

1.1.22 snmp-agent trap life

Syntax
snmp-agent trap life seconds
undo snmp-agent trap life
View
System view
Parameters
seconds: Time-out time, in the range 1 to 2,592,000 seconds.
Description
Use the snmp-agent trap life command to configure the life time for Traps, which will
be discarded when their life time expires.
Use the undo snmp-agent trap life command to restore the default life time for Trap
messages.
By default, the life time for SNMP Traps is 120 seconds.
Related commands: snmp-agent trap enable, snmp-agent target-host.
Examples
# Configure the life time for Trap messages as 60 seconds.
<Sysname> system-view
[Sysname] snmp-agent trap life 60
Chapter 1 SNMP Configuration Commands
1-22

Advertisement

Table of Contents
loading

Table of Contents