Chapter 5 Management Configuration
large, other functions will be affected. If the sampling period is too large, SFLOW cannot
correctly monitor the network status. If the sampling is bound to the time-range, whether
the sampling is enabled depends on whether the time-range is active. If the time-range is
configured, configure the sampling only or disable the sampling to release the binding.
Running the
set sflow ingress/egress port
{
on
|
off
} command will clear the configuration of
time-range on the specified ports.
Example
The following example sets the ingress sampling period of port 2 to 2000, the egress
sampling period of port 3 to 3000, and binds the sampling to the time-range named as
abc:
zte(cfg)#set sflow ingress port 2 packet-sample on frequency 2000
zte(cfg)#set sflow egress port 3 packet-sample on frequency 3000 time-range abc
5.7.8 clear sflow config
Purpose
This command clears SFLOW configurations of ports.
Command Mode
Global configuration mode
Syntax
clear sflow config
[{
agent
|
collector
}]
Parameter Description
Parameter
Description
agent
Clears agent configurations only, including IP addresses and UDP
port numbers.
collector
Clears collector configurations only, including IP addresses and
UDP port numbers.
Guidelines
This command clears all ingress and egress sampling configurations on ports. After that,
the sampling mode is restored to the default.
5.7.9 clear sflow statistic
Purpose
This command clears the counter information of ports.
5-65
SJ-20130731155059-003|2013-11-27 (R1.0)
ZTE Proprietary and Confidential