beautypg.com

Sflow max-header-size, Or sn, Sflow max-header – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 2104: Size

background image

sFlow Commands

Software Reference for x310 Series Switches

81.10

AlliedWare Plus

TM

Operating System - Version 5.4.4C

C613-50046-01 REV A

sflow max-header-size

This command sets the maximum header size of the ethernet frames sampled on a
specified port. The maximum header size is measured in bytes, referenced from the first
byte of the ethernet destination address and excludes the ethernet FCS fields.

If a sampled ethernet frame is longer than the maximum header size set by this command,
then the frame will be truncated to the first N bytes before being placed in the sFlow
datagram, where N is the maximum header size set by this command.

The no variant of this command resets the max-header-size to its default.

Syntax

sflow max-header-size <14-200>

no sflow max-header-size

.

Default

The max-header-size is 128 bytes.

Mode

Interface Configuration

Usage

The header size is measured from the first byte of the Ethernet frame MAC Destination
Address.

For an environment using standard TCP IPv4 over Ethernet frames, consider the following
basic protocol structure:

Ethernet header (including the 4 byte 802.1Q header component) = 18 bytes

IPv4 header = 24 bytes

TCP header = 24 bytes

Total = 66 bytes

See

“Determine the max-header-size sampled data” on page 80.9

for more

information on configuring this command.

A similar consideration can be made for an environment using TCP IPv6 over Ethernet:

Ethernet header (including the 4 byte 802.1Q header component) = 18 bytes

IPv6 header = 40 bytes

TCP header = 24 bytes

Total = 82 bytes

Parameter

Description

<14-200>

The maximum number of header bytes to be sampled.