Chapter 2 Configuring Interfaces

Configuring Interfaces

Note The no-credit timeout value and stuck frame timeout value are interlinked. The no-credit timeout value must always be greater than the stuck frame timeout value.

To configure the no-credit timeout value, follow these steps:

 

Command

Purpose

Step 1

 

 

switch# config t

Enters configuration mode.

Step 2

 

 

switch(config)# system timeout

Specifies the no-credit timeout value and port

 

no-credit-drop seconds mode EF

mode for the switch.

 

 

 

 

switch(config)# system timeout

Specifies the default no-credit timeout value port

 

no-credit-drop default mode EF

mode for the switch.

 

 

 

Configuring Credit Loss Recovery Threshold and Action

When the port detects the credit loss condition and recovers, then the port can be error-disabled, a trap can be sent with interface details, and a syslog can be generated with interface details. When the configured threshold is exceeded, one or more of these actions can be combined together. These actions can be turned on or off depending on situation. The port monitor feature provides the command line interface to configure the thresholds and action.

The thresholds are that the credit loss recovery can be between 1 and 10 and the interval can be 1 second to 1 hour. The default value is 3 in 10 minutes and generates a syslog.

When the port sees the credit loss condition and fails to recover, the port flaps. This function is already part of port guard, and you can configure the supported actions using the Port Guard feature.

To configure credit loss recovery threshold and action, refer to the following example. The following example shows the credit loss recovery threshold and action configuration:

 

 

 

switch# show

port-monitor

 

 

 

 

 

 

 

 

 

Policy Name

: Cisco

 

 

 

 

 

 

 

 

 

 

Admin status

: Active

 

 

 

 

 

 

 

 

 

 

Oper status

: Active

 

 

 

 

 

 

 

 

 

 

Port type

: All Ports

 

 

 

 

 

 

 

------------------------------------------------------------------------------------------

 

 

 

Counter

 

Threshold

Interval Rising Threshold event Falling Threshold

 

 

 

event Portguard

 

 

 

 

 

 

 

 

 

 

------- ---------

-------- ---------------- ----- ------------------ ----- --------- ---

 

 

 

 

Link Loss

 

Delta

60

5

4

1

4

 

 

 

 

Not enabled

 

 

 

 

 

 

 

 

 

 

 

Sync Loss

 

Delta

60

5

4

1

4

 

 

 

 

Not enabled

 

 

 

 

 

 

 

 

 

 

 

Protocol Error

Delta

60

1

4

0

4

 

 

 

 

Not enabled

 

 

 

 

 

 

 

 

 

 

 

Signal Loss

 

Delta

60

5

4

1

4

 

 

 

 

Not enabled

 

 

 

 

 

 

 

 

 

 

 

Invalid Words

 

Delta

60

1

4

0

4

 

 

 

 

Not enabled

 

 

 

 

 

 

 

 

 

 

 

Invalid CRC's

 

Delta

60

5

4

1

4

 

 

 

 

Not enabled

 

 

 

 

 

 

 

 

 

 

 

RX Performance

Delta

60

2147483648

4

524288000

4

 

 

 

 

Not enabled

 

 

 

 

 

 

 

 

 

 

 

TX Performance

Delta

60

2147483648

4

524288000

4

 

 

 

 

Not enabled

 

 

 

 

 

 

 

 

 

 

 

TX Discards

 

Delta

60

200

4

10

4

 

 

 

 

Not enabled

 

 

 

 

 

 

 

 

 

 

 

Cisco MDS 9000 Family NX-OS Interfaces Configuration Guide

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2-40

 

 

 

 

 

 

 

OL-29284-01, Release 6.x

 

 

 

 

 

 

 

 

 

 

Page 62
Image 62
Cisco Systems DSC9148D8G48PK9 manual Configuring Credit Loss Recovery Threshold and Action, Mode for the switch