discard-packet

Configures the logging or monitoring interval for all Traffic Management (TM) discarded packets on the SLX-OS device.

Syntax

discard-packet { logging-interval minutes | threshold discarded-packets }
no discard-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 discarded packets of the TM device. Enter a value from 0 to 10000. The value of 0 disables the monitoring of the all TM device 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 device statistics is generated within the logging interval. The message consists of the time stamp, the number of discarded packets, and ingress slot, tower and core, similar to the following example:
device# show logging raslog reverse count 10
2017/01/05-10:56:58, [SYSD-1005], 788, M2 | Active | DCE, WARNING, SLX,  TM threshold, Tail discarded packets 20734462 on device 3.1.1.

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-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-packet threshold 50