sflow collector

Function

The sflow collector command creates an sFlow collector or displays the sFlow collector view.

The undo sflow collector command deletes an sFlow collector and all its configurations.

By default, sFlow collector view is not created.

Format

sflow collector collector-id

undo sflow collector collector-id

Parameters

Parameter Description Value
collector-id

Specifies the ID of an sFlow collector.

The value is an enumerated type, which can be 1 or 2.

Views

sFlow view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
sflow write

Usage Guidelines

Usage Scenario

An sFlow collector receives and analyzes sFlow packets. To create an sFlow collector or enter the sFlow collector view, run the sflow collector command.

Example

# Create sFlow collector 1.
<HUAWEI> system-view
[~HUAWEI] sflow
[*HUAWEI-sflow] sflow collector 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >