zte(cfg)#set sflow ingress enable
zte(cfg)#set sflow egress disable
5.7.5 set sflow ingress sample-mode all/forward
Purpose
This command sets the sampling mode for ingress SFLOW.
Command Mode
Global configuration mode
Syntax
set sflow ingress sample-mode {all | forward}
Parameter Description
Parameter
all
forward
Guidelines
Samples all messages.
Example
The following example configures to sample the forwarded messages only:
zte(cfg)#set sflow ingress sample-mode forward
5.7.6 set sflow ingress/egress packet-sample off
Purpose
This command disables the SFLOW sampling function on ports.
Command Mode
Global configuration mode
Syntax
set sflow {ingress | egress} port <portlist> packet-sample off
SJ-20130731155059-003|2013-11-27 (R1.0)
Chapter 5 Management Configuration
Description
Samples all messages.
Samples the forwarded messages only.
5-63
ZTE Proprietary and Confidential