set port trap

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:

C3(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}

Parameters

port‐string

Specifies the port(s) for which to enable or disable port traps. For a

 

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

 

Syntax Used in the CLI” on page 7‐1.

 

 

enable disable

Enables or disables sending trap messages when link status changes.

 

 

Defaults

Sending traps when link status changes is enabled by default.

Mode

Switch command, read‐write.

Example

The following example disables sending trap on ge.3.1.

C3(su)->set port trap ge.3.1 disable

show linkflap

Use this command to display link flap detection state and configuration information.

Syntax

show linkflap {globalstate portstate parameters metrics portsupported actsupported maximum downports action operstatus threshold interval] downtime currentcount totalcount timelapsed violations [port-string]}

SecureStack C3 Configuration Guide 7-25

Page 193
Image 193
Enterasys Networks 9034313-07 manual Set port trap, Show linkflap, Following example disables sending trap on ge.3.1