binding interface (iFIT-instance view)

Function

The binding interface command binds an iFIT flow to a specified interface.

The undo binding interface command unbinds an iFIT flow from an interface.

By default, an iFIT flow is not bound to any interface.

Format

binding interface { interface-type interface-number | interface-name }

undo binding interface { interface-type interface-number | interface-name }

undo binding interface

Parameters

Parameter Description Value
interface-type

Specifies interface type.

-

interface-number

Specifies the number of an interface.

-

interface-name

Specified the name of interface.

-

Views

IFIT-instance view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ifit write

Usage Guidelines

Usage Scenario

The binding interface command binds iFIT flows to a specified interface. The bound interface can only be a physical main interface or VE interface. The interface through which the flows pass can be a physical main interface/sub-interface or trunk interface. iFIT instances and statistics are generated on the main interface.

For more interface type restrictions, see iFIT Configuration Notes in the iFIT Configuration Guide.

Example

# Bind an iFIT flow to a specified interface.
<HUAWEI> system-view
[~HUAWEI] ifit
[*HUAWEI-ifit] node-id 1
[*HUAWEI-ifit] instance 1
[*HUAWEI-ifit-instance-1] flow unidirectional source 10.10.10.1 32 destination 10.10.10.2 32
[*HUAWEI-ifit-instance-1] binding interface GigabitEthernet 0/1/0
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >