ZXR10 2920/2928/2952
(V1.0) Access Switch User Manual (Volume I)
208 Confidential and Proprietary Information of ZTE CORPORATION
TABLE 347 SET SFLOW COLLECTOR ADDRESS COMMAND
Format Mode Function
set sflow
collector-address
<A. B. C. D>
global config This sets IP address
of sFlow collector
Result: This sets IP address of sFlow collector.
3. To enable sample flow function on port, use command in
global configuration mode, set
sflow{ingress|egress}port<portlist>{on
frequency<20000-100000000>|off}<20000-100000000>
is the sample frequency of port with data packets as its unit.
This is shown in
Table 348.
TABLE 348 SET SFLOW PORT COMMAND
Format Mode Function
set
sflow{ingress|egress}por
t<portlist>{on
frequency<20000-
100000000>|off}<20000-
100000000>
global config
This enables
sample flow
function on port.
Result: This enables sample function on port.
4. To set ingress sample mode of sFlow function, use
command set sflow ingress sample-mode
{forward|good} in global configuration mode. This is
shown in
Table 349.
TABLE 349 SET SFLOW INGRESS COMMAND
Format Mode Function
set sflow ingress
sample-mode
{forward|good}
global config This sets ingress
sample mode of
sFlow function
Result: This sets ingress sample mode of sFlow function.
5. To set sample frequency reload-mode on port of sFlow
function, use command set sflow {ingress|egress}
reload-mode {continuous|cpu} in global configuration
mode. This is shown in
Table 350.
TABLE 350 SET SFLOW RELOAD MODE COMMAND
Format Mode Function
set sflow
{ingress|egress}
reload-mode
{continuous|cpu}
global config This sets sample
frequency reload-
mode on port of
sFlow function
Result: This sets sample frequency reload-mode on port of
sFlow function.