R3303-HP HSR6800 Routers Network Management and Monitoring Command Reference
243
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
sflow counter collector
Use sflow counter collector to specify an sFlow collector for counter sampling.
Use undo sflow counter collector to remove the sFlow collector for counter sampling.
Syntax
sflow counter collector collector-id
undo sflow counter collector
Default
No sFlow collector is specified for counter sampling.
Views
Interface view
Default command level
2: System level
Parameters
collector-id: Specifies an sFlow collector.
Examples
# Specify sFlow collector 2 on GigabitEthernet 4/0/0 for counter sampling.
<Sysname> system-view
[Sysname] interface gigabitethernet 4/0/0
[Sysname-GigabitEthernet4/0/0] sflow counter collector 2
sflow flow collector
Use sflow flow collector to specify an sFlow collector for flow sampling.
Use undo sflow flow collector to remove the sFlow collector for flow sampling.
Syntax
sflow flow collector collector-id
undo sflow flow collector