# Configuring Packet Slicing

<figure><img src="https://2662483853-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhNXO6wTLpx5wBGAVjtJV%2Fuploads%2FN9IHVU1Rrh9fXVlLTVJz%2FScreenshot%202022-09-26%20at%2012.06.35%20PM.png?alt=media&#x26;token=24480038-f92e-411c-9885-c26250b5cf5b" alt=""><figcaption><p>Truncation and Load Balancing</p></figcaption></figure>

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.

{% hint style="warning" %}
This feature is only supported on the NVIDIA platforms
{% endhint %}

#### Reference

<table data-header-hidden><thead><tr><th></th><th></th><th data-hidden></th></tr></thead><tbody><tr><td>Command</td><td><p>truncate &#x3C;offset value></p><p>no truncate</p></td><td></td></tr><tr><td>Description</td><td>Truncate packets after offset</td><td></td></tr><tr><td>Parameters</td><td>Offset-value – multiple of 4 within 48 to 4088</td><td></td></tr><tr><td>Mode</td><td>INTERFACE</td><td></td></tr></tbody></table>

#### 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# 
```
