disable

Use this command to disable the sampling on given direction. When the CLI is executed, the sFlow sampling is stopped in the given direction. When the attribute “disable” is removed, the sFlow sampling starts again in the given direction.

Command Syntax

Copy
disable
no disable

Parameters

None

Default

Disabled.

Command Mode

sFlow interface config mode

Applicability

This command was introduced before OcNOS version 6.6.1.

Examples

Copy
Interface Config Mode
OcNOS#configure terminal 
Enter configuration commands, one per line.  End with CNTL/Z.
OcNOS(config)#interface eth2
OcNOS(config-if)#sflow direction egress
OcNOS(config-if-sflow)#disable
OcNOS(config-if-sflow)#exit