beautypg.com

Snmp trap link-status suppress – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 1793

background image

SNMP Commands

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

68.11

snmp trap link-status suppress

Use this command to enable the suppression of link status notifications (traps) for the
interfaces beyond the specified threshold, in the specified interval. Use the no variant of
this command to disable the suppression of link status notifications for the ports.

Syntax

snmp trap link-status suppress

{time {<1-60>|default}|threshold {<1-20>|default}}

no snmp trap link-status suppress

Default

By default, if link status notifications are enabled (they are enabled by default), the
suppression of link status notifications is enabled: notifications that exceed the
notification threshold (default 20) within the notification timer interval (default 60
seconds) are not sent.

Mode

Interface Configuration

Usage

An unstable network can generate many link status notifications. When notification
suppression is enabled, a suppression timer is started when the first link status notification
of a particular type (linkUp or linkDown) is sent for an interface. If the threshold number of
notifications of this type is sent before the timer reaches the suppress time, any further
notifications of this type generated for the interface during the interval are not sent. At the
end of the interval, the sending of link status notifications resumes, until the threshold is
reached in the next interval.

Examples

To enable the suppression of link status notifications for ports 1.0.2 to 1.0.6 after 10
notifications have been sent in 40 seconds, use following commands:

To disable the suppression link status notifications for port 1.0.2, use following commands:

Parameter

Description

time

Set the suppression timer for link status notifications.

<1-60>

The suppress time in seconds.

default

The default suppress time in seconds (60).

threshold

Set the suppression threshold for link status notifications. This is the
number of link status notifications after which to suppress further
notifications within the suppression timer interval.

<1-20>

The number of link status notifications.

default

The default number of link status notifications (20).

awplus#

configure terminal

awplus(config)#

interface port1.0.2-1.0.6

awplus(config-if)#

snmp trap link-status suppress time 40
threshold 10

awplus#

configure terminal

awplus(config)#

interface port1.0.2

awplus(config-if)#

no snmp trap link-status suppress