Configuring tc-receive-alarm-threshold

About this task

You can establish a threshold rate for receiving TC/TCN packets by configuring values for count and interval. If the threshold rate is exceeded, you receive a warning message. Use the following procedure to configure values for tc-receive-alarm-threshold count and tc-receive-alarm-threshold interval.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Configure a value for count:

    spanning-tree tc-receive-alarm-threshold count <1-1000>

  3. Configure a value for interval:

    spanning-tree tc-receive-alarm-threshold interval <1-15>

Example

Configure count and interval values:

Switch:1>enable
Switch:1#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Switch:1(config)#spanning-tree tc-receive-alarm-threshold count 3
Switch:1(config)#spanning-tree tc-receive-alarm-threshold interval 2

Display the alarm threshold configuration:

Switch:1#show spanning-tree tc-receive-alarm-threshold

==========================================================================================
             Spanning Tree TC/TCN Rx Alarm Threshold Configuration
==========================================================================================
Interval                : 2 minutes
Count                   : 3

Variable definitions

Use the data in the following table to use the tc-receive-alarm-threshold command.

Variable

Value

count <1-1000>

Specifies the number of packets used to establish the threshold rate. The default is 2.

interval <1-15>

Specifies the time interval (in minutes) used to establish the threshold rate. The default is 1.