Chapter5ManagementConguration
large,otherfunctionswillbeaffected.Ifthesamplingperiodistoolarge,SFLOWcannot
correctlymonitorthenetworkstatus.Ifthesamplingisboundtothetime-range,whether
thesamplingisenableddependsonwhetherthetime-rangeisactive.Ifthetime-rangeis
congured,congurethesamplingonlyordisablethesamplingtoreleasethebinding.
Runningthesetsflowingress/egressport{on|off}commandwillclearthecongurationof
time-rangeonthespeciedports.
Example
Thefollowingexamplesetstheingresssamplingperiodofport2to2000,theegress
samplingperiodofport3to3000,andbindsthesamplingtothetime-rangenamedas
abc:
zte(cfg)#setsflowingressport2packet-sampleonfrequency2000
zte(cfg)#setsflowegressport3packet-sampleonfrequency3000time-rangeabc
5.7.8clearsflowconfig
Purpose
ThiscommandclearsSFLOWcongurationsofports.
CommandMode
Globalcongurationmode
Syntax
clearsflowconfig[{agent|collector}]
ParameterDescription
ParameterDescription
agent
Clearsagentcongurationsonly,includingIPaddressesandUDP
portnumbers.
collector
Clearscollectorcongurationsonly,includingIPaddressesand
UDPportnumbers.
Guidelines
Thiscommandclearsallingressandegresssamplingcongurationsonports.Afterthat,
thesamplingmodeisrestoredtothedefault.
5.7.9clearsflowstatistic
Purpose
Thiscommandclearsthecounterinformationofports.
5-65
SJ-20131111172707-003|2013-11-27(R1.0)ZTEProprietaryandCondential