The flow-learning interface command binds an iFIT flow to a specified interface.
The undo flow-learning interface command unbinds an iFIT flow from an interface.
By default, an iFIT flow learning is not bound to any interface.
Parameter | Description | Value |
---|---|---|
all |
Binds flow learning to all interfaces. |
- |
ifType |
Specifies the type of an interface. |
- |
ifNum |
Specifies the number of an interface. |
- |
ifName |
Specifies the name of an interface. |
- |
whitelist-group whitelist-group-name |
Specifies the name of a whitelist group. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. |
Usage Scenario
The flow-learning interface command binds an iFIT flow to a specified interface. The bound interface can only be a physical interface or VE interface. The flow can pass through a physical interface, sub-interface, or trunk interface, but the iFIT instance and statistics are generated on the physical interface.
For details about interface type restrictions, see iFIT Configuration > iFIT Feature Requirements.<HUAWEI> system-view [~HUAWEI] ip vpn-instance a [*HUAWEI-vpn-instance-a] quit [*HUAWEI] ifit [*HUAWEI-ifit] node-id 1 [*HUAWEI-ifit] whitelist-group 1 [*HUAWEI-ifit-whitelist-group-1] quit [*HUAWEI-ifit] flow-learning vpn-instance a [*HUAWEI-ifit-vpn-instance-a] flow-learning interface all whitelist-group 1
<HUAWEI> system-view [~HUAWEI] ip vpn-instance a [*HUAWEI-vpn-instance-a] quit [*HUAWEI] ifit [*HUAWEI-ifit] node-id 1 [*HUAWEI-ifit] whitelist-group 1 [*HUAWEI-ifit-whitelist-group-1] quit [*HUAWEI-ifit] flow-learning vpn-instance a [*HUAWEI-ifit-vpn-instance-a] flow-learning interface GigabitEthernet 0/1/0 whitelist-group 1