Show port trap, Set port trap, Show port trap -20 set port trap -20 – Enterasys Networks Enterasys D2 D2G124-12P User Manual

Page 124

Advertising
background image

show port trap

4-20 Port Configuration

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

Defaults

If port‐string is not specified, the trap status for all ports will be displayed.

Mode

Switch command, read‐write.

Example

This example shows how to display link trap status for 

ge

.3.1 through 4:

D2(su)->show port trap ge.3.1-4
Link traps enabled on port ge.3.1.
Link traps enabled on port ge.3.2.
Link traps enabled on port ge.3.3.
Link traps enabled on port ge.3.4.

set port trap

Use this command to enable of disable ports for sending SNMP trap messages when their link 
status changes.

Syntax

set port trap port-string {enable | disable}

clear linkflap action

4-25

set linkflap threshold

4-26

set linkflap downtime

4-27

clear linkflap down

4-27

clear linkflap

4-28

For information about...

Refer to page...

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 4‐1.

Advertising
This manual is related to the following products: