sflow max-datagram-size

Syntax

sflow max-datagram-size <SIZE>

no sflow max-datagram-size [<SIZE>]

Description

Sets the maximum number of bytes that are sent in one sFlow datagram.

The no form of this command sets maximum number of bytes to the default value of 1400.

Command context

config

Parameters

max-datagram-size <SIZE>

Specifies the maximum datagram size in bytes. Range: 1 to 9000. Default: 1400.

Authority

Administrators or local user group members with execution rights for this command.

Examples

Setting the datagram size to 1000 bytes:

switch(config)# sflow max-datagram-size 1000

Setting the header size to the default value of 1400 bytes:

switch(config)# no sflow max-datagram-size