discard-voq-packet

Configures the logging interval or threshold for all Virtual Output Queue (VOQ) discarded packets.

Syntax

discard-voq-packet { logging-interval minutes | threshold discarded-packets }
no discard-voq-packet { logging-interval | threshold }

Command Default

The logging interval is 60 minutes.

The default threshold is zero (0) discarded packets.

Parameters

logging-interval minutes
Specifies the logging interval in minutes. Enter an integer from from 10 to 2880.
threshold discarded-packets
Specifies the threshold limit for all VOQ discarded packets. Enter a value from 0 to 10000. The value of 0 disables the monitoring of the all VOQ packets.

Modes

System monitor TM configuration mode

Usage Guidelines

Use the no version of this command to reset the default interval or threshold values.

A RASlog message for the TM VOQ statistics is generated within the logging interval. The message consists of the time stamp, destination slot and port, priority, and ingress slot, tower and core, similar to the following example.
device# show logging raslog reverse count 100 | inc SYSD-1003
2017/01/05-11:03:59, [SYSD-1003], 793, M2 | Active | DCE, WARNING, SLX,  TM threshold 2017/01/05-11:00:34, Discarded packets 930587727, interface 3/2 prio 0 on device 3.1.0

The slot and port in the message determines the destination port that is congested at the ingress slot, tower, and core.

Examples

The following example configures the logging interval to 120 minutes.

device# configure terminal
device(config)# system-monitor tm
device(config-sys-mon-tm)# discard-voq-packet logging-interval 120 

The following example configures the threshold to 50 discarded packets.

device# configure terminal
device(config)# system-monitor tm
device(config-sys-mon-tm)# discard-voq-packet threshold 50