Packet Trimming
nv show interface <interface-id> counters packet-trim
Shows the number of trimmed packets for a specific interface by traffic class.
Command Syntax
| Syntax | Description |
|---|---|
<interface-id> |
The interface name. |
Version History
Introduced in Cumulus Linux 5.15.0
Example
cumulus@switch:~$ nv show interface swp1-3 counters packet-trim
Traffic Class Trim Eligible Packets
------------- ---------------
1 1000
2 2000
3 3000
nv show interface <interface-id> packet-trim
Shows packet trimming information for an interface.
Command Syntax
| Syntax | Description |
|---|---|
<interface-id> |
The interface name. |
Version History
Introduced in Cumulus Linux 5.14.0
Example
cumulus@switch:~$ nv show interface swp1-3 packet-trim
Egress Eligibility TC
========================
No Data
nv show interface <interface-id> packet-trim egress-eligibility
Shows packet trimming eligibility information for an interface.
Command Syntax
| Syntax | Description |
|---|---|
<interface-id> |
The interface name. |
Version History
Introduced in Cumulus Linux 5.14.0
Example
cumulus@switch:~$ nv show interface swp1-3 packet-trim egress-eligibility
Egress Eligibility TC
========================
No Data
nv show interface <interface-id> packet-trim egress-eligibility traffic-class
Shows packet trimming eligibility traffic class information for an interface.
Command Syntax
| Syntax | Description |
|---|---|
<interface-id> |
The interface name. |
Version History
Introduced in Cumulus Linux 5.14.0
Example
cumulus@switch:~$ nv show interface swp1-3 packet-trim egress-eligibility traffic-class
No Data
nv show interface <interface-id> packet-trim egress-eligibility traffic-class <tc-id>
Shows packet trimming eligibility information for a specific traffic class.
Command Syntax
| Syntax | Description |
|---|---|
<interface-id> |
The interface name. |
<tc-id> |
The traffic class ID. |
Version History
Introduced in Cumulus Linux 5.14.0
Example
cumulus@switch:~$ nv show interface swp1-3 packet-trim egress-eligibility traffic-class 4
No Data
nv show interface <interface-id> packet-trim notify-sender
Shows the packet trimming sender notification settings for the specified interface.
Command Syntax
| Syntax | Description |
|---|---|
<interface-id> |
The interface name. |
Version History
Introduced in Cumulus Linux 5.19.0
Example
cumulus@switch:~$ nv show interface swp1 packet-trim notify-sender
nv show interface <interface-id> packet-trim notify-sender tail-drop
Shows the tail drop sender notification settings for the specified interface.
Command Syntax
| Syntax | Description |
|---|---|
<interface-id> |
The interface name. |
Version History
Introduced in Cumulus Linux 5.19.0
Example
cumulus@switch:~$ nv show interface swp1 packet-trim notify-sender tail-drop
nv show interface <interface-id> packet-trim notify-sender tail-drop egress-eligibility
Shows the tail drop sender notification eligibility settings for the specified interface.
Command Syntax
| Syntax | Description |
|---|---|
<interface-id> |
The interface name. |
Version History
Introduced in Cumulus Linux 5.19.0
Example
cumulus@switch:~$ nv show interface swp1 packet-trim notify-sender tail-drop egress-eligibility
nv show interface <interface-id> packet-trim notify-sender tail-drop egress-eligibility traffic-class
Shows the traffic classes eligible for tail drop sender notification on the specified interface.
Command Syntax
| Syntax | Description |
|---|---|
<interface-id> |
The interface name. |
Version History
Introduced in Cumulus Linux 5.19.0
Example
cumulus@switch:~$ nv show interface swp1 packet-trim notify-sender tail-drop egress-eligibility traffic-class
nv show interface <interface-id> packet-trim notify-sender tail-drop egress-eligibility traffic-class <tc-id>
Shows a specific traffic class eligible for tail drop sender notification on the specified interface.
Command Syntax
| Syntax | Description |
|---|---|
<interface-id> |
The interface name. |
<tc-id> |
The traffic class. |
Version History
Introduced in Cumulus Linux 5.19.0
Example
cumulus@switch:~$ nv show interface swp1 packet-trim notify-sender tail-drop egress-eligibility traffic-class 3
nv show interface <interface-id> packet-trim spxm
Shows the SPXM packet trimming settings for the specified interface.
Command Syntax
| Syntax | Description |
|---|---|
<interface-id> |
The interface name. |
Version History
Introduced in Cumulus Linux 5.19.0
Example
cumulus@switch:~$ nv show interface swp1 packet-trim spxm
nv show interface <interface-id> packet-trim spxm notify-sender
Shows the SPXM packet trimming sender notification settings for the specified interface.
Command Syntax
| Syntax | Description |
|---|---|
<interface-id> |
The interface name. |
Version History
Introduced in Cumulus Linux 5.19.0
Example
cumulus@switch:~$ nv show interface swp1 packet-trim spxm notify-sender
nv show interface <interface-id> packet-trim spxm notify-sender link-down
Shows the link-down sender notification settings for the specified interface.
Command Syntax
| Syntax | Description |
|---|---|
<interface-id> |
The interface name. |
Version History
Introduced in Cumulus Linux 5.19.0
Example
cumulus@switch:~$ nv show interface swp1 packet-trim spxm notify-sender link-down
nv show interface <interface-id> packet-trim spxm notify-sender link-down ingress-eligibility
Shows the link-down sender notification eligibility settings for the specified interface.
Command Syntax
| Syntax | Description |
|---|---|
<interface-id> |
The interface name. |
Version History
Introduced in Cumulus Linux 5.19.0
Example
cumulus@switch:~$ nv show interface swp1 packet-trim spxm notify-sender link-down ingress-eligibility
nv show interface <interface-id> packet-trim spxm notify-sender link-down ingress-eligibility dscp
Shows the DSCP values eligible for link-down sender notification on the specified interface.
Command Syntax
| Syntax | Description |
|---|---|
<interface-id> |
The interface name. |
Version History
Introduced in Cumulus Linux 5.19.0
Example
cumulus@switch:~$ nv show interface swp1 packet-trim spxm notify-sender link-down ingress-eligibility dscp
nv show interface <interface-id> packet-trim spxm notify-sender link-down ingress-eligibility dscp <dscp-id>
Shows a specific DSCP value eligible for link-down sender notification on the specified interface.
Command Syntax
| Syntax | Description |
|---|---|
<interface-id> |
The interface name. |
<dscp-id> |
The DSCP value. |
Version History
Introduced in Cumulus Linux 5.19.0
Example
cumulus@switch:~$ nv show interface swp1 packet-trim spxm notify-sender link-down ingress-eligibility dscp 10
nv show system forwarding packet-trim
Shows packet trimming configuration and data. The trimmed-packet-counters field shows the number of trimmed packets.
Version History
Introduced in Cumulus Linux 5.14.0
Example
cumulus@switch:~$ nv show system forwarding packet-trim
nv show system forwarding packet-trim
operational applied
------------------------- ------------------------------------ -------------------
state disabled enabled
profile packet-trim-default
service-port swp65
size 253
traffic-class 4
switch-priority 4
remark
dscp 11
session-info
session-id 0xffff
trimmed-packet-counters 0
session-down-reason Failed to create/update span session
Egress Eligibility TC-to-Interface Information
=================================================
TC interface
-- -----------------------
1 swp1-60,63-64,swp61s0-7
2 swp1-60,63-64,swp61s0-7
3 swp1-60,63-64,swp61s0-7
Port-Level SP to DSCP Remark Information
===========================================
No Data
nv show system forwarding packet-trim counters
Shows the number of trimmed packets at both the global and interface levels.
Version History
Introduced in Cumulus Linux 5.15.0
Example
cumulus@switch:~$ nv show system forwarding packet-trim counters
Global
trimmed-packets 20,000
Port-Level
-------------
Interface Trim Eligible Packets Trimmed TxPackets
--------- ------------------ ----------------
swp1 1000 N/A
swp2 2000 N/A
swp3 4000 N/A
swp4 5000 N/A
nv show system forwarding packet-trim ingress-eligibility
Shows the packet trimming ingress eligibility settings.
Version History
Introduced in Cumulus Linux 5.19.0
Example
cumulus@switch:~$ nv show system forwarding packet-trim ingress-eligibility
nv show system forwarding packet-trim notify-sender
Shows the packet trimming sender notification settings.
Version History
Introduced in Cumulus Linux 5.19.0
Example
cumulus@switch:~$ nv show system forwarding packet-trim notify-sender
nv show system forwarding packet-trim notify-sender link-down
Shows the link-down sender notification settings for packet trimming.
Version History
Introduced in Cumulus Linux 5.19.0
Example
cumulus@switch:~$ nv show system forwarding packet-trim notify-sender link-down
nv show system forwarding packet-trim notify-sender link-down counters
Shows the link-down sender notification counters for packet trimming.
Version History
Introduced in Cumulus Linux 5.19.0
Example
cumulus@switch:~$ nv show system forwarding packet-trim notify-sender link-down counters
nv show system forwarding packet-trim notify-sender link-down counters native
Shows the link-down sender notification counters for packet trimming in native format.
Version History
Introduced in Cumulus Linux 5.19.0
Example
cumulus@switch:~$ nv show system forwarding packet-trim notify-sender link-down counters native
nv show system forwarding packet-trim notify-sender link-down remark
Shows the DSCP marking settings for link-down sender notification.
Version History
Introduced in Cumulus Linux 5.19.0
Example
cumulus@switch:~$ nv show system forwarding packet-trim notify-sender link-down remark
nv show system forwarding packet-trim notify-sender tail-drop
Shows the tail drop sender notification settings for packet trimming.
Version History
Introduced in Cumulus Linux 5.19.0
Example
cumulus@switch:~$ nv show system forwarding packet-trim notify-sender tail-drop
nv show system forwarding packet-trim notify-sender tail-drop remark
Shows the DSCP marking settings for tail drop sender notification.
Version History
Introduced in Cumulus Linux 5.19.0
Example
cumulus@switch:~$ nv show system forwarding packet-trim notify-sender tail-drop remark
nv show system forwarding packet-trim remark
Shows packet trimming remark information.
Version History
Introduced in Cumulus Linux 5.14.0
Example
cumulus@switch:~$ nv show system forwarding packet-trim remark
operational applied
---- ----------- -------
dscp 11