Enable Snmp Trap Updown - H3C S5120-SI Series Command Reference Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

Field
Status
Priority
Oper-Key
Flag
Remote
Actor
Partner

enable snmp trap updown

Syntax
enable snmp trap updown
undo enable snmp trap updown
View
Layer 2 aggregate interface view
Default Level
2: System level
Parameters
None
Description
Use the enable snmp trap updown command to enable link state trapping for the current aggregate
interface.
Use the undo enable snmp trap updown command to disable link state trapping for the current
aggregate interface.
By default, link state trapping is enabled for an aggregate interface.
With the link state trapping function enabled, an aggregate interface generates linkUp trap messages
when its link goes up and linkDown trap messages when its link goes down.
Note that for an aggregate interface to generate linkUp/linkDown traps when its link state changes, you
must also enable link state trapping globally with the snmp-agent trap enable [ standard [ linkdown |
linkup ] * ] command.
Refer to SNMP-RMON Commands for information about the snmp-agent trap enable command.
Examples
# Enable linkUp/linkDown trap generation on Layer 2 aggregate interface Bridge-Aggregation 1.
<Sysname> system-view
[Sysname] snmp-agent trap enable
[Sysname] interface bridge-aggregation 1
Port state: selected or unselected
Port LACP priority
Operational key
LACP protocol state flag
Information about the remote end
Local port type and number
Remote port index
1-8
Description

Advertisement

Table of Contents
loading

Table of Contents