Monitor TM Deleted or Discarded Packets

By default, the monitoring of the deleted or discarded packets is disabled. You can enable the monitoring of all TM deleted or discarded packets on the SLX device, or all VOQ discarded packets.

About this task

Note

Note

This feature is supported only on devices based on the DNX chipset family. For more information, see Supported Hardware.

Procedure

  1. Access global configuration mode.
    device# configure terminal
  2. Access system-monitor TM configuration mode.
    device(config)# system-monitor TM
  3. Configure the threshold interval to enable the monitoring of all TM deleted packets on the device.
    device(sys-mon tm)# delete-packets threshold 10
    This example configures the threshold of 10 TM deleted packets. A threshold of 0 disables the monitoring of the packets.
  4. (Optional) Configure the logging interval to monitor all TM deleted packets.
    device(sys-mon tm)# delete-packets logging-interval 100
    This step configures the logging interval of 100 minutes. By default, the interval is 60 minutes.
  5. Configure the threshold interval to enable the monitoring of all TM discarded packets.
    device(sys-mon tm)# discard-packets threshold 15
    This example configures the threshold of 15 TM device-discarded packets. A threshold of 0 disables the monitoring of the packets.
  6. (Optional) Configure the logging interval to monitor all TM discarded packets.
    device(sys-mon tm)# discard-packets logging-interval 100
    This example configures the logging interval of 100 minutes. By default, the interval is 60 minutes.
  7. Configure the threshold interval to enable the monitoring of all VOQ discarded packets.
    device(sys-mon tm)# discard-voq-packets threshold 10
    This example configures the threshold of 10 VOQ discarded packets. A threshold of 0 disables the monitoring of the packets.
  8. (Optional) Configure the logging interval to monitor the VOQ discarded packets.
    device(sys-mon tm)# discard-voq-packets logging-interval 100
    This example configures the logging interval of 100 minutes. By default, the interval is 60 minutes.

Example

The following example summarizes the commands in this procedure.

device# configure terminal
device(config)# system-monitor TM
device(sys-mon tm)# delete-packets logging-interval 100
device(sys-mon tm)# delete-packets threshold 10
device(sys-mon tm)# discard-packets threshold 15
device(sys-mon tm)# discard-packets logging-interval 100
device(sys-mon tm)# discard-voq-packets threshold 10
device(sys-mon tm)# discard-voq-packets logging-interval 100

Example

Use the show system monitor tm command to display the configuration for the deleted and discarded TM-device packets or the discarded VOQ discarded packets.

The following example displays the monitoring configuration for the TM-device deleted packets.
device# show system monitor tm delete-packet 
Delete packet count monitoring configuration:
Logging-interval :  60 minutes 
Threshold        :  10 packets
The following example displays the monitoring configuration for the TM-device discarded packets.
device# show system monitor tm discard-packet 
Discard packet count monitoring configuration:
Logging-interval :  60 minutes 
Threshold        :  10 packets
The following example displays the monitoring configuration for the VOQ discarded packets.
device# show system monitor tm discard-voq-packet 
Discard VOQ packet count monitoring configuration:
Logging-interval :  60 minutes 
Threshold        :  10 packets