Sflow Counter Interval - H3C SR6600 Command Reference Manual

Network management and monitoring command reference
Hide thumbs Also See for SR6600:
Table of Contents

Advertisement

Parameters
collector-id: Specifies an ID for the sFlow collector, in the range of 1 to 10.
ip ip-address: Specifies an IPv4 address for the sFlow collector.
ipv6 ipv6-address: Specifies an IPv6 address for the sFlow collector.
description text: Configures a description for the sFlow collector. The default description is "CLI
Collector."
datagram-size size: Specifies the maximum length of the sFlow data portion in an sFlow packet. The
value ranges from 200 to 3000 bytes and defaults to 1400 bytes.
port port-number: Specifies the port number of the sFlow collector, in the range of 1 to 65535. The
default port number is 6343.
time-out seconds: Specifies the aging time of the sFlow collector, in the range of 1 to 2147483647, in
seconds. When the aging time expires, all the settings of the sFlow collector are restored to the default.
For an sFlow collector with the aging timer configured, the system does not save its configuration in the
configuration file. By default, the sFlow collector never ages out.
Examples
# Specify sFlow collector 2's destination IP address as 3.3.3.1, port number as the default, description as
netserver, aging time as 1200 seconds, and maximum length of the sFlow data portion as 1000 bytes.
<Sysname> system-view
[Sysname] sflow collector 2 ip 3.3.3.1 description netserver time-out 1200 datagram-size
1000

sflow counter interval

Use sflow counter interval to set the counter sampling interval.
Use undo sflow counter interval to disable counter sampling.
Syntax
sflow counter interval interval-time
undo sflow counter interval
Default
Counter sampling is disabled.
Views
Interface view
Default command level
2: System level
Parameters
interval-time: Specifies the counter sampling interval in the range of 2 to 86400 seconds.
Examples
# Set the counter sampling interval to 120 seconds on GigabitEthernet 4/0/0.
<Sysname> system-view
[Sysname] interface gigabitethernet 4/0/0
[Sysname-GigabitEthernet4/0/0] sflow counter interval 120
244

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sr6600-x

Table of Contents