Configuring Packet Slicing

You can use packet truncation, which is a unique capability available only on NVIDIA platforms, to truncate the packets which are sent to the tool. This helps tools reduce the storage capacity needed for saving packets for future analysis. It truncates the packet for the given offset.

This feature is only supported on the NVIDIA platforms

The packet will be truncated beginning at the Ethernet header

Reference

Command

truncate <offset value>

no truncate

Description

Truncate packets after offset

Parameters

Offset-value – multiple of 4 within 48 to 4088

Mode

INTERFACE

Example

pbnoscli# configure terminal 
pbnoscli(config)# interface ethernet Ethernet4/1
pbnoscli(config-if)# trunc    
  truncate              Truncate the packet
pbnoscli(config-if)# truncate 64

You can verify the configuration by using the command(s) below:

pbnoscli# show interface npb Ethernet4/1

===================================
Interface : Ethernet4/1       
===================================
Mode           : vlan-aware      
Ingress-vlan   : 6               
Egress-tagging : disable         
Truncate       : 64              

pbnoscli# 
pbnoscli# sh running-config 
configure terminal
!
interface ethernet Ethernet4/1
truncate 64
!
interface mgmt
ip address 10.4.4.53/23 gateway 10.4.4.1
!
pbnoscli# 

Last updated