mac

Commands for sFlow
550
command deletes the statistic sampling interval value.
Parameter:<interval-value> is the value of the interval with a valid range of 20~120 and
shown in second.
Command Mode: Port Mode
Default: No default value
Usage Guide: If no statistic sampling interval is configured, there will not be any statistic
sampling on the interface.
Example: Set the statistic sampling interval on the interface e1/1 to 20 seconds.
Switch(Config-If-Ethernet1/1)#sflow counter-interval 20
55.4 sflow data-len
Command: sflow data-len <length-value>
no sflow data-len
Function: Configure the max length of the sFlow packet data; the no sflow data-len
command restores the default value.
Parameter: <length-value> is the value of the length with a value range of 500-1470.
Command Mode: Port Mode.
Default: The value is 1400 by default.
Usage Guide: When combining several samples to a sFlow group to be sent, the length
of the group excluding the MAC head and IP head parts should not exceed the
configured value.
Example: Configure the max length of the sFlow packet data to 1000.
switch (Config-If-Ethernet1/2)#sflow data-len 1000
55.5 sflow destination
Command: sflow destination <collector-address> [<collector-port>]
no sflow destination
Function: Configure the IP address and port number of the host on which the sFlow
analysis software is installed. If the port has been configured with IP address, the port
configuration will be applied, or else the global configuration will be applied. The “no”
form of this command restores the port to default and deletes the IP address.
Parameter: <collector-address> is the IP address of the analyzer, shown in dotted
decimal notation. <collector-port> is the destination port of the sent sFlow packets.
Command Mode: Global Mode and Port Mode.
Default: The destination port of the sFlow packet is defaulted at 6343, and the analyzer
has no default address.