Chapter 5 Management Configuration
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
Description
all
Samples all messages.
forward
Samples the forwarded messages only.
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
5-63
SJ-20130731155059-003|2013-11-27 (R1.0)
ZTE Proprietary and Confidential