truncate

Truncates received packets to the configured length for the current route map or listener policy.

Syntax

truncate length
no truncate

Parameters

length
Specifies the truncated length of received packets. The valid range is 64 to 9000.

Modes

Route-map config mode

Listener-policy config mode

Route-map config mode

Examples

The following example configures received packets to a length of 100 for the current route map and uses the show command to verify configuration.

device# configure terminal
device(config)# route-map mall2
device(config-route-map)# truncate 100
device(config-route-map)# end

device# show route-map mall2 
route-map mall2 45 
forward-action permit  
truncate 100 
Policy matches: 0 packets, 0 bytes, 0 Packets/secRate, 0 Bits/secRate 

The following example configures received packets to a length of 63 for the listener policy.

device# configure terminal   
device(config)# listener-policy lp1 <sId>  
device(config-listener-policy)#   truncate 63 

The following example deletes configured truncation for received packets for the current route map.

device(config)# route-map mall2
device(config-route-map)# no truncate