How To Display The Tos Marking Configuration; Counting Dropped Packets; Configuring The Hardware Packet Drop; How To Disable The Hardware Packet Drop - Cisco SCE2020-4XGBE-SM Configuration Manual

Software configuration guide
Table of Contents

Advertisement

Chapter 6
Configuring the Line Interface

How to Display the TOS Marking Configuration

Use this command to display the state of TOS marking (enabled or disabled) per interface and the TOS
translation table.
From the SCE> prompt, type show interface linecard 0 ToS-marking and press Enter.
Step 1

Counting Dropped Packets

By default, the SCE platform hardware drops red packets (packets that are marked to be dropped due to
BW control criteria). However, this presents a problem for the user who needs to know the number of
dropped packets per service. To be able to count dropped packets per service, the traffic processor must
see all dropped packets for all flows. However, if the hardware is dropping red packets, the traffic
processor will not be able to count all dropped packets and the user will not get proper values on the
relevant MIB counters (tpTotalNumWredDiscardedPackets).
Note
The MIB object tpTotalNumWredDiscardedPackets counts dropped packets. The value in this counter is
absolute only when hardware packet drop is disabled (not the default mode). When hardware packet drop
is enabled (default mode), this MIB counter provides only a relative value indicating the trend of the
number of packet drops, with a factor of approximately 1:6.
The user can disable the drop-red-packets-by-hardware mode. This allows the application to access
existing per-flow counters. The application can then retrieve the number of dropped packets for every
flow and provide the user with better visibility into the exact number of dropped packets and their
distribution.
Note that counting all dropped packets has a considerable effect on system performance, and therefore,
by default, the drop-red-packets-by-hardware mode is enabled.

Configuring the Hardware Packet Drop

By default hardware packet drop is enabled.
Note
Disabling this feature may have both delay and performance implications.

How to Disable the Hardware Packet Drop

Use this command to disable the drop-red-packets-by-hardware mode, enabling the software to count all
dropped packets.
Step 1
From the SCE(config if)# prompt, type no accelerate-packet-drops and press Enter.
OL-7827-12
Cisco SCE 2000 and SCE 1000 Software Configuration Guide
Counting Dropped Packets
6-27

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sce 2000Sce 1000

Table of Contents