HP MSR2000/3000/4000 Router Series Network Management and Monitoring Command Reference
218
time-out seconds: Specifies the aging timer of the sFlow collector, in the range of 1 to 2147483647
seconds. When the aging timer expires, the sFlow collector is deleted and 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 does not age out.
Examples
# Configure parameters for an sFlow collector: specify the ID as 2, VPN name as vpn1, IP address as
3.3.3.1, port number as the default, description as netserver, aging timer as 1200 seconds, and
maximum length of the sFlow data portion in the sFlow packet as 1000 bytes.
<Sysname> system-view
[Sysname] sflow collector 2 vpn-instance vpn1 ip 3.3.3.1 description netserver time-out
1200 datagram-size 1000
sflow counter interval
Use sflow counter interval to enable counter sampling and set a counter sampling interval.
Use undo sflow counter interval to restore the default.
Syntax
sflow counter interval interval-time
undo sflow counter interval
Default
Counter sampling is disabled.
Views
Ethernet interface view
Predefined user roles
network-admin
Parameters
interval-time: Specifies the counter sampling interval in the range of 2 to 86400 seconds.
Examples
# Enable counter sampling and set the counter sampling interval to 120 seconds on Ethernet 1/1.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] sflow counter interval 120
sflow counter collector
Use sflow counter collector to specify an sFlow collector for counter sampling.
Use undo sflow counter collector to restore the default.
Syntax
sflow counter collector collector-id
undo sflow counter collector










