Packet Trimming
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 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 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