Configuring sFlow Maximum Header Size
Configure the maximum header size on a single port or multiple ports.
Before you begin
- You must globally enable sFlow. 
Procedure
Example
For ports 1/1 to 1/10, configure the maximum header size, and then verify the configuration.
Switch:1(config-if)#interface gigabitethernet 1/1-1/10
Switch:1(config-if)#sflow max-header-size 255
Switch:1(config-if)#show sflow interface 1/1-1/10
==============================================================================
                         sFlow Port Configuration Info
==============================================================================
Port   Packet-Sample-Rate  Max-Header-Size Counter-interval  Collector-list
                                           (in secs)
------------------------------------------------------------------------------
1/1    0                   255             525               1,2
1/2    0                   255             525               1,2
1/3    0                   255             525               1,2
1/4    0                   255             525               1,2
1/5    0                   255             525               1,2
1/6    0                   255             525               1,2
1/7    0                   255             525               1,2
1/8    0                   255             525               1,2
1/9    0                   255             525               1,2
1/10   0                   255             525               1,2
Variable Definitions
Use the data in the following table to use the max-header-size command.
| Variable | Value | 
|---|---|
| <64–256> | Identifies the maximum number of bytes to be copied from the sampled packet. Default 128 bytes. | 





