sflow

Function

The sflow command enables sFlow globally and displays the sFlow view.

The undo sflow command disables sFlow globally and deletes all configurations in the sFlow view.

By default, the sFlow function is disabled.

Format

sflow

undo sflow

Parameters

None

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
sflow write

Usage Guidelines

Usage Scenario

Before configuring sFlow, run the sflow command to enable sFlow and enter the sFlow view.

Precautions

sFlow and NetStream are mutually exclusive.

Example

# Enter the sFlow view.
<HUAWEI> system-view
[~HUAWEI] sflow
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >