Setting Port Link Traps and Link Flap Detection

Setting Port Link Traps and Link Flap Detection

Purpose

To disable or re‐enable link traps, display link trap status, and to configure the link flapping detection function. By default, all ports are enabled to send SNMP trap messages indicating changes to their link status (up or down).

The link flap function detects when a link is going up and down rapidly (also called “link flapping”) on a physical port, and takes the required actions (disable port, and eventually send notification trap) to stop such a condition. If left unresolved, the “link flapping” condition can be detrimental to network stability because it can trigger Spanning Tree and routing table recalculation.

Commands

For information about...

Refer to page...

 

 

show port trap

7-24

 

 

set port trap

7-25

 

 

show linkflap

7-25

 

 

set linkflap globalstate

7-28

 

 

set linkflap portstate

7-28

 

 

set linkflap interval

7-29

 

 

set linkflap action

7-29

 

 

clear linkflap action

7-30

 

 

set linkflap threshold

7-30

 

 

set linkflap downtime

7-31

 

 

clear linkflap down

7-31

 

 

clear linkflap

7-32

 

 

show port trap

Use this command to display whether the port is enabled for generating an SNMP trap message if its link state changes.

Syntax

show port trap [port-string]

Parameters

port‐string

(Optional) Displays link trap status for specific port(s). For a detailed

 

description of possible port‐string values, refer to Port String Syntax Used

 

in the CLI” on page 7‐1.

 

 

7-24 Port Configuration

Page 192
Image 192
Enterasys Networks 9034313-07 manual Setting Port Link Traps and Link Flap Detection, Show port trap